]>
Commit | Line | Data |
---|---|---|
cc01f00a AM |
1 | Summary: A strictly RFC 3986 compliant URI parsing library |
2 | Name: uriparser | |
2ca0edb3 | 3 | Version: 0.3.4 |
cc01f00a AM |
4 | Release: 1 |
5 | License: BSD | |
6 | Group: Libraries | |
7 | Source0: http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.gz | |
2ca0edb3 | 8 | # Source0-md5: b041e6b0b51e0690ffdfe09a81231e1f |
cc01f00a AM |
9 | URL: http://uriparser.sourceforge.net/ |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: libtool | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | uriparser is a strictly RFC 3986 compliant URI parsing library. | |
17 | uriparser is cross-platform, fast, supports Unicode. | |
18 | ||
19 | %package devel | |
20 | Summary: Header files and develpment documentation for uriparser | |
21 | Group: Development/Libraries | |
22 | Requires: %{name} = %{version}-%{release} | |
23 | ||
24 | %description devel | |
25 | Header files and develpment documentation for uriparser. | |
26 | ||
27 | %package static | |
28 | Summary: Static uriparser library | |
29 | Group: Development/Libraries | |
30 | Requires: %{name}-devel = %{version}-%{release} | |
31 | ||
32 | %description static | |
33 | Static uriparser library. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
cc01f00a AM |
37 | |
38 | %build | |
39 | %{__libtoolize} | |
40 | %{__aclocal} | |
41 | %{__automake} | |
42 | %{__autoconf} | |
43 | %configure | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %post -p /sbin/ldconfig | |
56 | %postun -p /sbin/ldconfig | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc doc/*.{htm,txt} AUTHORS ChangeLog | |
61 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
62 | ||
63 | %files devel | |
64 | %defattr(644,root,root,755) | |
65 | %attr(755,root,root) %{_libdir}/lib*.so | |
66 | %{_includedir}/* | |
67 | %{_libdir}/*.la | |
68 | ||
69 | %files static | |
70 | %defattr(644,root,root,755) | |
71 | %{_libdir}/lib*.a |