File perl-Config-Crontab.spec of Package perl-Config-Crontab

#
# spec file for package perl-Config-Crontab (Version 1.21)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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
Version:        1.21
Release:        73
Requires:       perl = %{perl_version}
AutoReqProv:    on
License:        Artistic License; GPL v2 or later
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

%check
make test

%install
%perl_make_install
%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}

%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
* 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)
openSUSE Build Service is sponsored by