From 395f02a9addeef0b0f1d40a42853d47ff5320252 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Oct 07 2015 19:07:17 +0000 Subject: Rebuilt - added epoch to allow upgrade to older release --- diff --git a/clog b/clog new file mode 100644 index 0000000..93858f0 --- /dev/null +++ b/clog @@ -0,0 +1,3 @@ +Rebuilt + +- added epoch to allow upgrade to older release diff --git a/cxxtools.spec b/cxxtools.spec new file mode 100644 index 0000000..01c1cd0 --- /dev/null +++ b/cxxtools.spec @@ -0,0 +1,134 @@ +Name: cxxtools +Version: 2.2.1 +Release: 8%{?dist} +Summary: A collection of general-purpose C++ classes +Epoch: 1 + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.tntnet.org/cxxtools.html +Source0: http://www.tntnet.org/download/cxxtools-%{version}.tar.gz +Patch0: cxxtools-2.2-arm.patch + +Provides: bundled(md5-polstra) + +%description +%{summary} + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description devel +Development files for %{name} + + +%prep +%setup -q +%patch0 -p0 + +# fix spurious executable perm +find -name "*.cpp" -exec chmod -x {} \; +find -name "*.h" -exec chmod -x {} \; + +%build +%configure --disable-static \ +%ifarch s390 s390x aarch64 + --with-atomictype=pthread \ +%endif + %{nil} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# Find and remove all la files +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + +%check + test/alltests + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc AUTHORS ChangeLog COPYING README +%{_libdir}/libcxxtools*.so.* + +%files devel +%{_bindir}/cxxtools-config +%{_libdir}/libcxxtools*.so +%{_libdir}/pkgconfig/%{name}-*.pc +%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/cxxtools/ + +%changelog +* Thu Sep 24 2015 Martin Gansser - 2.2.1-8 +- Rebuilt +- added epoch to allow upgrade to older release + +* Wed Jun 17 2015 Fedora Release Engineering - 2.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 2.2.1-6 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Aug 16 2014 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 22 2014 baude - 2.2.1-3 +- Moving removal of .las from check to install section + +* Mon Feb 17 2014 Martin Gansser - 2.2.1-2 +- fix build on aarch64 where atomicity detection fails + +* Mon Jan 20 2014 Martin Gansser - 2.2.1-1 +- new release + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri May 3 2013 Martin Gansser - 2.2-1 +- new release +- spec file cleanup + +* Fri Sep 21 2012 Jon Ciesla - 2.1.1-5 +- Fix FTBFS on ARM. + +* Thu Jul 26 2012 Dan HorĂ¡k - 2.1.1-4 +- fix build on s390(x) where atomicity detection fails + +* Wed Jul 18 2012 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon May 28 2012 Martin Gansser - 2.1.1-2 +- added Provides: bundled(md5-polstra) + +* Sat May 26 2012 Martin Gansser - 2.1.1-1 +- rebuild for new release +- fixed url +- removed empty files from doc +- fixed Requires for devel package +- added group tag for main package +- added unit test + +* Sun Apr 29 2012 Martin Gansser - 2.1-1 +- new release +- removed license comment + +* Mon Sep 19 2011 Sebastian Vahl - 2.0-2 +- split into -devel subpkg + +* Sun Sep 18 2011 Sebastian Vahl - 2.0-1 +- initial release +