From fb176567b47a72c89fffcdfb2b0c89d55a2f2852 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 23 Apr 2006 15:25:21 +0000 Subject: [PATCH] - new Changed files: c-ares.spec -> 1.1 --- c-ares.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 c-ares.spec diff --git a/c-ares.spec b/c-ares.spec new file mode 100644 index 0000000..aadd9ef --- /dev/null +++ b/c-ares.spec @@ -0,0 +1,81 @@ +Summary: A library that performs asynchronous DNS operations +Summary(pl): Biblioteka do wykonywania synchronicznych zapytañ DNS +Name: c-ares +Version: 1.3.0 +Release: 1 +License: MIT +Group: Libraries +Source0: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.gz +# Source0-md5: badb4563a02d4188b478df31fa1b657d +URL: http://daniel.haxx.se/projects/c-ares/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +c-ares is a C library that performs DNS requests and name resolves +asynchronously. c-ares is a fork of the library named 'ares', written +by Greg Hudson at MIT. + +%description -l pl +c-ares jest napisan± w C bibliotek± do asnchronicznego wykonywania +zapytañ DNS. c-ares jest to fork biblioteki 'ares' napisanej przez +Grega Hudsona w MIT. + +%package devel +Summary: Development files for c-ares library +Summary: Pliki nag³ówkowe dla biblioteki c-ares +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for c-ares library. + +%description devel -l pl +Pliki nag³ówkowe biblioteki c-ares. + +%package static +Summary: Static c-ares library +Summary(pl): Statyczna biblioteka c-ares +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static c-ares library. + +%description static -l pl +Statyczna biblioteka c-ares. + +%prep +%setup -q + +%build +%configure \ + --enable-shared + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc README README.cares CHANGES NEWS +%attr(755,root,root) %{_libdir}/*.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.so +%{_libdir}/*.la +%{_includedir}/* +%{_mandir}/man3/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/*.a -- 2.43.0