- check-files cleanup
[packages/uriparser.git] / uriparser.spec
CommitLineData
8cd5b2b7 1#
4659b623 2# Conditional build
3%bcond_without tests # disable 'make check'
4#
cc01f00a 5Summary: A strictly RFC 3986 compliant URI parsing library
00e051a9 6Summary(pl.UTF-8): Biblioteka analizująca URI ściśle zgodne z RFC 3986
cc01f00a 7Name: uriparser
53fe79b8 8Version: 0.7.7
cc01f00a
AM
9Release: 1
10License: BSD
11Group: Libraries
53fe79b8
ŁK
12Source0: http://downloads.sourceforge.net/uriparser/%{name}-%{version}.tar.bz2
13# Source0-md5: 2da950ef006be5a842dcc383cbbeaa78
cc01f00a 14URL: http://uriparser.sourceforge.net/
e2230609
JB
15BuildRequires: autoconf >= 2.61
16BuildRequires: automake >= 1:1.10.1
4659b623 17%{?with_tests:BuildRequires: cpptest-devel >= 1.1.0}
18BuildRequires: doxygen
19BuildRequires: graphviz-devel
cc01f00a 20BuildRequires: libtool
8cd5b2b7 21BuildRequires: pkgconfig >= 0.9.0
cc01f00a
AM
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25uriparser is a strictly RFC 3986 compliant URI parsing library.
26uriparser is cross-platform, fast, supports Unicode.
27
00e051a9 28%description -l pl.UTF-8
53fe79b8
ŁK
29uriparser to biblioteka analizująca URI ściśle zgodne z RFC 3986. Jest
30wieloplatformowa, szybka i obsługuje Unicode.
00e051a9 31
cc01f00a 32%package devel
00e051a9
JB
33Summary: Header files for uriparser
34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki uriparser
cc01f00a
AM
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
00e051a9
JB
39Header files for uriparser.
40
fef0bd2b 41%description devel -l pl.UTF-8
00e051a9 42Pliki nagłówkowe biblioteki uriparser.
cc01f00a
AM
43
44%package static
45Summary: Static uriparser library
00e051a9 46Summary(pl.UTF-8): Statyczna biblioteka uriparser
cc01f00a
AM
47Group: Development/Libraries
48Requires: %{name}-devel = %{version}-%{release}
49
50%description static
51Static uriparser library.
52
00e051a9
JB
53%description static -l pl.UTF-8
54Statyczna biblioteka uriparser.
55
cc01f00a 56%prep
53fe79b8 57%setup -q
cc01f00a 58
8cd5b2b7 59%build
4659b623 60%{__libtoolize}
61%{__aclocal}
62%{__automake}
4659b623 63%{__autoconf}
64%configure \
65 %{!?with_tests:--disable-test}
cc01f00a
AM
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
329bd1a4
JB
74# packaged as %doc
75%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/uriparser
76
cc01f00a
AM
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(644,root,root,755)
4659b623 85%doc AUTHORS COPYING ChangeLog doc/{*.{htm,txt},html}
e55fa743
JB
86%attr(755,root,root) %{_libdir}/liburiparser.so.*.*.*
87%attr(755,root,root) %ghost %{_libdir}/liburiparser.so.1
cc01f00a
AM
88
89%files devel
90%defattr(644,root,root,755)
e55fa743
JB
91%attr(755,root,root) %{_libdir}/liburiparser.so
92%{_libdir}/liburiparser.la
93%{_includedir}/uriparser
85049899 94%{_pkgconfigdir}/liburiparser.pc
cc01f00a
AM
95
96%files static
97%defattr(644,root,root,755)
e55fa743 98%{_libdir}/liburiparser.a
This page took 0.113761 seconds and 4 git commands to generate.