From 7d7b08fe9ee5d9bc4786b0384a6781642aa91ef1 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 2 Jul 2023 22:53:18 +0300 Subject: [PATCH] import serd-0.30.12-2.el9 --- .gitignore | 1 + .serd.metadata | 1 + SPECS/serd.spec | 206 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 208 insertions(+) create mode 100644 .gitignore create mode 100644 .serd.metadata create mode 100644 SPECS/serd.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..25be12c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serd-0.30.12.tar.bz2 diff --git a/.serd.metadata b/.serd.metadata new file mode 100644 index 0000000..43895a7 --- /dev/null +++ b/.serd.metadata @@ -0,0 +1 @@ +5d896456313dfbba49a427e396012c280e72a973 SOURCES/serd-0.30.12.tar.bz2 diff --git a/SPECS/serd.spec b/SPECS/serd.spec new file mode 100644 index 0000000..d4f8f86 --- /dev/null +++ b/SPECS/serd.spec @@ -0,0 +1,206 @@ +%global maj 0 + +Name: serd +Version: 0.30.12 +Release: 2%{?dist} +Summary: A lightweight C library for RDF syntax + +License: ISC +URL: http://drobilla.net/software/serd/ +Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 + +BuildRequires: doxygen +BuildRequires: graphviz +BuildRequires: glib2-devel +BuildRequires: python3 +BuildRequires: gcc +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_lv2_theme + +%description +%{name} is a lightweight C library for RDF syntax which supports reading and +writing Turtle, TRiG, NTriples, and NQuads. + +Serd is suitable for performance-critical or resource-limited applications, +such as serialising very large data sets, network protocols, or embedded +systems that require minimal dependencies and lightweight deployment. + +%package devel +Summary: Development libraries and headers for %{name} +Requires: %{name}%{_isa} = %{version}-%{release} + +%description devel +%{name} is a lightweight C library for RDF syntax which supports reading and +writing Turtle, TRiG, NTriples, and NQuads. + +This package contains the headers and development libraries for %{name}. + +%prep +%autosetup -p1 +# Do not run ldconfig, see +# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets +sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript + +%build +%set_build_flags +%{python3} waf configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --docdir=%{_docdir} \ + --test \ + --docs +%{python3} waf build -v %{?_smp_mflags} + +%install +DESTDIR=%{buildroot} %{python3} waf install +chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* +# Delete sphinx buildinfo +rm %{buildroot}%{_docdir}/%{name}-%{maj}/c/{html,singlehtml}/.buildinfo +# Move devel docs to the right directory +install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj} +mv %{buildroot}%{_docdir}/%{name}-%{maj}/c %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/c + +%files +%license COPYING +%doc AUTHORS NEWS README.md +%doc %{_mandir}/man1/serdi.1* +%{_libdir}/lib%{name}-%{maj}.so.%{maj}* +%{_bindir}/serdi + +%files devel +%doc %{_docdir}/%{name}/%{name}-%{maj}/ +%{_libdir}/lib%{name}-%{maj}*.so +%{_libdir}/pkgconfig/%{name}*.pc +%{_includedir}/%{name}-%{maj}/ + +%changelog +* Sun Jul 02 2023 Arkady L. Shane - 0.30.12-2 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.30.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Guido Aulisi - 0.30.12-1 +- Update to 0.30.12 + +* Sat Jan 22 2022 Fedora Release Engineering - 0.30.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.30.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.30.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Jan 24 2021 Guido Aulisi - 0.30.10-1 +- Update to 0.30.10 + +* Sun Oct 04 2020 Guido Aulisi - 0.30.6-1 +- Update to 0.30.6 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.30.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jul 12 2020 Guido Aulisi - 0.30.4-1 +- Update to 0.30.4 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.30.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 06 2019 Guido Aulisi - 0.30.2-1 +- Update to 0.30.2 +- Use python3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.30.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.30.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 26 2018 Guido Aulisi - 0.30.0-1 +- Update to 0.30.0 +- Remove ldconfig scriptlets +- Minor spec cleanup + +* Sun Jul 15 2018 Guido Aulisi - 0.28.0-5 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + +* Sat Jul 14 2018 Fedora Release Engineering - 0.28.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.28.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Aug 11 2017 Kalev Lember - 0.28.0-2 +- Bump and rebuild for an rpm signing issue + +* Thu Aug 10 2017 Guido Aulisi - 0.28.0-1 +- Update to 0.28.0 +- Use license macro + +* Thu Aug 03 2017 Fedora Release Engineering - 0.26.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.26.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 21 2017 Guido Aulisi - 0.26.0-2 +- Fix unowned mid-level directory + +* Mon Mar 13 2017 Guido Aulisi - 0.26.0-1 +- Update to 0.26.0 +- Use hardened LDFLAGS +- Remove deprecated Groups tags + +* Sat Feb 11 2017 Fedora Release Engineering - 0.22.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Sep 16 2016 Brendan Jones - 0.22.0-1 +- Update to 0.22.0 + +* Thu Feb 04 2016 Fedora Release Engineering - 0.20.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0.20.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Aug 20 2014 Brendan Jones 0.20.0-1 +- Update to 0.20.0 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.18.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.18.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Dec 14 2013 Ville Skyttä - 0.18.2-3 +- Install docs to %%{_pkgdocdir} where available (#994091). + +* Sun Aug 04 2013 Fedora Release Engineering - 0.18.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 21 2013 Brendan Jones 0.18.2-1 +- New upstream release + +* Thu Feb 14 2013 Fedora Release Engineering - 0.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 15 2012 Brendan Jones 0.18.0-1 +- New upstream release + +* Sat Jul 21 2012 Fedora Release Engineering - 0.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 20 2012 Brendan Jones - 0.14.0-1 +- New upstream release. + +* Sat Jan 14 2012 Brendan Jones - 0.5.0-3 +- Move man1 file, furtherqualify wildcards. + +* Sat Jan 14 2012 Brendan Jones - 0.5.0-2 +- License to ISC, remove tabs + +* Fri Dec 23 2011 Brendan Jones - 0.5.0-1 +- Initial build