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