[packages/perl-Net-Rendezvous-Publish] - Initial add
caleb
caleb at pld-linux.org
Thu Sep 5 12:08:06 CEST 2013
commit a177f510459cbbe587a298df45f2b02bb7ef0ba4
Author: Caleb Maclennan <caleb at pld-linux.org>
Date: Thu Sep 5 13:07:55 2013 +0300
- Initial add
perl-Net-Rendezvous-Publish.spec | 54 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/perl-Net-Rendezvous-Publish.spec b/perl-Net-Rendezvous-Publish.spec
new file mode 100644
index 0000000..134b0c1
--- /dev/null
+++ b/perl-Net-Rendezvous-Publish.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Net
+%define pnam Rendezvous-Publish
+Summary: Net::Rendezvous::Publish - publish Rendezvous services
+Name: perl-Net-Rendezvous-Publish
+Version: 0.04
+Release: 0.1
+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: abd07bd91853f5536d6e3434c67918c3
+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::Rendezvous::Publish - publish Rendezvous services
+
+%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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{perl_vendorlib}/Net/Rendezvous/Publish
+%dir %{perl_vendorlib}/Net/Rendezvous/Publish/Backend
+%{perl_vendorlib}/Net/Rendezvous/Publish.pm
+%{perl_vendorlib}/Net/Rendezvous/Publish/Service.pm
+%{perl_vendorlib}/Net/Rendezvous/Publish/Backend/Null.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Rendezvous-Publish.git/commitdiff/a177f510459cbbe587a298df45f2b02bb7ef0ba4
More information about the pld-cvs-commit
mailing list