]>
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 |
2d9b35c1 | 4 | Version: 0.5.2 |
cc01f00a AM |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.gz | |
2d9b35c1 | 9 | # Source0-md5: d2ce7c98001f61708e525e97663aa07a |
cc01f00a AM |
10 | URL: http://uriparser.sourceforge.net/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
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 | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__automake} | |
55 | %{__autoconf} | |
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) | |
73 | %doc doc/*.{htm,txt} AUTHORS ChangeLog | |
74 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
75 | ||
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_libdir}/lib*.so | |
cc01f00a | 79 | %{_libdir}/*.la |
00e051a9 | 80 | %{_includedir}/* |
cc01f00a AM |
81 | |
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %{_libdir}/lib*.a |