]> git.pld-linux.org Git - packages/uriparser.git/blame - uriparser.spec
- up to 0.7.5
[packages/uriparser.git] / uriparser.spec
CommitLineData
4659b623 1# Conditional build
2%bcond_without tests # disable 'make check'
3#
cc01f00a 4Summary: A strictly RFC 3986 compliant URI parsing library
00e051a9 5Summary(pl.UTF-8): Biblioteka analizująca URI ściśle zgodne z RFC 3986
cc01f00a 6Name: uriparser
4659b623 7Version: 0.7.5
cc01f00a
AM
8Release: 1
9License: BSD
10Group: Libraries
e2230609 11Source0: http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.lzma
4659b623 12# Source0-md5: a87b79caa1258cf9f232b55fce66ff22
cc01f00a 13URL: http://uriparser.sourceforge.net/
e2230609
JB
14BuildRequires: autoconf >= 2.61
15BuildRequires: automake >= 1:1.10.1
4659b623 16%{?with_tests:BuildRequires: cpptest-devel >= 1.1.0}
17BuildRequires: doxygen
18BuildRequires: graphviz-devel
cc01f00a 19BuildRequires: libtool
e2230609 20BuildRequires: lzma >= 1:4.42
4659b623 21%{?with_tests:BuildRequires: pkg-config >= 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
4659b623 29uriparser to biblioteka analizująca URI ściśle zgodne z RFC 3986.
30Jest wieloplatformowa, 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
e2230609
JB
57%setup -q -c -T
58lzma -dc %{SOURCE0} | tar xf - -C ..
cc01f00a 59
4659b623 60# configure first in doc, in order to create regular Doxyfile
61cd doc
e2230609
JB
62%{__libtoolize}
63%{__aclocal}
64%{__automake}
e2230609 65%{__autoconf}
cc01f00a 66%configure
4659b623 67
68%build
69%{__libtoolize}
70%{__aclocal}
71%{__automake}
72#%%{__autoheader}
73%{__autoconf}
74%configure \
75 %{!?with_tests:--disable-test}
cc01f00a
AM
76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(644,root,root,755)
4659b623 92%doc AUTHORS COPYING ChangeLog doc/{*.{htm,txt},html}
e55fa743
JB
93%attr(755,root,root) %{_libdir}/liburiparser.so.*.*.*
94%attr(755,root,root) %ghost %{_libdir}/liburiparser.so.1
cc01f00a
AM
95
96%files devel
97%defattr(644,root,root,755)
e55fa743
JB
98%attr(755,root,root) %{_libdir}/liburiparser.so
99%{_libdir}/liburiparser.la
100%{_includedir}/uriparser
cc01f00a
AM
101
102%files static
103%defattr(644,root,root,755)
e55fa743 104%{_libdir}/liburiparser.a
This page took 0.09521 seconds and 4 git commands to generate.