|
|
|
@ -1,9 +1,8 @@
|
|
|
|
|
%global maj 0
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: serd
|
|
|
|
|
Version: 0.20.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.22.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A lightweight C library for RDF syntax
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -50,7 +49,7 @@ export CFLAGS="%{optflags}"
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
|
--docdir=%{_docdir} \
|
|
|
|
|
--test \
|
|
|
|
|
--docs
|
|
|
|
|
./waf build -v %{?_smp_mflags}
|
|
|
|
@ -58,18 +57,13 @@ 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
|
|
|
|
|
%dir %{_pkgdocdir}/
|
|
|
|
|
%{_pkgdocdir}/AUTHORS
|
|
|
|
|
%{_pkgdocdir}/COPYING
|
|
|
|
|
%{_pkgdocdir}/NEWS
|
|
|
|
|
%{_pkgdocdir}/README
|
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
%{_bindir}/serdi
|
|
|
|
|
%{_mandir}/man1/serdi.1*
|
|
|
|
@ -78,10 +72,12 @@ install -pm 644 AUTHORS COPYING NEWS README %{buildroot}%{_pkgdocdir}
|
|
|
|
|
%{_libdir}/lib%{name}-%{maj}*.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
|
%{_pkgdocdir}/%{name}-%{maj}/
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 16 2016 Brendan Jones <brendan.jones.it@gmail.com> - 0.22.0-1
|
|
|
|
|
- Update to 0.22.0
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|