Summary: Embeddable, quick, light and fully compliant ISO C99 preprocessor Name: ucpp Version: 1.3.4 Release: 11%{?dist} URL: https://github.com/scarabeusiv/ucpp Source0: http://dev.gentooexperimental.org/%7Escarabeus/ucpp-%{version}.tar.xz License: BSD # fix rpath issue BuildRequires: libtool Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description A C preprocessor is a part of a C compiler responsible for macro replacement, conditional compilation and inclusion of header files. It is often found as a stand-alone program on Unix systems. ucpp is such a preprocessor; it is designed to be quick and light, but anyway fully compliant to the ISO standard 9899:1999, also known as C99. ucpp can be compiled as a stand-alone program, or linked to some other code; in the latter case, ucpp will output tokens, one at a time, on demand, as an integrated lexer. %package libs Summary: Library for preprocessing C code compliant with ISO-C99 %description libs libucpp is an ISO standard 9899:1999 compliant preprocessing library for C code. It will output tokens, one at a time, on demand, as an integrated lexer. %package devel Summary: Development files for libucpp Library Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel libucpp is an ISO standard 9899:1999 compliant preprocessing library for C code. It will output tokens, one at a time, on demand, as an integrated lexer. This package contains the development files for the library. %prep %setup -q # convert README to UTF-8 iconv -f iso8859-1 -t utf8 README >README.utf8 && \ touch -r README.utf8 README && \ mv README.utf8 README # autoreconf to fix rpath issue autoreconf -vif %build %configure \ --disable-rpath \ --disable-silent-rules \ --disable-static \ make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install rm %{buildroot}%{_libdir}/libucpp.la %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %{_bindir}/ucpp %{_mandir}/man1/ucpp.1* %files libs %doc AUTHORS ChangeLog* COPYING README %{_libdir}/libucpp.so.* %files devel %{_includedir}/libucpp %{_libdir}/libucpp.so %{_libdir}/pkgconfig/libucpp.pc %changelog * Fri Feb 09 2018 Fedora Release Engineering - 1.3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.3.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.3.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 18 2014 Fedora Release Engineering - 1.3.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Feb 22 2014 Dominik Mierzejewski 1.3.4-3 - add ?_isa to dependencies * Sun Nov 03 2013 Dominik Mierzejewski 1.3.4-2 - make make verbose - run ldconfig for libs - convert README to UTF-8 * Wed Oct 30 2013 Dominik Mierzejewski 1.3.4-1 - switch to new upstream - update to 1.3.4 - split libs and devel subpackages - call autoreconf to fix rpath issue * Thu Oct 17 2013 Dominik Mierzejewski 1.3.2-1 - initial build