You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.2 KiB
77 lines
2.2 KiB
%global maj 0
|
|
|
|
Name: sratom
|
|
Version: 0.6.16
|
|
Release: %autorelease
|
|
Summary: A C library for serializing LV2 plugins
|
|
|
|
License: MIT
|
|
URL: https://drobilla.net/software/%{name}
|
|
Source0: https://download.drobilla.net/%{name}-%{version}.tar.xz
|
|
Source1: https://download.drobilla.net/%{name}-%{version}.tar.xz.sig
|
|
Source2: https://drobilla.net/drobilla.gpg
|
|
|
|
BuildRequires: doxygen
|
|
BuildRequires: gcc
|
|
BuildRequires: gnupg2
|
|
BuildRequires: graphviz
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(sord-0) >= 0.16.16
|
|
BuildRequires: pkgconfig(serd-0) >= 0.30.10
|
|
BuildRequires: pkgconfig(lv2) >= 1.18.4
|
|
BuildRequires: python3-sphinx
|
|
BuildRequires: python3-sphinx_lv2_theme
|
|
BuildRequires: python3-sphinxygen
|
|
|
|
%description
|
|
%{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.
|
|
|
|
%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
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
# Move devel docs to the right directory
|
|
install -d %{buildroot}%{_docdir}/%{name}
|
|
mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name}
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%doc README.md
|
|
%license COPYING
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
%files devel
|
|
%doc %{_docdir}/%{name}/%{name}-%{maj}/
|
|
%{_libdir}/lib%{name}-%{maj}.so
|
|
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
%changelog
|
|
%autochangelog
|