|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
Name: uriparser
|
|
|
|
|
Version: 0.7.9
|
|
|
|
|
Version: 0.8.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: URI parsing library - RFC 3986
|
|
|
|
|
|
|
|
|
@ -40,7 +40,11 @@ mv THANKS{.utf8,}
|
|
|
|
|
# sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' Doxyfile.in
|
|
|
|
|
sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in
|
|
|
|
|
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
|
|
|
|
|
# disable rpath
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
# Generate docs first
|
|
|
|
|
cd doc;
|
|
|
|
@ -50,7 +54,7 @@ cd ..
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
LD_LIBRARY_PATH=".libs" make check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
@ -72,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc THANKS AUTHORS COPYING ChangeLog
|
|
|
|
|
%{_bindir}/uriparse
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -82,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 06 2013 François Cami <fcami@fedoraproject.org> - 0.8.0-1
|
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 06 2013 François Cami <fcami@fedoraproject.org> - 0.7.9-1
|
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
|
|
|
|
|