|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.18.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -49,7 +50,7 @@ export CFLAGS="%{optflags}"
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
|
--docdir=%{_docdir}/%{name}-devel-%{version} \
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
./waf build -v %{?_smp_mflags}
|
|
|
|
@ -57,13 +58,18 @@ export CFLAGS="%{optflags}"
|
|
|
|
|
%install
|
|
|
|
|
DESTDIR=%{buildroot} ./waf install
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
install -pm 644 AUTHORS COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS README COPYING
|
|
|
|
|
%dir %{_pkgdocdir}/
|
|
|
|
|
%{_pkgdocdir}/AUTHORS
|
|
|
|
|
%{_pkgdocdir}/COPYING
|
|
|
|
|
%{_pkgdocdir}/NEWS
|
|
|
|
|
%{_pkgdocdir}/README
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_bindir}/serdi
|
|
|
|
|
%{_mandir}/man1/serdi.1*
|
|
|
|
@ -72,10 +78,13 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
%{_docdir}/%{name}-devel-%{version}
|
|
|
|
|
%{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 14 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.18.2-3
|
|
|
|
|
- Install docs to %%{_pkgdocdir} where available (#994091).
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|