SPECS: libbind.spec (NEW) - initial
arekm
arekm at pld-linux.org
Sat Mar 7 13:31:28 CET 2009
Author: arekm Date: Sat Mar 7 12:31:28 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
libbind.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libbind.spec
diff -u /dev/null SPECS/libbind.spec:1.1
--- /dev/null Sat Mar 7 13:31:28 2009
+++ SPECS/libbind.spec Sat Mar 7 13:31:23 2009
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+%define rcver rc1
+Summary: libbind provides the standard resolver library
+Name: libbind
+Version: 6.0
+Release: 0.%{rcver}.1
+License: BSD
+Group: Libraries
+Source0: ftp://ftp.isc.org:/isc/libbind/%{version}%{rcver}/%{name}-%{version}%{rcver}.tar.gz
+# Source0-md5: 6bed81bcaffa54de99c5d1b08aae7271
+URL: http://www.isc.org/software/libbind
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ISC's libbind provides the standard resolver library, along with
+header files and documentation, for communicating with domain name
+servers, retrieving network host entries from /etc/hosts or via DNS,
+converting CIDR network addresses, performing Hesiod information
+lookups, retrieving network entries from /etc/networks, implementing
+TSIG transaction/request security of DNS messages, performing
+name-to-address and address-to-name translations, and utilizing
+/etc/resolv.conf for resolver configuration.
+
+%package devel
+Summary: Header files and develpment documentation for libbind
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and libbind documentation.
+
+%package static
+Summary: Static libbind library
+Group: Development/Libraries
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static libbind library.
+
+%prep
+%setup -q -n %{name}-%{version}%{rcver}
+
+%build
+%configure \
+ --with-libtool \
+ --enable-threads \
+ --enable-shared \
+ --enable-static \
+ --includedir=%{_includedir}/%{name}
+
+%{__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 CHANGES README
+%attr(755,root,root) %{_libdir}/libbind.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbind.so.4
+%{_mandir}/man5/irs.conf.5*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbind.so
+%{_libdir}/libbind.la
+%{_includedir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libbind.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/03/07 12:31:23 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list