# $Revision: 1.16 $, $Date: 2002/02/25 10:31:12 $ %include /usr/lib/rpm/macros.perl %define pdir File %define pnam Backup Summary: File-Backup perl module Summary(pl): Modu³ perla File-Backup Name: perl-File-Backup Version: 0.02 Release: 8 License: GPL Group: Development/Languages/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz BuildRequires: rpm-perlprov >= 3.0.3-16 BuildRequires: perl >= 5.6 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description File-Backup - For making rotating backups of directories. %description -l pl File-Backup umo¿liwia rotacjê archiwów. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build perl Makefile.PL %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %{perl_sitelib}/File/Backup.pm %{_mandir}/man3/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: perl-File-Backup.spec,v $ Revision 1.16 2002/02/25 10:31:12 depesz cleanup; revision++ Revision 1.15 2002/02/22 23:29:27 kloczek - removed all Group fields translations (oure rpm now can handle translating Group field using gettext). Revision 1.14 2002/02/13 14:12:40 depesz automatic: Source location unfied, Relase Up Revision 1.13 2002/02/10 15:26:03 depesz adapterized Revision 1.12 2002/01/18 02:14:17 kloczek perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/" Revision 1.11 2001/11/28 15:20:16 mis - buildarch noarch; release++ Revision 1.10 2001/04/17 12:08:42 baggins - release 5 - rebuild with perl 5.6.1 Revision 1.9 2001/04/14 18:00:05 baggins - removed explicit requirements for perl = %%{version} and %%{perl_sitearch} they will be added by rpm if needed Revision 1.8 2001/01/02 19:14:40 kloczek - release 4: rebuild agaunst perl 5.6 and use rpm automation. Revision 1.7 2000/06/09 07:54:46 kloczek - more %%{__make} macros. Revision 1.6 2000/06/09 07:23:36 kloczek - added using %%{__make} macro. Revision 1.5 2000/05/18 23:50:15 kloczek - spec adapterized. Revision 1.4 2000/04/01 11:15:18 zagrodzki - changed all BuildRoot definitons - removed all applnkdir defs - changed some prereqs/requires - removed duplicate empty lines Revision 1.3 2000/03/28 16:54:51 baggins - translated kloczkish into english Revision 1.2 1999/11/05 16:52:51 pius - added '%include /usr/lib/rpm/macros.perl' - modified BuildRequires rules Revision 1.1 1999/10/09 19:29:02 pius - initial release