From 69609b7d125a37d44e890e92e8493e5e5b29c465 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 2 Jul 2023 22:52:51 +0300 Subject: [PATCH] import sratom-0.6.10-2.el9 --- .gitignore | 1 + .sratom.metadata | 1 + SOURCES/sratom-doc-install-directory.patch | 12 ++ SPECS/sratom.spec | 210 +++++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 .gitignore create mode 100644 .sratom.metadata create mode 100644 SOURCES/sratom-doc-install-directory.patch create mode 100644 SPECS/sratom.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78c32e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sratom-0.6.10.tar.bz2 diff --git a/.sratom.metadata b/.sratom.metadata new file mode 100644 index 0000000..96d841c --- /dev/null +++ b/.sratom.metadata @@ -0,0 +1 @@ +00946de8d5039ba815e241456d59fafc4e16387c SOURCES/sratom-0.6.10.tar.bz2 diff --git a/SOURCES/sratom-doc-install-directory.patch b/SOURCES/sratom-doc-install-directory.patch new file mode 100644 index 0000000..c91c9bf --- /dev/null +++ b/SOURCES/sratom-doc-install-directory.patch @@ -0,0 +1,12 @@ +diff --git a/wscript b/wscript +index 7bbf300..abdb163 100644 +--- a/wscript ++++ b/wscript +@@ -174,6 +174,7 @@ def build(bld): + + # Documentation + if bld.env.DOCS: ++ bld.env.SRATOM_MAJOR_VERSION = SRATOM_MAJOR_VERSION + bld.recurse('doc/c') + + bld.add_post_fun(autowaf.run_ldconfig) diff --git a/SPECS/sratom.spec b/SPECS/sratom.spec new file mode 100644 index 0000000..d7dc301 --- /dev/null +++ b/SPECS/sratom.spec @@ -0,0 +1,210 @@ +%global maj 0 +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + +Name: sratom +Version: 0.6.10 +Release: 2%{?dist} +Summary: A C library for serializing LV2 plugins + +License: MIT +URL: http://drobilla.net/software/%{name}/ +Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 + +# Patch sent upstream https://github.com/lv2/sratom/pull/4 +Patch0: %{name}-doc-install-directory.patch + +BuildRequires: python3 +BuildRequires: doxygen +BuildRequires: graphviz +BuildRequires: sord-devel >= 0.14.0 +BuildRequires: serd-devel >= 0.30.0 +BuildRequires: lv2-devel >= 1.16.0 +BuildRequires: gcc +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_lv2_theme + +%description +%{name} is a new C library for serializing LV2 atoms to/from Turtle. It is +intended to be a full serialization solution for LV2 atoms, allowing +implementations to serialize binary atoms to strings and read them back again. +This is particularly useful for saving plugin state, or implementing plugin +control with network transparency. + +%package devel +Summary: Development libraries and headers for %{name} +Requires: %{name}%{_isa} = %{version}-%{release} + +%description devel +%{name} is a C library for serializing LV2 atoms to/from Turtle. It is +intended to be a full serialization solution for LV2 atoms, allowing +implementations to serialize binary atoms to strings and read them back again. +This is particularly useful for saving plugin state, or implementing plugin +control with network transparency. + +This package contains the headers and development libraries for %{name}. + +%prep +%autosetup -p1 + +# for packagers sake, build the tests with debug symbols +sed -i -e "s| '-ftest-coverage'\]|\ + '-ftest-coverage'\] + '%{optflags}'.split(' ')|" wscript + +%build +%set_build_flags +%{python3} waf configure -v \ + --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}-0.so.* +install -pm 644 COPYING NEWS README.md %{buildroot}%{_pkgdocdir} + +%check +%{python3} waf test -v + +%files +%{_pkgdocdir} +%exclude %{_pkgdocdir}/%{name}-%{maj}/ +%exclude %{_pkgdocdir}/COPYING +%license COPYING +%{_libdir}/lib%{name}-%{maj}.so.* + +%files devel +%{_pkgdocdir}/%{name}-%{maj}/ +%{_libdir}/lib%{name}-%{maj}.so +%{_libdir}/pkgconfig/%{name}-%{maj}.pc +%{_includedir}/%{name}-%{maj}/ + +%changelog +* Sun Jul 02 2023 Arkady L. Shane - 0.6.10-2 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Guido Aulisi - 0.6.10-1 +- Update to 0.6.10 + +* Sat Jan 22 2022 Fedora Release Engineering - 0.6.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Nov 14 2021 Guido Aulisi - 0.6.8-1 +- Update to 0.6.8 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Oct 04 2020 Guido Aulisi - 0.6.6-1 +- Update to 0.6.6 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 06 2019 Guido Aulisi - 0.6.4-1 +- Update to 0.6.4 +- Use python3 + +* Sat Jul 27 2019 Fedora Release Engineering - 0.6.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jul 31 2018 Florian Weimer - 0.6.2-2 +- Rebuild with fixed binutils + +* Mon Jul 30 2018 Guido Aulisi - 0.6.2-1 +- Update to 0.6.2 +- Remove ldconfig scriptlets + +* Sun Jul 15 2018 Guido Aulisi - 0.6.0-6 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + +* Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 14 2017 Guido Aulisi - 0.6.0-1 +- Update to 0.6.0 +- Use hardened LDFLAGS +- Enable tests +- Use license macro + +* Sat Feb 11 2017 Fedora Release Engineering - 0.4.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 0.4.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0.4.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Aug 20 2014 Kevin Fenzi - 0.4.6-2 +- Rebuild for rpm bug 1131892 + +* Wed Aug 20 2014 Brendan Jones 0.4.6-1 +- Update to 0.4.6 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.4.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Jan 10 2014 Brendan Jones 0.4.4-1 +- New upstream release + +* Sun Dec 15 2013 Ville Skyttä - 0.4.2-6 +- Install docs to %%{_pkgdocdir} where available (#994105). + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 21 2013 Brendan Jones 0.4.2-4 +- Rebuilt again + +* Tue May 21 2013 Brendan Jones 0.4.2-3 +- Rebuild for new sord + +* Tue May 21 2013 Brendan Jones 0.4.2-2 +- Rebuild for new sord + +* Tue May 21 2013 Brendan Jones 0.4.2-1 +- New upstream release + +* Fri Feb 15 2013 Fedora Release Engineering - 0.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat May 12 2012 Brendan Jones - 0.2.0-3 +- Temporarily remove tests - http://dev.drobilla.net/ticket/832 + +* Fri Apr 20 2012 Brendan Jones - 0.2.0-2 +- Correct spelling and add missing build requires + +* Fri Apr 20 2012 Brendan Jones - 0.2.0-1 +- Initial build