[perl-Growl-GNTP] Initial import (#876409).
Miroslav Hrončok
churchyard at fedoraproject.org
Sat Nov 24 22:17:26 UTC 2012
commit 8e3596e7c0a5bce3d98b5bcb047048491b393639
Author: Miro Hrončok <miro at hroncok.cz>
Date: Sat Nov 24 23:17:12 2012 +0100
Initial import (#876409).
.gitignore | 1 +
...-Growl-GNTP-0.15-3.inc-and-xt-dereference.patch | 61 ++++++++++++++++++
perl-Growl-GNTP.spec | 65 ++++++++++++++++++++
sources | 1 +
4 files changed, 128 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1ddaa26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Growl-GNTP-0.15.tar.gz
diff --git a/perl-Growl-GNTP-0.15-3.inc-and-xt-dereference.patch b/perl-Growl-GNTP-0.15-3.inc-and-xt-dereference.patch
new file mode 100644
index 0000000..80ae1b8
--- /dev/null
+++ b/perl-Growl-GNTP-0.15-3.inc-and-xt-dereference.patch
@@ -0,0 +1,61 @@
+diff -ru a/Makefile.PL b/Makefile.PL
+--- a/Makefile.PL 2010-10-16 17:00:51.000000000 +0200
++++ b/Makefile.PL 2012-11-19 18:50:56.799144883 +0100
+@@ -8,9 +8,7 @@
+ requires 'Digest::SHA' => 5.45;
+
+ tests 't/*.t';
+-author_tests 'xt';
+
+ build_requires 'Test::More';
+-use_test_base;
+ auto_include;
+ WriteAll;
+diff -ru a/MANIFEST b/MANIFEST
+--- a/MANIFEST 2011-08-09 19:42:20.000000000 +0200
++++ b/MANIFEST 2012-11-19 21:17:48.842418430 +0100
+@@ -2,23 +2,6 @@
+ examples/encryption.pl
+ examples/notify.pl
+ examples/subscribe.pl
+-inc/Module/Install.pm
+-inc/Module/Install/AuthorTests.pm
+-inc/Module/Install/Base.pm
+-inc/Module/Install/Can.pm
+-inc/Module/Install/Fetch.pm
+-inc/Module/Install/Include.pm
+-inc/Module/Install/Makefile.pm
+-inc/Module/Install/Metadata.pm
+-inc/Module/Install/TestBase.pm
+-inc/Module/Install/Win32.pm
+-inc/Module/Install/WriteAll.pm
+-inc/Spiffy.pm
+-inc/Test/Base.pm
+-inc/Test/Base/Filter.pm
+-inc/Test/Builder.pm
+-inc/Test/Builder/Module.pm
+-inc/Test/More.pm
+ lib/Growl/GNTP.pm
+ Makefile.PL
+ MANIFEST This list of files
+@@ -26,7 +9,3 @@
+ README
+ t/00_compile.t
+ t/01_simple.t
+-xt/01_podspell.t
+-xt/02_perlcritic.t
+-xt/03_pod.t
+-xt/perlcriticrc
+diff -ru a/META.yml b/META.yml
+--- a/META.yml 2012-04-09 19:06:15.000000000 +0200
++++ b/META.yml 2012-11-19 21:17:55.298385829 +0100
+@@ -16,9 +16,7 @@
+ no_index:
+ directory:
+ - examples
+- - inc
+ - t
+- - xt
+ requires:
+ Crypt::CBC: 2.29
+ Data::UUID: 0.149
diff --git a/perl-Growl-GNTP.spec b/perl-Growl-GNTP.spec
new file mode 100644
index 0000000..03bc5cb
--- /dev/null
+++ b/perl-Growl-GNTP.spec
@@ -0,0 +1,65 @@
+Name: perl-Growl-GNTP
+Version: 0.15
+Release: 4%{?dist}
+Summary: Perl implementation of GNTP Protocol (Client Part)
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Growl-GNTP/
+Source0: http://www.cpan.org/authors/id/M/MA/MATTN/Growl-GNTP-%{version}.tar.gz
+Patch0: perl-Growl-GNTP-0.15-3.inc-and-xt-dereference.patch
+BuildArch: noarch
+BuildRequires: perl(Crypt::CBC) >= 2.29
+BuildRequires: perl(Data::UUID) >= 0.149
+BuildRequires: perl(Digest::MD5) >= 2.36
+BuildRequires: perl(Digest::SHA) >= 5.45
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Module::Install)
+BuildRequires: perl(Test::More)
+BuildRequires: dos2unix
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Growl::GNTP is Perl implementation of GNTP Protocol (Client Part)
+
+%prep
+%setup -q -n Growl-GNTP-%{version}
+%patch0 -p1
+rm -rf inc xt
+dos2unix README
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Nov 20 2012 Miro Hrončok <miro at hroncok.cz> - 0.15-4
+- perl(inc::Module::Install) to perl(Module::Install)
+
+* Mon Nov 19 2012 Miro Hrončok <miro at hroncok.cz> - 0.15-3
+- Removed local inc and xs directories
+- Patched source so it doesn't need them
+- Removed lots of BR (builds in mock)
+
+* Fri Nov 16 2012 Miro Hrončok <miro at hroncok.cz> - 0.15-2
+- Removed BRs provided by perl package
+- Removed useless perl autofilter
+- Using dos2unix
+
+* Sat Sep 28 2012 Miro Hrončok <miro at hroncok.cz> 0.15-1
+- Specfile autogenerated by cpanspec 1.78 and revised.
diff --git a/sources b/sources
index e69de29..6f4d08a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+12e0588b267015d17ae258bf74874913 Growl-GNTP-0.15.tar.gz
More information about the scm-commits
mailing list