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

#
# spec file for package perl-Config-Crontab (Version 1.30)
#
# Copyright (c) 2010 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.30
Release:        9
AutoReqProv:    on
License:        Artistic License .. ; GPLv2+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/perldoc?Config::Crontab
Source0:        %{module_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

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

%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make %{?jobs:-j%jobs}

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Config
%dir %{perl_vendorlib}/Config
%{perl_vendorlib}/Config/Crontab.pm

%changelog
openSUSE Build Service is sponsored by