[packages/perl-Growl-GNTP] - initial

arekm arekm at pld-linux.org
Tue Jun 9 20:35:39 CEST 2015


commit 3ebe067e8e4328d82d98c73be908658db1a9c6f0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 9 20:35:26 2015 +0200

    - initial

 perl-Growl-GNTP.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/perl-Growl-GNTP.spec b/perl-Growl-GNTP.spec
new file mode 100644
index 0000000..a876025
--- /dev/null
+++ b/perl-Growl-GNTP.spec
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Growl
+%define		pnam	GNTP
+%include	/usr/lib/rpm/macros.perl
+Summary:	Growl::GNTP - Perl implementation of GNTP Protocol (Client Part)
+Name:		perl-Growl-GNTP
+Version:	0.20
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Growl/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	482e242fc8d274d1138c361200e0b65d
+URL:		http://search.cpan.org/dist/Growl-GNTP/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(IO::Socket::PortState)
+BuildRequires:	perl-Crypt-CBC >= 2.29
+BuildRequires:	perl-Data-UUID >= 0.149
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Growl::GNTP is Perl implementation of GNTP Protocol (Client Part)
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%dir %{perl_vendorlib}/Growl
+%{perl_vendorlib}/Growl/GNTP.pm
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Growl-GNTP.git/commitdiff/3ebe067e8e4328d82d98c73be908658db1a9c6f0



More information about the pld-cvs-commit mailing list