|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: uriparser
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.7.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: URI parsing library - RFC 3986
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -8,7 +8,9 @@ License: BSD
|
|
|
|
|
URL: http://%{name}.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: doxygen, graphviz
|
|
|
|
|
BuildRequires: doxygen, graphviz, cpptest-devel
|
|
|
|
|
Requires: cpptest
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Uriparser is a strictly RFC 3986 compliant URI parsing library written
|
|
|
|
|
in C. uriparser is cross-platform, fast, supports Unicode and is
|
|
|
|
@ -32,13 +34,25 @@ mv THANKS{.utf8,}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
cd doc;
|
|
|
|
|
|
|
|
|
|
# Remove qhelpgenerator dependency, by commenting these lines in
|
|
|
|
|
# Doxygen.in
|
|
|
|
|
## .qch output
|
|
|
|
|
## QCH_FILE = "../uriparser-doc-0.7.5.qch"
|
|
|
|
|
## QHG_LOCATION = "qhelpgenerator"
|
|
|
|
|
sed -i 's/^# .qch output.*//' Doxyfile.in
|
|
|
|
|
sed -i 's/^QCH.*//' Doxyfile.in
|
|
|
|
|
sed -i 's/^QHG.*//' Doxyfile.in
|
|
|
|
|
|
|
|
|
|
%configure; make %{?_smp_mflags}; cd ..
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
# doc folder has separate configure file
|
|
|
|
|
cd doc;
|
|
|
|
|
#cd doc;
|
|
|
|
|
# fix for automated autotool calls
|
|
|
|
|
touch aclocal.m4 configure Makefile.in
|
|
|
|
|
%configure; make %{?_smp_mflags}
|
|
|
|
|
#touch aclocal.m4 configure Makefile.in
|
|
|
|
|
#%configure; make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
@ -48,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
mv $RPM_BUILD_ROOT/%{_datadir}/doc/uriparser/html \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
@ -66,8 +82,22 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%doc doc/html
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.5-1
|
|
|
|
|
- Upgrade to 0.7.5:
|
|
|
|
|
- Improved docs
|
|
|
|
|
- Test suite
|
|
|
|
|
- 0.7.4
|
|
|
|
|
- Cleaned up code and fixed memory leaks
|
|
|
|
|
- 0.7.3
|
|
|
|
|
- Builds for Cygwin, minor bug fix
|
|
|
|
|
- Changes in build system.
|
|
|
|
|
- Added: Qt Assistant documentation output
|
|
|
|
|
- 0.7.2
|
|
|
|
|
- Improved and cleaned API
|
|
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|