|
|
78cd9bc |
%global _hardened_build 1
|
|
|
78cd9bc |
|
|
|
7ac7924 |
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
7ac7924 |
|
|
|
bd245a3 |
Name: uriparser
|
|
|
cdd6734 |
Version: 0.8.1
|
|
|
078c914 |
Release: 4%{?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
|
|
|
6acb59d |
Patch0: uriparser-bug24.patch
|
|
|
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
|
|
|
6acb59d |
%patch0 -p1
|
|
|
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 |
|
|
|
3290df3 |
%configure --disable-static
|
|
|
3290df3 |
|
|
|
3290df3 |
# disable rpath
|
|
|
3290df3 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
3290df3 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
bd245a3 |
|
|
|
3227090 |
# Generate docs first
|
|
|
3227090 |
cd doc;
|
|
|
3227090 |
make %{?_smp_mflags}
|
|
|
3227090 |
cd ..
|
|
|
3227090 |
# Build
|
|
|
3227090 |
make %{?_smp_mflags}
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%check
|
|
|
3290df3 |
LD_LIBRARY_PATH=".libs" make check
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%install
|
|
|
bd245a3 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
bd245a3 |
|
|
|
078c914 |
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
078c914 |
|
|
|
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 |
|
|
|
bd245a3 |
%post -p /sbin/ldconfig
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%postun -p /sbin/ldconfig
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%files
|
|
|
bd245a3 |
%doc THANKS AUTHORS COPYING ChangeLog
|
|
|
3290df3 |
%{_bindir}/uriparse
|
|
|
bd245a3 |
%{_libdir}/*.so.*
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%files devel
|
|
|
bd245a3 |
%doc doc/html
|
|
|
bd245a3 |
%{_includedir}/*
|
|
|
bd245a3 |
%{_libdir}/*.so
|
|
|
de5b03b |
%{_libdir}/pkgconfig/*.pc
|
|
|
bd245a3 |
|
|
|
bd245a3 |
%changelog
|
|
|
078c914 |
* Thu Jan 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.1-4
|
|
|
078c914 |
- Modernise spec
|
|
|
078c914 |
|
|
|
6acb59d |
* Wed Jan 28 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-3
|
|
|
6acb59d |
- Make uriCompareRangeA() return -1/0/1 like tests assume it does
|
|
|
6acb59d |
so package will build on aarch64.
|
|
|
6acb59d |
|
|
|
78cd9bc |
* Fri Jan 09 2015 François Cami <fcami@fedoraproject.org> - 0.8.1-2
|
|
|
78cd9bc |
- Use PIC.
|
|
|
78cd9bc |
|
|
|
cdd6734 |
* Mon Jan 05 2015 François Cami <fcami@fedoraproject.org> - 0.8.1-1
|
|
|
cdd6734 |
- Update to latest upstream.
|
|
|
cdd6734 |
|
|
|
063ffd8 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
|
|
063ffd8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
063ffd8 |
|
|
|
1bdc6df |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
|
|
|
1bdc6df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1bdc6df |
|
|
|
3290df3 |
* Fri Sep 06 2013 François Cami <fcami@fedoraproject.org> - 0.8.0-1
|
|
|
3290df3 |
- Update to latest upstream.
|
|
|
3290df3 |
|
|
|
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
|