]> git.pld-linux.org Git - packages/c-ares.git/blob - c-ares.spec
584b8e5fb3df4d275a23c4c4b26fd34ab128ca2c
[packages/c-ares.git] / c-ares.spec
1 Summary:        A library that performs asynchronous DNS operations
2 Summary(pl.UTF-8):      Biblioteka do wykonywania asynchronicznych zapytań DNS
3 Name:           c-ares
4 Version:        1.6.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.gz
9 # Source0-md5:  4503b0db3dd79d3c1f58d87722dbab46
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
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
21 Grega Hudsona w MIT.
22
23 %package devel
24 Summary:        Development files for c-ares library
25 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki c-ares
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28
29 %description devel
30 Header files for c-ares library.
31
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki c-ares.
34
35 %package static
36 Summary:        Static c-ares library
37 Summary(pl.UTF-8):      Statyczna biblioteka c-ares
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}-%{release}
40
41 %description static
42 Static c-ares library.
43
44 %description static -l pl.UTF-8
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
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
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 %{_pkgconfigdir}/*.pc
79
80 %files static
81 %defattr(644,root,root,755)
82 %{_libdir}/*.a
This page took 0.055647 seconds and 2 git commands to generate.