CVS snapshot taken on 2015-02-18

epel9
Petr Písař 10 years ago
parent 630fa7667b
commit 1d6cbab46c

1
.gitignore vendored

@ -2,3 +2,4 @@
/libecb-20121022.tar.xz
/libecb-20130509.tar.xz
/libecb-20141029.tar.xz
/libecb-20150218.tar.xz

@ -1,5 +1,7 @@
%global snapshot 20141029
Name: libecb
%global snapshot 20150218
# Do not create debuginfo sub-package because there is no binary executable
%global debug_package %{nil}
Name: libecb-devel
Version: 0.%{snapshot}
Release: 1%{?dist}
Summary: Compiler built-ins
@ -7,9 +9,16 @@ 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: %{name}-%{snapshot}.tar.xz
BuildArch: noarch
Requires: glibc-headers
Source0: libecb-%{snapshot}.tar.xz
BuildRequires: perl-podlators
# Packaging guidelines require header-only packages:
# to be architecture-specific, to deliver headers in -devel package, to
# provide -static symbol for reverse build-requires.
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
This project delivers you many GCC built-ins, attributes and a number of
@ -17,20 +26,29 @@ generally useful low-level functions, such as popcount, expect, prefetch,
noinline, assume, unreachable and so on.
%prep
%setup -q -n %{name}-%{snapshot}
%setup -q -n libecb-%{snapshot}
%build
# Keep empty %%build section for possible RPM hooks
pod2man ecb.pod > ecb.3
%install
install -d %{buildroot}%{_includedir}
install -m 0644 -t %{buildroot}%{_includedir} *.h
install -d %{buildroot}%{_mandir}/man3
install -m 0644 -t %{buildroot}%{_mandir}/man3 *.3
%files
%doc Changes ecb.pod LICENSE README
%license LICENSE
%doc Changes README
%{_includedir}/*
%{_mandir}/man3/*
%changelog
* Wed Feb 18 2015 Petr Pisar <ppisar@redhat.com> - 0.20150218-1
- CVS snapshot taken on 2015-02-18 (C11 compliance)
- Replace libecb package with libecb-devel, users should build-require
libecb-static
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 0.20141029-1
- CVS snapshot taken on 2014-10-29
- License changed from (BSD) to (BSD or GPLv2+)

@ -1 +1 @@
b1e268d2e3a55ecfbfb2c00f6968cd6c libecb-20141029.tar.xz
bb57c1a1373c8ad8700901b689e69de7 libecb-20150218.tar.xz

Loading…
Cancel
Save