]>
Commit | Line | Data |
---|---|---|
cc01f00a | 1 | Summary: A strictly RFC 3986 compliant URI parsing library |
00e051a9 | 2 | Summary(pl.UTF-8): Biblioteka analizująca URI ściśle zgodne z RFC 3986 |
cc01f00a | 3 | Name: uriparser |
9c3c7d5b | 4 | Version: 0.7.4 |
cc01f00a AM |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Libraries | |
e2230609 | 8 | Source0: http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.lzma |
9c3c7d5b | 9 | # Source0-md5: d607001bff462361c7486ac677922141 |
cc01f00a | 10 | URL: http://uriparser.sourceforge.net/ |
e2230609 JB |
11 | BuildRequires: autoconf >= 2.61 |
12 | BuildRequires: automake >= 1:1.10.1 | |
cc01f00a | 13 | BuildRequires: libtool |
e2230609 | 14 | BuildRequires: lzma >= 1:4.42 |
cc01f00a AM |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | uriparser is a strictly RFC 3986 compliant URI parsing library. | |
19 | uriparser is cross-platform, fast, supports Unicode. | |
20 | ||
00e051a9 JB |
21 | %description -l pl.UTF-8 |
22 | uriparser to biblioteka analizująca URI ściśle zgodne z RFC 3986. Jest | |
23 | wieloplatformowa, szybka i obsługuje Unicode. | |
24 | ||
cc01f00a | 25 | %package devel |
00e051a9 JB |
26 | Summary: Header files for uriparser |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki uriparser | |
cc01f00a AM |
28 | Group: Development/Libraries |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
00e051a9 JB |
32 | Header files for uriparser. |
33 | ||
fef0bd2b | 34 | %description devel -l pl.UTF-8 |
00e051a9 | 35 | Pliki nagłówkowe biblioteki uriparser. |
cc01f00a AM |
36 | |
37 | %package static | |
38 | Summary: Static uriparser library | |
00e051a9 | 39 | Summary(pl.UTF-8): Statyczna biblioteka uriparser |
cc01f00a AM |
40 | Group: Development/Libraries |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static uriparser library. | |
45 | ||
00e051a9 JB |
46 | %description static -l pl.UTF-8 |
47 | Statyczna biblioteka uriparser. | |
48 | ||
cc01f00a | 49 | %prep |
e2230609 JB |
50 | %setup -q -c -T |
51 | lzma -dc %{SOURCE0} | tar xf - -C .. | |
cc01f00a AM |
52 | |
53 | %build | |
e2230609 JB |
54 | %{__libtoolize} |
55 | %{__aclocal} | |
56 | %{__automake} | |
57 | %{__autoheader} | |
58 | %{__autoconf} | |
cc01f00a AM |
59 | %configure |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
e55fa743 JB |
76 | %doc AUTHORS COPYING ChangeLog doc/*.{htm,txt} |
77 | %attr(755,root,root) %{_libdir}/liburiparser.so.*.*.* | |
78 | %attr(755,root,root) %ghost %{_libdir}/liburiparser.so.1 | |
cc01f00a AM |
79 | |
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
e55fa743 JB |
82 | %attr(755,root,root) %{_libdir}/liburiparser.so |
83 | %{_libdir}/liburiparser.la | |
84 | %{_includedir}/uriparser | |
cc01f00a AM |
85 | |
86 | %files static | |
87 | %defattr(644,root,root,755) | |
e55fa743 | 88 | %{_libdir}/liburiparser.a |