|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global snapshot 20150218
|
|
|
|
|
# Do not create debuginfo sub-package because there is no binary executable
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
Name: libecb-devel
|
|
|
|
|
Name: libecb
|
|
|
|
|
Version: 0.%{snapshot}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Compiler built-ins
|
|
|
|
@ -9,24 +9,36 @@ Group: Development/Libraries
|
|
|
|
|
License: BSD or GPLv2+
|
|
|
|
|
URL: http://software.schmorp.de/pkg/libecb
|
|
|
|
|
# Snapshot from CVS :pserver:anonymous@cvs.schmorp.de/schmorpforge libecb
|
|
|
|
|
Source0: libecb-%{snapshot}.tar.xz
|
|
|
|
|
Source0: %{name}-%{snapshot}.tar.xz
|
|
|
|
|
BuildRequires: perl-podlators
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This project delivers you many GCC built-ins, attributes and a number of
|
|
|
|
|
generally useful low-level functions, such as popcount, expect, prefetch,
|
|
|
|
|
noinline, assume, unreachable and so on.
|
|
|
|
|
|
|
|
|
|
This is a dummy package. All the usefull files are delivered by %{name}-devel
|
|
|
|
|
package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Compiler built-ins
|
|
|
|
|
# Packaging guidelines require header-only packages:
|
|
|
|
|
# to be architecture-specific, to deliver headers in -devel package, to
|
|
|
|
|
# provide -static symbol for reverse build-requires.
|
|
|
|
|
# Replace libecb package:
|
|
|
|
|
Requires: glibc-headers%{?_isa}
|
|
|
|
|
Provides: libecb-static = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
# Replace libecb package:
|
|
|
|
|
Provides: libecb = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: libecb < 0.20150218
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%description devel
|
|
|
|
|
This project delivers you many GCC built-ins, attributes and a number of
|
|
|
|
|
generally useful low-level functions, such as popcount, expect, prefetch,
|
|
|
|
|
noinline, assume, unreachable and so on.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n libecb-%{snapshot}
|
|
|
|
|
%setup -q -n %{name}-%{snapshot}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
pod2man ecb.pod > ecb.3
|
|
|
|
@ -37,7 +49,7 @@ install -m 0644 -t %{buildroot}%{_includedir} *.h
|
|
|
|
|
install -d %{buildroot}%{_mandir}/man3
|
|
|
|
|
install -m 0644 -t %{buildroot}%{_mandir}/man3 *.3
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|