]> git.pld-linux.org Git - packages/perl-Net-Rendezvous-Publish.git/commitdiff
- Initial add
authorCaleb Maclennan <caleb@pld-linux.org>
Thu, 5 Sep 2013 10:07:55 +0000 (13:07 +0300)
committerCaleb Maclennan <caleb@pld-linux.org>
Thu, 5 Sep 2013 10:07:55 +0000 (13:07 +0300)
perl-Net-Rendezvous-Publish.spec [new file with mode: 0644]

diff --git a/perl-Net-Rendezvous-Publish.spec b/perl-Net-Rendezvous-Publish.spec
new file mode 100644 (file)
index 0000000..134b0c1
--- /dev/null
@@ -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/*
This page took 0.071387 seconds and 4 git commands to generate.