Author: cweyl

Update of /cvs/extras/rpms/perl-Module-Util/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31975/F-9

Modified Files:
        .cvsignore sources 
Added Files:
        import.log perl-Module-Util.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-Module-Util-1_04-1_fc9:F-9:perl-Module-Util-1.04-1.fc9.src.rpm:1226892081


--- NEW FILE perl-Module-Util.spec ---

Name:       perl-Module-Util 
Version:    1.04 
Release:    1%{?dist}
# see lib/Module/Util.pm
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Module name tools and transformations 
Source:     
http://search.cpan.org/CPAN/authors/id/M/MA/MATTLAW/Module-Util-%{version}.tar.gz
 
Url:        http://search.cpan.org/dist/Module-Util
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(Module::Build::Compat)
BuildRequires: perl(Test::More)


%description
This module provides a few useful functions for manipulating module names.
Its main aim is to centralise some of the functions commonly used by
modules that manipulate other modules in some way, like converting module
names to relative paths.


%prep
%setup -q -n Module-Util-%{version}

# 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}/Module-Util-%{version}/%{name}-prov
chmod +x %{__perl_provides}


%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 README t/ 
%{perl_vendorlib}/*
%{_bindir}/*
%{_mandir}/man[13]/*.[13]*

%changelog
* Wed Nov 05 2008 Chris Weyl <[EMAIL PROTECTED]> 1.04-1
- clean up for submission

* Wed Nov 05 2008 Chris Weyl <[EMAIL PROTECTED]> 1.04-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Util/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore  16 Nov 2008 20:29:56 -0000      1.1
+++ .cvsignore  17 Nov 2008 03:21:57 -0000      1.2
@@ -0,0 +1 @@
+Module-Util-1.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Util/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources     16 Nov 2008 20:29:56 -0000      1.1
+++ sources     17 Nov 2008 03:21:57 -0000      1.2
@@ -0,0 +1 @@
+319cc544fe8d1328cc2bcafce803e632  Module-Util-1.04.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to