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.
110 lines
3.3 KiB
110 lines
3.3 KiB
%global maj 0
|
|
|
|
Name: sratom
|
|
Version: 0.4.2
|
|
Release: 4%{?dist}
|
|
Summary: A C library for serializing LV2 plugins
|
|
|
|
Group: System Environment/Libraries
|
|
License: MIT
|
|
URL: http://drobilla.net/software/%{name}/
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
BuildRequires: python
|
|
BuildRequires: doxygen
|
|
BuildRequires: graphviz
|
|
BuildRequires: sord-devel >= 0.12.0
|
|
BuildRequires: lv2-devel >= 1.0.0
|
|
|
|
%filter_setup
|
|
|
|
%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}
|
|
Group: Development/Libraries
|
|
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
|
|
%setup -q
|
|
|
|
# for packagers sake, build the tests with debug symbols
|
|
sed -i -e "s| '-ftest-coverage'\]|\
|
|
'-ftest-coverage'\] + '%{optflags}'.split(' ')|" wscript
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
./waf configure -v \
|
|
--prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir} \
|
|
--datadir=%{_datadir} \
|
|
--docdir=%{_docdir}/%{name}-devel-%{version} \
|
|
--test \
|
|
--docs
|
|
./waf build -v %{?_smp_mflags}
|
|
|
|
%install
|
|
DESTDIR=%{buildroot} ./waf install
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
# tests failing - see http://dev.drobilla.net/ticket/832
|
|
#%%check
|
|
#./build/sratom_test
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%doc NEWS README COPYING
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
%files devel
|
|
%{_libdir}/lib%{name}-%{maj}.so
|
|
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
|
%{_includedir}/%{name}-%{maj}/
|
|
%{_docdir}/%{name}-devel-%{version}
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.4.2-4
|
|
- Rebuilt again
|
|
|
|
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.4.2-3
|
|
- Rebuild for new sord
|
|
|
|
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.4.2-2
|
|
- Rebuild for new sord
|
|
|
|
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.4.2-1
|
|
- New upstream release
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat May 12 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.0-3
|
|
- Temporarily remove tests - http://dev.drobilla.net/ticket/832
|
|
|
|
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.0-2
|
|
- Correct spelling and add missing build requires
|
|
|
|
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.0-1
|
|
- Initial build
|