rpms/perl-App-Cmd/devel import.log, NONE, 1.1 perl-App-Cmd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl
cweyl at fedoraproject.org
Mon Nov 17 20:28:43 UTC 2008
- Previous message (by thread): rpms/perl-Catalyst-Engine-Apache/F-9 import.log, NONE, 1.1 perl-Catalyst-Engine-Apache.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-App-Cmd/devel perl-App-Cmd.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cweyl
Update of /cvs/extras/rpms/perl-App-Cmd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8312/devel
Modified Files:
.cvsignore sources
Added Files:
import.log perl-App-Cmd.spec
Log Message:
initial commit
--- NEW FILE import.log ---
perl-App-Cmd-0_202-1_fc9:HEAD:perl-App-Cmd-0.202-1.fc9.src.rpm:1226953674
--- NEW FILE perl-App-Cmd.spec ---
Name: perl-App-Cmd
Version: 0.202
Release: 1%{?dist}
# see lib/App/Cmd.pm
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Write command line apps with less suffering
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz
Url: http://search.cpan.org/dist/App-Cmd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.06
BuildRequires: perl(IO::TieCombine) >= 1
BuildRequires: perl(Module::Pluggable::Object)
BuildRequires: perl(Sub::Exporter) >= 0.975
BuildRequires: perl(Sub::Install)
%description
App::Cmd is intended to make it easy to write complex command-line
applications without having to think about most of the annoying things
usually involved.
For information on how to start using App::Cmd, see App::Cmd::Tutorial.
%prep
%setup -q -n App-Cmd-%{version}
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
# make sure doc/tests don't generate provides
# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF
%define __perl_provides %{_builddir}/App-Cmd-%{version}/%{name}-prov
chmod +x %{__perl_provides}
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
EOF
%define __perl_requires %{_builddir}/App-Cmd-%{version}/%{name}-req
chmod +x %{__perl_requires}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Tue Nov 04 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.202-1
- update for submission
* Mon Oct 27 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.202-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-App-Cmd/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 Nov 2008 20:29:00 -0000 1.1
+++ .cvsignore 17 Nov 2008 20:28:12 -0000 1.2
@@ -0,0 +1 @@
+App-Cmd-0.202.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-App-Cmd/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Nov 2008 20:29:00 -0000 1.1
+++ sources 17 Nov 2008 20:28:12 -0000 1.2
@@ -0,0 +1 @@
+ee3f5cfa3ff96e884dc9b1f0521b6f69 App-Cmd-0.202.tar.gz
- Previous message (by thread): rpms/perl-Catalyst-Engine-Apache/F-9 import.log, NONE, 1.1 perl-Catalyst-Engine-Apache.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-App-Cmd/devel perl-App-Cmd.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-perl-devel-list
mailing list