]> git.pld-linux.org Git - packages/c-ares.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 23 Apr 2006 15:25:21 +0000 (15:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    c-ares.spec -> 1.1

c-ares.spec [new file with mode: 0644]

diff --git a/c-ares.spec b/c-ares.spec
new file mode 100644 (file)
index 0000000..aadd9ef
--- /dev/null
@@ -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
This page took 0.276366 seconds and 4 git commands to generate.