From d3e571c4b161f23c49d245ab6fcbb5e64a3eecd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= msuchy@fedoraproject.org Date: Wed, 10 Sep 2008 09:06:48 +0000 Subject: Inital commit to devel branch.
--- .cvsignore | 1 + import.log | 1 + perl-Set-Crontab.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 56 insertions(+) create mode 100644 import.log create mode 100644 perl-Set-Crontab.spec
diff --git a/.cvsignore b/.cvsignore index e69de29..4333c11 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Set-Crontab-1.02.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..80e1aa0 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Set-Crontab-1_02-1:HEAD:perl-Set-Crontab-1.02-1.src.rpm:1221037558 diff --git a/perl-Set-Crontab.spec b/perl-Set-Crontab.spec new file mode 100644 index 0000000..db21ece --- /dev/null +++ b/perl-Set-Crontab.spec @@ -0,0 +1,53 @@ +Name: perl-Set-Crontab +Version: 1.02 +Release: 1%{?dist} +Summary: Expand crontab(5)-style integer lists +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Set-Crontab/ +Source0: http://www.cpan.org/modules/by-module/Set/Set-Crontab-%%7Bversion%7D.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Set::Crontab parses crontab-style lists of integers and defines some +utility functions to make it easier to deal with them. + +%prep +%setup -q -n Set-Crontab-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Jul 31 2008 Miroslav Suchý msuchy@redhat.com 1.02-1 +- Change license to "as Perl itself" + +* Sun Jun 22 2008 Michael Stahnke mastahnke@gmail.com - 1.00-1 +- Repackaging from Spacewalk repo to aid in Fedora packaging + diff --git a/sources b/sources index e69de29..6270c9a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8217113ca6ad3633a326b1dbb136f99b Set-Crontab-1.02.tar.gz