]>
Commit | Line | Data |
---|---|---|
fb176567 | 1 | Summary: A library that performs asynchronous DNS operations |
d0f05923 | 2 | Summary(pl.UTF-8): Biblioteka do wykonywania asynchronicznych zapytań DNS |
fb176567 | 3 | Name: c-ares |
8c8da2fc | 4 | Version: 1.3.2 |
fb176567 AG |
5 | Release: 1 |
6 | License: MIT | |
7 | Group: Libraries | |
8 | Source0: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.gz | |
8c8da2fc | 9 | # Source0-md5: 3f517655f22531889b2465219f4833fa |
fb176567 AG |
10 | URL: http://daniel.haxx.se/projects/c-ares/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | c-ares is a C library that performs DNS requests and name resolves | |
15 | asynchronously. c-ares is a fork of the library named 'ares', written | |
16 | by Greg Hudson at MIT. | |
17 | ||
166ca016 JR |
18 | %description -l pl.UTF-8 |
19 | c-ares jest napisaną w C biblioteką do asynchronicznego wykonywania | |
20 | zapytań DNS. c-ares jest to fork biblioteki 'ares' napisanej przez | |
fb176567 AG |
21 | Grega Hudsona w MIT. |
22 | ||
23 | %package devel | |
24 | Summary: Development files for c-ares library | |
d0f05923 | 25 | Summary(pl.UTF-8): Pliki nagłówkowe dla biblioteki c-ares |
fb176567 AG |
26 | Group: Development/Libraries |
27 | Requires: %{name} = %{version}-%{release} | |
28 | ||
29 | %description devel | |
30 | Header files for c-ares library. | |
31 | ||
166ca016 JR |
32 | %description devel -l pl.UTF-8 |
33 | Pliki nagłówkowe biblioteki c-ares. | |
fb176567 AG |
34 | |
35 | %package static | |
36 | Summary: Static c-ares library | |
d0f05923 | 37 | Summary(pl.UTF-8): Statyczna biblioteka c-ares |
fb176567 AG |
38 | Group: Development/Libraries |
39 | Requires: %{name}-devel = %{version}-%{release} | |
40 | ||
41 | %description static | |
42 | Static c-ares library. | |
43 | ||
166ca016 | 44 | %description static -l pl.UTF-8 |
fb176567 AG |
45 | Statyczna biblioteka c-ares. |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
51 | %configure \ | |
52 | --enable-shared | |
53 | ||
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
0bea12c2 JB |
64 | %post -p /sbin/ldconfig |
65 | %postun -p /sbin/ldconfig | |
fb176567 AG |
66 | |
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc README README.cares CHANGES NEWS | |
70 | %attr(755,root,root) %{_libdir}/*.so.*.*.* | |
71 | ||
72 | %files devel | |
73 | %defattr(644,root,root,755) | |
74 | %attr(755,root,root) %{_libdir}/*.so | |
75 | %{_libdir}/*.la | |
76 | %{_includedir}/* | |
77 | %{_mandir}/man3/* | |
78 | ||
79 | %files static | |
80 | %defattr(644,root,root,755) | |
81 | %{_libdir}/*.a |