commit a4c652dd353e12b49e159f9d1f2e13e4e93dff3a Author: tigro Date: Sun Jul 2 22:53:10 2023 +0300 import sord-0.16.10-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..55ffde6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sord-0.16.10.tar.bz2 diff --git a/.sord.metadata b/.sord.metadata new file mode 100644 index 0000000..15f2bbf --- /dev/null +++ b/.sord.metadata @@ -0,0 +1 @@ +dfa45594db53bbde6651e0f3f51ce4604aeb7af6 SOURCES/sord-0.16.10.tar.bz2 diff --git a/SPECS/sord.spec b/SPECS/sord.spec new file mode 100644 index 0000000..80d2a62 --- /dev/null +++ b/SPECS/sord.spec @@ -0,0 +1,234 @@ +%global maj 0 + +Name: sord +Version: 0.16.10 +Release: 2%{?dist} +Summary: A lightweight Resource Description Framework (RDF) C library + +License: ISC +URL: http://drobilla.net/software/sord/ +Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 + +BuildRequires: boost-devel +BuildRequires: doxygen +BuildRequires: graphviz +BuildRequires: glib2-devel +BuildRequires: python3 +BuildRequires: serd-devel >= 0.30.0 +BuildRequires: gcc +BuildRequires: gcc-c++ + +%description +%{name} is a lightweight C library for storing Resource Description +Framework (RDF) data in memory. %{name} and parent library serd form +a lightweight RDF tool-set for resource limited or performance critical +applications. + +%package devel +Summary: Development libraries and headers for %{name} +Requires: %{name}%{_isa} = %{version}-%{release} + +%description devel +%{name} is a lightweight C library for storing Resource Description +Framework (RDF) data in memory. + +This package contains the headers and development libraries for %{name}. + +%prep +%autosetup -p1 +# Do not run ldconfig, and add our optflags +sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \ + -e "s|cflags = [ '-DSORD_INTERNAL' ]\ +|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript + +%build +%set_build_flags +export LINKFLAGS="%{__global_ldflags}" +%{python3} waf configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --docdir=%{_pkgdocdir} \ + --test \ + --docs +%{python3} waf build -v %{?_smp_mflags} + +%install +DESTDIR=%{buildroot} %{python3} waf install +chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* +install -pm 644 AUTHORS NEWS README.md %{buildroot}%{_pkgdocdir} + +%files +%{_pkgdocdir} +%exclude %{_pkgdocdir}/%{name}-%{maj}/ +%license COPYING +%{_libdir}/lib%{name}-%{maj}.so.* +%{_bindir}/sordi +%{_bindir}/sord_validate +%{_mandir}/man1/%{name}*.1* + +%files devel +%{_pkgdocdir}/%{name}-%{maj}/ +%{_libdir}/lib%{name}-%{maj}.so +%{_libdir}/pkgconfig/%{name}-%{maj}.pc +%{_includedir}/%{name}-%{maj}/ +%{_mandir}/man3/%{name}*.3* + +%changelog +* Sun Jul 02 2023 Arkady L. Shane - 0.16.10-2 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.16.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Guido Aulisi - 0.16.10-1 +- Update to 0.16.10 + +* Sat Jan 22 2022 Fedora Release Engineering - 0.16.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.16.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Feb 28 2021 Guido Aulisi - 0.16.8-1 +- Update to 0.16.8 +- Fix a potential BTree crash with GCC 10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.16.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Oct 04 2020 Guido Aulisi - 0.16.6-1 +- Update to 0.16.6 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.16.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 29 2020 Guido Aulisi - 0.16.4-5 +- Rebuilt for possible GCC 10.1 bug on power64, arm and s390 + +* Wed May 27 2020 Guido Aulisi - 0.16.4-4 +- Rebuilt with GCC 10.1 + +* Sun Mar 15 2020 Guido Aulisi - 0.16.4-3 +- Rebuilt for possible GCC 10 bug on power64 and arm + +* Thu Jan 30 2020 Fedora Release Engineering - 0.16.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 06 2019 Guido Aulisi - 0.16.4-1 +- Update to 0.16.4 +- Use python3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.16.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.16.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jul 31 2018 Florian Weimer - 0.16.2-2 +- Rebuild with fixed binutils + +* Mon Jul 30 2018 Guido Aulisi - 0.16.2-1 +- Update to 0.16.2 +- Remove ldconfig scriptlets +- Minor spec cleanup + +* Sun Jul 15 2018 Guido Aulisi - 0.16.0-6 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + +* Sat Jul 14 2018 Fedora Release Engineering - 0.16.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.16.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 14 2017 Guido Aulisi - 0.16.0-1 +- Update to 0.16.0 +- Use hardened LDFLAGS +- Use license macro + +* Sat Feb 11 2017 Fedora Release Engineering - 0.12.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 27 2017 Jonathan Wakely - 0.12.2-9 +- Rebuilt for Boost 1.63 + +* Fri Feb 05 2016 Fedora Release Engineering - 0.12.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 15 2016 Jonathan Wakely - 0.12.2-7 +- Rebuilt for Boost 1.60 + +* Thu Aug 27 2015 Jonathan Wakely - 0.12.2-6 +- Rebuilt for Boost 1.59 + +* Wed Jul 29 2015 Fedora Release Engineering - 0.12.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 + +* Wed Jul 22 2015 David Tardon - 0.12.2-4 +- rebuild for Boost 1.58 + +* Fri Jun 19 2015 Fedora Release Engineering - 0.12.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 26 2015 Petr Machata - 0.12.2-2 +- Rebuild for boost 1.57.0 + +* Wed Aug 20 2014 Brendan Jones 0.12.2-1 +- Update to 0.12.2 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.12.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.12.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 Petr Machata - 0.12.0-5 +- Rebuild for boost 1.55.0 + +* Sun Dec 15 2013 Ville Skyttä - 0.12.0-4 +- Install docs to %%{_pkgdocdir} where available (#994099). +- Move *.1 manpages to main package. + +* Sun Aug 04 2013 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 30 2013 Petr Machata - 0.12.0-2 +- Rebuild for boost 1.54.0 + +* Tue May 21 2013 Brendan Jones 0.12.0-1 +- New upstream release + +* Fri Feb 15 2013 Fedora Release Engineering - 0.10.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 15 2012 Brendan Jones 0.10.4-2 +- Rebuilt for serd + +* Sat Dec 15 2012 Brendan Jones 0.10.4-1 +- New upstream release + +* Tue Jul 24 2012 Brendan Jones 0.8.0-2 +- Remove unwanted man file + +* Sat Jul 21 2012 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 20 2012 Brendan Jones - 0.8.0-1 +- New upstream release + +* Thu Jan 19 2012 Brendan Jones - 0.5.0-3 +- Correct macros in description, expand summary. + +* Mon Jan 16 2012 Brendan Jones - 0.5.0-2 +- Correct macros in description, expand summary. + +* Fri Dec 23 2011 Brendan Jones - 0.5.0-1 +- Initial build