rpms/libbind/devel libbind.spec, NONE, 1.1 libbind60-install.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Adam Tkac atkac at fedoraproject.org
Mon Mar 9 13:44:52 UTC 2009


Author: atkac

Update of /cvs/pkgs/rpms/libbind/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26002

Modified Files:
	.cvsignore sources 
Added Files:
	libbind.spec libbind60-install.patch 
Log Message:
- initial import of libbind



--- NEW FILE libbind.spec ---
%define PREVER b1
%define VERSION %{version}%{PREVER}

Name:		libbind
Version:	6.0
Release:	0.3.%{PREVER}%{?dist}
Summary:	ISC's standard resolver library

Group:		System Environment/Libraries
License:	ISC
URL:		ftp://ftp.isc.org/isc/libbind/
Source0:	ftp://ftp.isc.org/isc/libbind/%{VERSION}/libbind-%{VERSION}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	groff

Patch0:		libbind60-install.patch

%description
ISC's libbind provides the standard resolver library,
for communicating with domain name servers, retrieving network host
entries from /etc/hosts or via DNS, converting CIDR network
addresses, perform Hesiod information lookups, retrieve network
entries from /etc/networks, implement TSIG transaction/request
security of DNS messages, perform name-to-address and
address-to-name translations, utilize /etc/resolv.conf
for resolver configuration

%package devel
Summary:	Header files for ISC's libbind
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description devel
libbind-devel provides header files and documentation for development with
ISC's libbind

%prep
%setup -q -n libbind-%{VERSION}

%patch0 -p1 -b .install

%build
%configure --with-libtool --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT includedir=%{_includedir}/bind

# We don't want this...
rm -f $RPM_BUILD_ROOT/%{_libdir}/libbind.la
rm -rf $RPM_BUILD_ROOT/%{_mandir}/cat{3,5,7}

# libbind manpages has traditionally libbind_* prefix

# section 3
for all in getaddrinfo getipnodebyname gethostbyname getnameinfo getnetent \
	hesiod inet_cidr resolver tsig; do
	oldname=$RPM_BUILD_ROOT/%{_mandir}/man3/$all.3
	newname=$RPM_BUILD_ROOT/%{_mandir}/man3/libbind_$all.3
	cp -p $oldname $newname
	rm -f $oldname
done

# section 5
for all in irs.conf resolver; do
	oldname=$RPM_BUILD_ROOT/%{_mandir}/man5/$all.5
	newname=$RPM_BUILD_ROOT/%{_mandir}/man5/libbind_$all.5
	cp -p $oldname $newname
	rm -f $oldname
done

# section 7
for all in hostname; do
	oldname=$RPM_BUILD_ROOT/%{_mandir}/man7/$all.7
	newname=$RPM_BUILD_ROOT/%{_mandir}/man7/libbind_$all.7
	cp -p $oldname $newname
	rm -f $oldname
done

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc CHANGES COPYRIGHT README
%{_libdir}/libbind.so.4
%{_libdir}/libbind.so.4.2.0

%files devel
%defattr(-,root,root,-)
%{_libdir}/libbind.so
%{_includedir}/bind
%{_mandir}/man3/libbind_*
%{_mandir}/man5/libbind_*
%{_mandir}/man7/libbind_*

%changelog
* Mon Mar 02 2009 Adam Tkac <atkac redhat com> 6.0-0.3.b1
- removed unneeded Obsoletes/Provides

* Thu Feb 19 2009 Adam Tkac <atkac redhat com> 6.0-0.2.b1
- package review related fixes

* Mon Feb 02 2009 Adam Tkac <atkac redhat com> 6.0-0.1.b1
- initial package

libbind60-install.patch:

--- NEW FILE libbind60-install.patch ---
diff -up libbind-6.0b1/Makefile.in.install libbind-6.0b1/Makefile.in
--- libbind-6.0b1/Makefile.in.install	2009-02-02 16:36:05.000000000 +0100
+++ libbind-6.0b1/Makefile.in	2009-02-02 16:36:13.000000000 +0100
@@ -118,7 +118,7 @@ installdirs:
 	$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
 
 install:: timestamp installdirs
-	${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind. at A@ ${DESTDIR}${libdir}
+	${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} libbind. at A@ ${DESTDIR}${libdir}
 
 clean distclean::
 	rm -f libbind. at SA@ libbind.la


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libbind/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Mar 2009 20:11:06 -0000	1.1
+++ .cvsignore	9 Mar 2009 13:44:21 -0000	1.2
@@ -0,0 +1 @@
+libbind-6.0b1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libbind/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Mar 2009 20:11:06 -0000	1.1
+++ sources	9 Mar 2009 13:44:22 -0000	1.2
@@ -0,0 +1 @@
+c54fa30a0051d604bc4a8a9242b4604a  libbind-6.0b1.tar.gz




More information about the fedora-extras-commits mailing list