|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: sratom
|
|
|
|
|
Version: 0.4.2
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: A C library for serializing LV2 plugins
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -52,7 +53,7 @@ export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
|
--docdir=%{_docdir}/%{name}-devel-%{version} \
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
./waf build -v %{?_smp_mflags}
|
|
|
|
@ -60,6 +61,7 @@ export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} ./waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
# tests failing - see http://dev.drobilla.net/ticket/832
|
|
|
|
|
#%%check
|
|
|
|
@ -70,17 +72,21 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc NEWS README COPYING
|
|
|
|
|
%{_pkgdocdir}
|
|
|
|
|
%exclude %{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
%{_docdir}/%{name}-devel-%{version}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 15 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.4.2-6
|
|
|
|
|
- Install docs to %%{_pkgdocdir} where available (#994105).
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|