%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 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 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 generally useful low-level functions, such as popcount, expect, prefetch, noinline, assume, unreachable and so on. %prep %setup -q -n libecb-%{snapshot} %build 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 %license LICENSE %doc Changes README %{_includedir}/* %{_mandir}/man3/* %changelog * Wed Feb 18 2015 Petr Pisar - 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 - 0.20141029-1 - CVS snapshot taken on 2014-10-29 - License changed from (BSD) to (BSD or GPLv2+) * Sat Jun 07 2014 Fedora Release Engineering - 0.20130509-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.20130509-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 09 2013 Petr Pisar - 0.20130509-1 - CVS snapshot taken on 2013-05-09 * Thu Feb 14 2013 Fedora Release Engineering - 0.20121022-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Oct 22 2012 Petr Pisar - 0.20121022-1 - CVS snapshot taken on 2012-10-22 * Mon Oct 08 2012 Petr Pisar - 0.20121008-1 - CVS snapshot taken on 2012-10-08 - Fix for building on big-endian systems (bug #863991)