2007-01-15 23:30:05 +00:00
|
|
|
#
|
2007-08-05 15:36:16 +00:00
|
|
|
# spec file for package perl-Config-Crontab (Version 1.21)
|
2007-01-15 23:30:05 +00:00
|
|
|
#
|
2007-08-05 15:36:16 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:05 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Config-Crontab
|
|
|
|
%define module_name Config-Crontab
|
|
|
|
Summary: Read/Write Vixie compatible crontab files
|
2007-08-05 15:36:16 +00:00
|
|
|
Version: 1.21
|
2007-01-15 23:30:05 +00:00
|
|
|
Release: 1
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Autoreqprov: on
|
2007-08-05 15:36:16 +00:00
|
|
|
License: Artistic License, GPL v2 or later
|
2007-01-15 23:30:05 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
URL: http://search.cpan.org/~scottw/
|
|
|
|
# http://search.cpan.org/CPAN/authors/id/S/SC/SCOTTW/Config-Crontab-1.20.tar.gz
|
|
|
|
Source0: %{module_name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Scott Wiersdorf, <scott@perlcode.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{module_name}-%{version}
|
|
|
|
#%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
make
|
2007-08-05 15:36:16 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:05 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
2007-08-05 15:36:16 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:05 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/Config
|
|
|
|
%dir %{perl_vendorlib}/Config
|
|
|
|
%{perl_vendorlib}/Config/Crontab.pm
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-08-05 15:36:16 +00:00
|
|
|
%changelog
|
|
|
|
* Sun Aug 05 2007 - mrueckert@suse.de
|
|
|
|
- update to version 1.21:
|
|
|
|
minor bugfix mainly for weird behavior of "crontab -l" on debian
|
|
|
|
- minor spec file cleanup
|
2007-01-15 23:30:05 +00:00
|
|
|
* Fri Oct 20 2006 - mrueckert@suse.de
|
|
|
|
- update to version 1.20:
|
|
|
|
added remove_tab to remove crontab files.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Mon Jan 16 2006 - mrueckert@suse.de
|
|
|
|
- update to version 1.11
|
|
|
|
* Fri Jul 29 2005 - cthiel@suse.de
|
|
|
|
- update to version 1.10
|
|
|
|
* Thu Jan 29 2004 - nashif@suse.de
|
|
|
|
- Initial version for SuSE (1.03)
|