[perl-WebService-Rajce] Import
by Petr Pisar
commit 2ea134ce6a7df877c4e0373ebe2c2a924616722e
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Mar 2 10:51:25 2012 +0100
Import
.gitignore | 1 +
.rpmlint | 2 +
perl-WebService-Rajce.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e5c8aa3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WebService-Rajce-0.07.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..02941e3
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (cz|idnes|www)");
diff --git a/perl-WebService-Rajce.spec b/perl-WebService-Rajce.spec
new file mode 100644
index 0000000..8965dab
--- /dev/null
+++ b/perl-WebService-Rajce.spec
@@ -0,0 +1,73 @@
+Name: perl-WebService-Rajce
+Version: 0.07
+Release: 1%{?dist}
+Summary: Perl interface for www.rajce.idnes.cz
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/WebService-Rajce/
+Source0: http://www.cpan.org/authors/id/P/PE/PEK/WebService-Rajce-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Module::Build)
+# Run-time (script are not tested)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Image::Magick)
+BuildRequires: perl(WWW::Mechanize) >= 1.5
+BuildRequires: perl(XML::Simple)
+# Tests:
+BuildRequires: perl(Test::More)
+# Optional tests:
+BuildRequires: perl(Pod::Coverage) >= 0.18
+BuildRequires: perl(Test::Pod) >= 1.22
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(WWW::Mechanize) >= 1.5
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Basename|Net::Netrc|WWW::Mechanize)\\)$
+
+%description
+This is Perl library implementing an API of a photo gallery service running on
+www.rajce.idnes.cz server.
+
+%package tools
+Summary: Utilities for accessing www.rajce.idnes.cz
+License: GPL+ or Artistic
+Group: Applications/Internet
+BuildArch: noarch
+Requires: perl(File::Basename) >= 1.2
+Requires: perl(Net::Netrc) >= 1.22
+
+%description tools
+Command line tools for uploading and downloading images from a photo gallery
+service running on www.rajce.idnes.cz server.
+
+
+%prep
+%setup -q -n WebService-Rajce-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%files tools
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%changelog
+* Wed Feb 29 2012 Petr Pisar <ppisar(a)redhat.com> 0.07-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e8ce457 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1b8a5cb57db7ccc65ae1400dbee95b65 WebService-Rajce-0.07.tar.gz
12 years, 1 month
[perl-Test-Moose-More] Import
by Petr Pisar
commit 7f2a124671afa1d32d62f63fb0888aa7e75c2318
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Mar 2 10:43:13 2012 +0100
Import
.gitignore | 1 +
perl-Test-Moose-More.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f6b90b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Moose-More-0.005.tar.gz
diff --git a/perl-Test-Moose-More.spec b/perl-Test-Moose-More.spec
new file mode 100644
index 0000000..0cadf8f
--- /dev/null
+++ b/perl-Test-Moose-More.spec
@@ -0,0 +1,61 @@
+Name: perl-Test-Moose-More
+Version: 0.005
+Release: 1%{?dist}
+Summary: More tools for testing Moose packages
+License: LGPLv2+
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Test-Moose-More/
+Source0: http://www.cpan.org/authors/id/R/RS/RSRCHBOY/Test-Moose-More-%{version}.t...
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Runt-time:
+BuildRequires: perl(Moose::Util)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Sub::Exporter)
+BuildRequires: perl(Test::Builder)
+BuildRequires: perl(Test::Moose)
+BuildRequires: perl(Test::More) >= 0.88
+# Tests only:
+BuildRequires: perl(File::Find)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Moose)
+BuildRequires: perl(Moose::Role)
+BuildRequires: perl(MooseX::AttributeShortcuts)
+BuildRequires: perl(Test::Builder::Tester)
+# Optional tests:
+BuildRequires: perl(Test::Script) >= 1.05
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Test::More) >= 0.88
+
+# Removed under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::More\\)$
+
+%description
+This package contains a number of additional tests that can be employed
+against Moose classes/roles. It is intended to replace Test::Moose.
+
+%prep
+%setup -q -n Test-Moose-More-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+# README is the same as main POD
+%doc Changes LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Feb 29 2012 Petr Pisar <ppisar(a)redhat.com> 0.005-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a075ae0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+26959b7f6715008a7257edd3c09329f4 Test-Moose-More-0.005.tar.gz
12 years, 1 month
[perl-Readonly/f17] Spec clean-up
by Paul Howarth
Summary of changes:
fc90843... Spec clean-up (*)
(*) This commit already existed in another branch; no separate mail sent
12 years, 1 month
[perl-Readonly] Spec clean-up
by Paul Howarth
commit fc90843dd02a6202b61c567d2a9b1cb9d71f7bef
Author: Paul Howarth <paul(a)city-fan.org>
Date: Thu Mar 1 16:39:37 2012 +0000
Spec clean-up
- Drop -tests subpackage (general lack of interest in this), but include
them as documentation for the main package
- No need to remove empty directories from buildroot
- Add buildreqs for Perl core modules that might be dual-lived
- Fix script interpreter for test suite since we're packaging it
- Drop redundant %{?perl_default_filter}
- Don't use macros for commands
- Make %files list more explicit
- Use tabs
Readonly-1.03-interpreter.patch | 88 +++++++++++++++++++++++++
perl-Readonly.spec | 135 ++++++++++++++++++++------------------
2 files changed, 159 insertions(+), 64 deletions(-)
---
diff --git a/Readonly-1.03-interpreter.patch b/Readonly-1.03-interpreter.patch
new file mode 100644
index 0000000..ba3a812
--- /dev/null
+++ b/Readonly-1.03-interpreter.patch
@@ -0,0 +1,88 @@
+--- t/array.t
++++ t/array.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Readonly array tests
+
+--- t/deepa.t
++++ t/deepa.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Test Array vs Array1 functionality
+
+--- t/deeph.t
++++ t/deeph.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Test Hash vs Hash1 functionality
+
+--- t/deeps.t
++++ t/deeps.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Test Scalar vs Scalar1 functionality
+
+--- t/docs.t
++++ t/docs.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Examples from the docs -- make sure they work!
+
+--- t/export.t
++++ t/export.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Readonly hash tests
+
+--- t/hash.t
++++ t/hash.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Readonly hash tests
+
+--- t/readonly.t
++++ t/readonly.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Test the Readonly function
+
+--- t/reassign.t
++++ t/reassign.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Readonly reassignment-prevention tests
+
+--- t/scalar.t
++++ t/scalar.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Readonly scalar tests
+
+--- t/tie.t
++++ t/tie.t
+@@ -1,4 +1,4 @@
+-#!perl -I..
++#!/usr/bin/perl -I..
+
+ # Test the Readonly function
+
diff --git a/perl-Readonly.spec b/perl-Readonly.spec
index f1982c7..c7384b0 100644
--- a/perl-Readonly.spec
+++ b/perl-Readonly.spec
@@ -1,76 +1,83 @@
-Name: perl-Readonly
-Version: 1.03
-Release: 17%{?dist}
-Summary: Facility for creating read-only scalars, arrays, hashes
-Group: Development/Libraries
-License: GPL+ or Artistic
-URL: http://search.cpan.org/dist/Readonly/
-Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildArch: noarch
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More)
-
-# perl-Readonly-XS builds for all current fedora architectures, so let's
-# require it.
-Requires: perl(Readonly::XS)
-
-%{?perl_default_filter}
-%{?perl_default_subpackage_tests}
+Name: perl-Readonly
+Version: 1.03
+Release: 18%{?dist}
+Summary: Facility for creating read-only scalars, arrays, hashes
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Readonly/
+Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
+Patch0: Readonly-1.03-interpreter.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch: noarch
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(vars)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Speed it up since we can
+Requires: perl(Readonly::XS)
+
+# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
+Obsoletes: perl-Readonly-tests < %{version}-%{release}
+Provides: perl-Readonly-tests = %{version}-%{release}
%description
Readonly provides a facility for creating non-modifiable scalars,
-arrays, and hashes. Any attempt to modify a Readonly variable throws
+arrays, and hashes. Any attempt to modify a Readonly variable throws
an exception.
Readonly:
-* Creates scalars, arrays (not lists), and hashes.
-* Creates variables that look and work like native perl variables.
-* Creates global or lexical variables.
-* Works at runtime or compile time.
-* Works with deep or shallow data structures.
-* Prevents reassignment of Readonly variables.
+* Creates scalars, arrays (not lists), and hashes
+* Creates variables that look and work like native perl variables
+* Creates global or lexical variables
+* Works at run-time or compile-time
+* Works with deep or shallow data structures
+* Prevents reassignment of Readonly variables
%prep
%setup -q -n Readonly-%{version}
+# Fix script interpreter for test suite since we're packaging it
+%patch0
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
-
%install
rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-
-%{_fixperms} %{buildroot}/*
+%{_fixperms} %{buildroot}
-# make sure this goes where it should to be...
+# We're having this as %%doc
mv %{buildroot}%{perl_vendorlib}/benchmark.pl .
-
%check
make test
-
%clean
rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
-%doc Changes README benchmark.pl
+%doc Changes README benchmark.pl t/
%{perl_vendorlib}/Readonly.pm
-%{_mandir}/man3/*
-
+%{_mandir}/man3/Readonly.3pm*
%changelog
+* Thu Mar 1 2012 Paul Howarth <paul(a)city-fan.org> - 1.03-18
+- Drop -tests subpackage (general lack of interest in this), but include
+ them as documentation for the main package
+- No need to remove empty directories from buildroot
+- Add buildreqs for Perl core modules that might be dual-lived
+- Fix script interpreter for test suite since we're packaging it
+- Drop redundant %%{?perl_default_filter}
+- Don't use macros for commands
+- Make %%files list more explicit
+- Use tabs
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.03-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
@@ -81,17 +88,17 @@ rm -rf %{buildroot}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Dec 21 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.03-14
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.03-13
- Mass rebuild with perl-5.12.0
-* Sun Feb 21 2010 Chris Weyl <cweyl(a)alumni.drew.edu> 1.03-12
-- add perl_default_filter, etc
-- minor spec updates
+* Sun Feb 21 2010 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.03-12
+- Add perl_default_filter, etc
+- Minor spec updates
* Mon Dec 7 2009 Stepan Kasal <skasal(a)redhat.com> - 1.03-11
-- rebuild against perl 5.10.1
+- Rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -102,34 +109,34 @@ rm -rf %{buildroot}
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.03-8
- Rebuild for perl 5.10 (again)
-* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.03-7
-- rebuild for new perl
+* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.03-7
+- Rebuild for new perl
-* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.03-6.2
-- add BR: perl(Test::More)
+* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.03-6.2
+- Add BR: perl(Test::More)
-* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> 1.03-6.1
-- correct license tag
-- add BR: perl(ExtUtils::MakeMaker)
+* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.03-6.1
+- Correct license tag
+- Add BR: perl(ExtUtils::MakeMaker)
-* Wed Oct 04 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.03-6
-- add explict requires on perl(Readonly::XS). perl(Readonly::XS) is available
- for all architectures fedora supports, so there's no good reason to not
- require it.
-- spec file rework
+* Wed Oct 04 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.03-6
+- Add explict requires on perl(Readonly::XS); perl(Readonly::XS) is available
+ for all architectures Fedora supports, so there's no good reason to not
+ require it
+- Spec file rework
-* Tue Sep 19 2006 Chris Weyl <cweyl(a)alumni.drew.edu> 1.03-5
-- bump for mass rebuild
+* Tue Sep 19 2006 Chris Weyl <cweyl(a)alumni.drew.edu> - 1.03-5
+- Bump for mass rebuild
-* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-3
+* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-4
- Remove requires on perl-Readonly-XS
* Thu Dec 08 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-3
-- Fix license and BuildRequires, use %%{?_smp_mflags} with make,
+- Fix license and BuildRequires, use %%{?_smp_mflags} with make
* Sat Nov 12 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-2
-- separate out perl-Readonly-XS into its own package
-- package benchmark.pl as a doc
+- Separate out perl-Readonly-XS into its own package
+- Package benchmark.pl as a doc
* Mon Nov 7 2005 Michael A. Peters <mpeters(a)mac.com> - 1.03-1
- Initial spec file
12 years, 1 month