|
|
7ac7924 |
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
7ac7924 |
|
|
|
bd245a3 |
Name: uriparser
|
|
|
4aa9ea0 |
Version: 0.7.9
|
|
|
4aa9ea0 |
Release: 1%{?dist}
|
|
|
bd245a3 |
Summary: URI parsing library - RFC 3986
|
|
|
bd245a3 |
|
|
|
bd245a3 |
Group: System Environment/Libraries
|
|
|
bd245a3 |
License: BSD
|
|
|
bd245a3 |
URL: http://%{name}.sourceforge.net/
|
|
|
3227090 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
bd245a3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
de5b03b |
BuildRequires: doxygen, graphviz, cpptest-devel
|
|
|
de5b03b |
Requires: cpptest
|
|
|
de5b03b |
|
|
|
bd245a3 |
%description
|
|
|
bd245a3 |
Uriparser is a strictly RFC 3986 compliant URI parsing library written
|
|
|
bd245a3 |
in C. uriparser is cross-platform, fast, supports Unicode and is
|
|
|
bd245a3 |
licensed under the New BSD license.
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%package devel
|
|
|
bd245a3 |
Summary: Development files for %{name}
|
|
|
bd245a3 |
Group: Development/Libraries
|
|
|
bd245a3 |
Requires: %{name} = %{version}-%{release}
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%description devel
|
|
|
bd245a3 |
The %{name}-devel package contains libraries and header files for
|
|
|
bd245a3 |
developing applications that use %{name}.
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%prep
|
|
|
bd245a3 |
%setup -q
|
|
|
bd245a3 |
sed -i 's/\r//' THANKS
|
|
|
bd245a3 |
sed -i 's/\r//' COPYING
|
|
|
bd245a3 |
iconv -f iso-8859-1 -t utf-8 -o THANKS{.utf8,}
|
|
|
bd245a3 |
mv THANKS{.utf8,}
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%build
|
|
|
de5b03b |
|
|
|
3227090 |
# Remove qhelpgenerator dependency by commenting Doxygen.in:
|
|
|
3227090 |
# sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' Doxyfile.in
|
|
|
3227090 |
sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in
|
|
|
de5b03b |
|
|
|
3227090 |
%configure --disable-static
|
|
|
bd245a3 |
|
|
|
3227090 |
# Generate docs first
|
|
|
3227090 |
cd doc;
|
|
|
3227090 |
make %{?_smp_mflags}
|
|
|
3227090 |
cd ..
|
|
|
3227090 |
# Build
|
|
|
3227090 |
make %{?_smp_mflags}
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%check
|
|
|
bd245a3 |
make check
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%install
|
|
|
bd245a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
bd245a3 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
bd245a3 |
|
|
|
bd245a3 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
7ac7924 |
# fcami - update for https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
|
|
|
7ac7924 |
if [ ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name} != ${RPM_BUILD_ROOT}%{_pkgdocdir} ]
|
|
|
7ac7924 |
then mv ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
|
|
7ac7924 |
fi
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%clean
|
|
|
bd245a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%post -p /sbin/ldconfig
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%postun -p /sbin/ldconfig
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%files
|
|
|
bd245a3 |
%defattr(-,root,root,-)
|
|
|
bd245a3 |
%doc THANKS AUTHORS COPYING ChangeLog
|
|
|
bd245a3 |
%{_libdir}/*.so.*
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%files devel
|
|
|
bd245a3 |
%defattr(-,root,root,-)
|
|
|
bd245a3 |
%doc doc/html
|
|
|
bd245a3 |
%{_includedir}/*
|
|
|
bd245a3 |
%{_libdir}/*.so
|
|
|
de5b03b |
%{_libdir}/pkgconfig/*.pc
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%changelog
|
|
|
4aa9ea0 |
* Fri Sep 06 2013 François Cami <fcami@fedoraproject.org> - 0.7.9-1
|
|
|
4aa9ea0 |
- Update to latest upstream.
|
|
|
4aa9ea0 |
|
|
|
7ac7924 |
* Tue Aug 06 2013 François Cami <fcami@fedoraproject.org> - 0.7.8-2
|
|
|
4aa9ea0 |
- Fix FTBS due to https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
|
|
|
7ac7924 |
|
|
|
3227090 |
* Tue Jul 30 2013 François Cami <fcami@fedoraproject.org> - 0.7.8-1
|
|
|
3227090 |
- Update to 0.7.8
|
|
|
3227090 |
|
|
|
5578095 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-7
|
|
|
5578095 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5578095 |
|
|
|
e8c8628 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-6
|
|
|
e8c8628 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e8c8628 |
|
|
|
6716bbf |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-5
|
|
|
6716bbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6716bbf |
|
|
|
5bed624 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
|
|
|
5bed624 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5bed624 |
|
|
|
2439d3a |
* Tue Sep 07 2010 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.5-3
|
|
|
2439d3a |
- Fixed FTBFS
|
|
|
2439d3a |
|
|
|
c4c9675 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-2
|
|
|
c4c9675 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c4c9675 |
|
|
|
de5b03b |
* Fri Mar 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.5-1
|
|
|
de5b03b |
- Upgrade to 0.7.5:
|
|
|
de5b03b |
- Improved docs
|
|
|
de5b03b |
- Test suite
|
|
|
de5b03b |
- 0.7.4
|
|
|
de5b03b |
- Cleaned up code and fixed memory leaks
|
|
|
de5b03b |
- 0.7.3
|
|
|
de5b03b |
- Builds for Cygwin, minor bug fix
|
|
|
de5b03b |
- Changes in build system.
|
|
|
de5b03b |
- Added: Qt Assistant documentation output
|
|
|
de5b03b |
- 0.7.2
|
|
|
de5b03b |
- Improved and cleaned API
|
|
|
de5b03b |
|
|
|
f4c40ee |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-7
|
|
|
f4c40ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f4c40ee |
|
|
|
bd245a3 |
* Sat Sep 06 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-6
|
|
|
bd245a3 |
- changed document file handling in spec, used better method - %%doc
|
|
|
bd245a3 |
|
|
|
bd245a3 |
* Fri Sep 05 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-5
|
|
|
bd245a3 |
- fixed group, removed redundant args for %%setup
|
|
|
bd245a3 |
- included ChangeLog, fixed html folder path in %%files
|
|
|
bd245a3 |
- fixed automated autotool calls
|
|
|
bd245a3 |
|
|
|
bd245a3 |
* Sat Aug 23 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-4
|
|
|
bd245a3 |
- changed name according to naming guidelines
|
|
|
bd245a3 |
|
|
|
bd245a3 |
* Sat Aug 23 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-3
|
|
|
bd245a3 |
- fixed buildrequires tag
|
|
|
bd245a3 |
|
|
|
bd245a3 |
* Sun Aug 10 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-2
|
|
|
bd245a3 |
- added documentation
|
|
|
bd245a3 |
|
|
|
bd245a3 |
* Sat Aug 9 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.7.1-1
|
|
|
bd245a3 |
- Initial build
|