Author: steve Update of /cvs/pkgs/rpms/perl-Net-FTPServer/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24317/devel Modified Files: .cvsignore sources Added Files: perl-Net-FTPServer.spec Log Message: Import. --- NEW FILE perl-Net-FTPServer.spec --- Name: perl-Net-FTPServer Version: 1.122 Release: 5%{?dist} Summary: Secure, extensible and configurable Perl FTP server License: GPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Net-FTPServer/ Source0: http://www.cpan.org/authors/id/R/RW/RWMJ/Net-FTPServer-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Archive::Zip) BuildRequires: perl(Authen::PAM) BuildRequires: perl(BSD::Resource) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(DBI) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Sync) BuildRequires: perl(IO::Scalar) >= 1.126 BuildRequires: /usr/bin/uudecode BuildRequires: /usr/bin/compress BuildRequires: /usr/bin/iconv Requires: perl(Authen::PAM) Requires: perl(BSD::Resource) Requires: perl(File::Sync) Requires: perl(IO::Scalar) >= 1.126 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Net::FTPServer is a secure, extensible and configurable FTP server written in Perl. This package contains the Perl modules. Install the perl-ftpd package for the server executables. %package -n perl-ftpd Summary: Secure, extensible and configurable Perl FTP server Group: System Environment/Daemons Requires: %{name} = %{version}-%{release} %description -n perl-ftpd Net::FTPServer is a secure, extensible and configurable FTP server written in Perl. This package contains server executables. %prep %setup -q -n Net-FTPServer-%{version} iconv -f iso-8859-1 -t utf-8 README > README.tmp mv -f README.tmp README # http://rt.cpan.org/Ticket/Display.html?id=35698 perl -pi -e 's/(\&)\s*{\s*\$\s*{\s*([\w:]+)\s*}\s*{\s*(\w+)\s*}\s*}/\1\2\3/' \ lib/Net/FTPServer.pm find . -name .cvsignore -exec rm -f {} \; %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; install -m644 -D ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/ftpd.conf [ -d $RPM_BUILD_ROOT%{_bindir} ] \ && mv -f $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING FAQ README TODO doc/ %{perl_vendorlib}/* %{_mandir}/man3/* %files -n perl-ftpd %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/ftpd.conf %{_sbindir}/* %changelog * Sat May 17 2008 Steven Pritchard <steve@xxxxxxxxx> 1.122-5 - Improve descriptions. - Mark ftpd.conf config(noreplace). - Drop bin/ and ftpd.conf from main package docs. - Set permissions on ftpd.conf properly. * Fri May 09 2008 Steven Pritchard <steve@xxxxxxxxx> 1.122-4 - Add perl-ftpd subpackage. - License is really GPLv2+. * Fri May 09 2008 Steven Pritchard <steve@xxxxxxxxx> 1.122-3 - Convert README to UTF-8. * Wed May 07 2008 Steven Pritchard <steve@xxxxxxxxx> 1.122-2 - Update License tag. - BR uudecode, compress. - Fix a problem with using constants from Archive::Zip (http://rt.cpan.org/Ticket/Display.html?id=35698). - Remove both _bindir and _sbindir to be safe. * Mon Jul 16 2007 Steven Pritchard <steve@xxxxxxxxx> 1.122-1 - Specfile autogenerated by cpanspec 1.73. - Fix License and doc list. - Package scripts as examples. - BR Archive::Zip, Authen::PAM, Compress::Zlib, DBI, and File::Sync. - Require Authen::PAM and File::Sync. - Remove .cvsignore files. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Net-FTPServer/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 17 May 2008 20:25:15 -0000 1.1 +++ .cvsignore 18 May 2008 02:44:29 -0000 1.2 @@ -0,0 +1 @@ +Net-FTPServer-1.122.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Net-FTPServer/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 17 May 2008 20:25:15 -0000 1.1 +++ sources 18 May 2008 02:44:29 -0000 1.2 @@ -0,0 +1 @@ +03413e192528959775529957fdaf145b Net-FTPServer-1.122.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list