SPECS: perl-Net-Bonjour.spec (NEW) - builds here

agaran agaran at pld-linux.org
Mon Feb 2 20:41:59 CET 2009


Author: agaran                       Date: Mon Feb  2 19:41:58 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds here

---- Files affected:
SPECS:
   perl-Net-Bonjour.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Net-Bonjour.spec
diff -u /dev/null SPECS/perl-Net-Bonjour.spec:1.1
--- /dev/null	Mon Feb  2 20:41:59 2009
+++ SPECS/perl-Net-Bonjour.spec	Mon Feb  2 20:41:53 2009
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Net
+%define	pnam	Bonjour
+Summary:	Net::Bonjour - Module for DNS service discovery (Apple's Bonjour)
+#Summary(pl.UTF-8):	
+Name:		perl-Net-Bonjour
+Version:	0.95
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	f1c1e33a64d45fa5b14e640158fec6ae
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/Net-Bonjour/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Net-DNS >= 0.5
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::Bonjour is a set of modules that allow one to discover local services via multicast DNS (mDNS) 
+or enterprise services via traditional DNS.  This method of service discovery has been branded as 
+Bonjour by Apple Computer.
+
+The base object would be of the Net::Bonjour class.  This object contains the resolver for DNS service discovery.
+
+The base object (Net::Bonjour) will return entry objects of the class Net::Bonjour::Entry.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{perl_vendorlib}/Net/*.pm
+%dir %{perl_vendorlib}/Net/Bonjour
+%{perl_vendorlib}/Net/Bonjour/*.pm
+%{_mandir}/man3/*
+
+%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/02/02 19:41:53  agaran
+- builds here
+
================================================================


More information about the pld-cvs-commit mailing list