commit 40e7c351c0d591798c7479bb5cd0ca7ef8be19f8 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Aug 9 13:42:22 2011 +0200 Initial push. .gitignore | 1 + perl-Tie-Simple.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b9e6399 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Tie-Simple-1.03.tar.gz diff --git a/perl-Tie-Simple.spec b/perl-Tie-Simple.spec new file mode 100644 index 0000000..4897921 --- /dev/null +++ b/perl-Tie-Simple.spec @@ -0,0 +1,50 @@ +Name: perl-Tie-Simple +Version: 1.03 +Release: 1%{?dist} +Summary: Variable ties made easier: much, much, much easier +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Tie-Simple/ +Source0: http://www.cpan.org/authors/id/H/HA/HANENKAMP/Tie-Simple-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Tie::Array) +BuildRequires: perl(Tie::Handle) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Tie::Scalar) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module adds the ability to quickly create new types of tie objects +without creating a complete class. It does so in such a way as to try and +make the programmers life easier when it comes to single-use ties that I +find myself wanting to use from time-to-time. + +%prep +%setup -q -n Tie-Simple-%{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 +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 08 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 1.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..50d0a8e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +198f7ec68c9b954251c4ed163ee112c7 Tie-Simple-1.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel