2007-01-15 23:31:48 +00:00
|
|
|
#
|
2011-11-18 08:31:15 +00:00
|
|
|
# spec file for package perl-Set-Crontab
|
2007-01-15 23:31:48 +00:00
|
|
|
#
|
2011-11-18 08:31:15 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:48 +00:00
|
|
|
#
|
2008-09-12 16:12:39 +00:00
|
|
|
# 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/
|
2007-01-15 23:31:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-12 16:12:39 +00:00
|
|
|
|
|
|
|
Name: perl-Set-Crontab
|
2010-07-19 13:05:10 +00:00
|
|
|
Version: 1.03
|
2011-11-11 11:22:20 +00:00
|
|
|
Release: 3
|
2008-09-12 16:12:39 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2011-12-06 17:47:02 +00:00
|
|
|
License: Artistic-1.0
|
2008-09-12 16:12:39 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Set
|
|
|
|
Summary: Expand crontab(5)-style integer lists
|
2011-11-18 08:31:15 +00:00
|
|
|
Source0: http://cpan.org/modules/by-module/Set/Set-Crontab-%{version}.tar.gz
|
2025-08-12 18:17:03 +02:00
|
|
|
Source100: README.md
|
2008-09-12 16:12:39 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:49:40 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 08:47:11 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:49:40 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:31:48 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Set::Crontab parses crontab-style lists of integers and defines some
|
|
|
|
utility functions to make it easier to deal with them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Abhijit Menon-Sen <ams@wiw.org>
|
|
|
|
|
|
|
|
%prep
|
2008-09-12 16:12:39 +00:00
|
|
|
%setup -q -n Set-Crontab-%{version}
|
2007-01-15 23:31:48 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# replace rest of /usr/local/bin/perl with /usr/bin/perl
|
|
|
|
for f in `find . -type f -exec grep -l /usr/local/bin/perl \{\} \;` ; do
|
|
|
|
rm -f tmp
|
|
|
|
sed -e "s:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:g" $f > tmp
|
|
|
|
mv -f tmp $f
|
|
|
|
done
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2008-09-12 16:12:39 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:31:48 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/Set
|
|
|
|
%{perl_vendorarch}/auto/Set
|
|
|
|
|
2008-09-12 16:12:39 +00:00
|
|
|
%changelog
|