Name: perl-Config-Crontab
Summary: Read and write Vixie compatible crontab files
Version: 1.30
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Config-Crontab/
Description: Config::Crontab reads and writes (and pretty-prints) your crontab(5)
files. It is compatible with Vixie-style crontabs (and all subsets,
including Solaris' SysV-style crontabs).
Config::Crontab has a simple, object-oriented syntax. Crontab files are broken into "blocks" (paragraphs, each separated by two or more newlines); the Block is the basic unit of a Config::Crontab object.
You can re-order entire blocks within a crontab file, re-order lines within blocks (there are three types of lines: comments, environment settings, and crontab commands or events), remove blocks or lines within blocks, add new blocks or lines within blocks, etc. See the Config::Crontab manpage for full details.
Config::Crontab will do basic regular expression syntax checks; it won't allow obvious garbage (e.g., 'F * * * * /bin/bar' would fail since 'F' is not valid), but it won't check for nonsensical entries such as '10-2 * * * * /bin/bar' (the minute range specified is invalid). However, if you attempt to commit an invalid crontab, the 'write' method will return undef and the 'error' method will be set (with the output of crontab(1)) if the crontab is rejected by the crontab program.
The build could not start because the following file is missing: Config-Crontab-1.30.tar.gz
The build could not start because the following file is missing: Config-Crontab-1.30.tar.gz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dries # Upstream: Scott Wiersdorf <scott$mailblock,net> %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name Config-Crontab Summary: Read and write Vixie compatible crontab files Name: perl-Config-Crontab Version: 1.30 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Config-Crontab/ Source: http://www.cpan.org/modules/by-module/Config/Config-Crontab-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) %description Config::Crontab reads and writes (and pretty-prints) your crontab(5) files. It is compatible with Vixie-style crontabs (and all subsets, including Solaris' SysV-style crontabs). Config::Crontab has a simple, object-oriented syntax. Crontab files are broken into "blocks" (paragraphs, each separated by two or more newlines); the Block is the basic unit of a Config::Crontab object. You can re-order entire blocks within a crontab file, re-order lines within blocks (there are three types of lines: comments, environment settings, and crontab commands or events), remove blocks or lines within blocks, add new blocks or lines within blocks, etc. See the Config::Crontab manpage for full details. Config::Crontab will do basic regular expression syntax checks; it won't allow obvious garbage (e.g., 'F * * * * /bin/bar' would fail since 'F' is not valid), but it won't check for nonsensical entries such as '10-2 * * * * /bin/bar' (the minute range specified is invalid). However, if you attempt to commit an invalid crontab, the 'write' method will return undef and the 'error' method will be set (with the output of crontab(1)) if the crontab is rejected by the crontab program. %prep %setup -n %{real_name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; ### Clean up docs find example/ -type f -exec %{__chmod} a-x {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST META.yml README example/ %doc %{_mandir}/man3/Config::Crontab.3pm* %dir %{perl_vendorlib}/Config/ #%{perl_vendorlib}/Config/Crontab/ %{perl_vendorlib}/Config/Crontab.pm %changelog * Thu Dec 18 2008 Dag Wieers <dag@wieers.com> - 1.30-1 - Updated to release 1.30. * Wed Nov 07 2007 Dag Wieers <dag@wieers.com> - 1.21-1 - Updated to release 1.21. * Fri Jun 2 2006 Dries Verachtert <dries@ulyssis.org> - 1.20-1 - Updated to release 1.20. * Sat Jan 7 2006 Dries Verachtert <dries@ulyssis.org> - 1.11-1 - Updated to release 1.11. * Sat Dec 10 2005 Dries Verachtert <dries@ulyssis.org> - 1.10-1 - Initial package.