]> git.pld-linux.org Git - packages/uriparser.git/blob - uriparser.spec
- updated to 0.7.1
[packages/uriparser.git] / uriparser.spec
1 Summary:        A strictly RFC 3986 compliant URI parsing library
2 Summary(pl.UTF-8):      Biblioteka analizująca URI ściśle zgodne z RFC 3986
3 Name:           uriparser
4 Version:        0.7.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.lzma
9 # Source0-md5:  1c30504fc79b3b275e13fbd8ac2825f4
10 URL:            http://uriparser.sourceforge.net/
11 BuildRequires:  autoconf >= 2.61
12 BuildRequires:  automake >= 1:1.10.1
13 BuildRequires:  libtool
14 BuildRequires:  lzma >= 1:4.42
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
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
25 %package devel
26 Summary:        Header files for uriparser
27 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki uriparser
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Header files for uriparser.
33
34 %description devel -l pl.UTF_8
35 Pliki nagłówkowe biblioteki uriparser.
36
37 %package static
38 Summary:        Static uriparser library
39 Summary(pl.UTF-8):      Statyczna biblioteka uriparser
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static uriparser library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka uriparser.
48
49 %prep
50 %setup -q -c -T
51 lzma -dc %{SOURCE0} | tar xf - -C ..
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__automake}
57 %{__autoheader}
58 %{__autoconf}
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)
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
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/liburiparser.so
83 %{_libdir}/liburiparser.la
84 %{_includedir}/uriparser
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/liburiparser.a
This page took 0.093127 seconds and 4 git commands to generate.