From e66d8b6f06601267f628dca7c8dc842a386e7de8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 06:58:53 -0400 Subject: [PATCH] import ucpp-1.3.4-11.el8 --- .gitignore | 1 + .ucpp.metadata | 1 + SPECS/ucpp.spec | 117 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .ucpp.metadata create mode 100644 SPECS/ucpp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7aab65 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ucpp-1.3.4.tar.xz diff --git a/.ucpp.metadata b/.ucpp.metadata new file mode 100644 index 0000000..21f5702 --- /dev/null +++ b/.ucpp.metadata @@ -0,0 +1 @@ +37797b9817ac3ed8bd443b6f07d800403583fb51 SOURCES/ucpp-1.3.4.tar.xz diff --git a/SPECS/ucpp.spec b/SPECS/ucpp.spec new file mode 100644 index 0000000..212733d --- /dev/null +++ b/SPECS/ucpp.spec @@ -0,0 +1,117 @@ +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