SPECS: perl-Config-Crontab.spec (NEW) - initial

agaran agaran at pld-linux.org
Mon Mar 5 13:47:38 CET 2007


Author: agaran                       Date: Mon Mar  5 12:47:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-Config-Crontab.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Config-Crontab.spec
diff -u /dev/null SPECS/perl-Config-Crontab.spec:1.1
--- /dev/null	Mon Mar  5 13:47:38 2007
+++ SPECS/perl-Config-Crontab.spec	Mon Mar  5 13:47:32 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Config
+%define	pnam	Crontab
+Summary:	Config::Crontab - Read/Write Vixie compatible crontab(5) files
+Summary(pl):	Config::Crontab - Czyta/Pisze pliki kompatybilne z crontab(5) dla Vixie-cron
+Name:		perl-Config-Crontab
+Version:	1.20
+Release:	0.1
+# below one is stated in readme, not perl itself
+License:	Perl Artistic License
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	aea282c91759472f6238dac8caa761e5
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Config::Crontab provides an object-oriented interface to
+Vixie-style crontab(5) files for Perl.
+
+A Config::Crontab object allows you to manipulate an ordered set
+of Event, Env, or Comment objects (also included with this
+package). Descriptions of these packages may be found below.
+
+In short, Config::Crontab reads and writes crontab(5) files (and
+does a little pretty-printing too) using objects. The general idea is
+that you create a Config::Crontab object and associate it with a
+file (if unassociated, it will work over a pipe to crontab -l). From
+there, you can add lines to your crontab object, change existing line
+attributes, and write everything back to file.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Config/*.pm
+#%{perl_vendorlib}/Config/Crontab
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/05 12:47:32  agaran
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list