|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
|
Name: uriparser
|
|
|
|
|
Version: 0.8.4
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.8.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: URI parsing library - RFC 3986
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://%{name}.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
URL: https://uriparser.github.io/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: automake autoconf libtool
|
|
|
|
|
BuildRequires: cpptest-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: cpptest-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Uriparser is a strictly RFC 3986 compliant URI parsing library written
|
|
|
|
@ -38,24 +39,15 @@ The %{name}-doc package contains HTML documentation files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
# Fix line endings and encoding
|
|
|
|
|
sed -i 's/\r//' COPYING
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 THANKS > THANKS.conv && mv -f THANKS.conv THANKS
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
# Remove qhelpgenerator dependency by commenting Doxygen.in:
|
|
|
|
|
sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in
|
|
|
|
|
|
|
|
|
|
# fix installation errors
|
|
|
|
|
sed -i -e 's,html/\*.map\ ,,g' doc/Makefile.am
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ifv
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -68,7 +60,6 @@ LD_LIBRARY_PATH=".libs" make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -76,12 +67,12 @@ LD_LIBRARY_PATH=".libs" make check
|
|
|
|
|
%doc THANKS AUTHORS ChangeLog
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/uriparse
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_libdir}/lib%{name}.so.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
%{_libdir}/pkgconfig/lib%{name}.pc
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%license COPYING
|
|
|
|
@ -89,6 +80,9 @@ LD_LIBRARY_PATH=".libs" make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 07 2018 Sandro Mani <manisandro@gmail.com> - 0.8.5-1
|
|
|
|
|
- Update to 0.8.5
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|