]> git.pld-linux.org Git - packages/c-ares.git/blob - c-ares.spec
- new
[packages/c-ares.git] / c-ares.spec
1 Summary:        A library that performs asynchronous DNS operations
2 Summary(pl):    Biblioteka do wykonywania synchronicznych zapytañ DNS
3 Name:           c-ares
4 Version:        1.3.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:  badb4563a02d4188b478df31fa1b657d
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
19 c-ares jest napisan± w C bibliotek± do asnchronicznego 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:        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
33 Pliki nag³ówkowe biblioteki c-ares.
34
35 %package static
36 Summary:        Static c-ares library
37 Summary(pl):    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
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
79 %files static
80 %defattr(644,root,root,755)
81 %{_libdir}/*.a
This page took 0.060083 seconds and 3 git commands to generate.