rpms/perl-Class-Exporter/EL-5 perl-Class-Exporter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: iburrell

Update of /cvs/pkgs/rpms/perl-Class-Exporter/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5691

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Class-Exporter.spec 
Log Message:
copy from devel


--- NEW FILE perl-Class-Exporter.spec ---
Name:           perl-Class-Exporter
Version:        0.03
Release:        2%{?dist}
Summary:        Export class methods as regular subroutines
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Class-Exporter/
Source0:        http://www.cpan.org/modules/by-module/Class/Class-Exporter-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module makes it much easier to make a module have a hybrid
object/method interface similar to the one of CGI.pm. You can take any
old module that has an object- oriented interface and convert it to
have a hybrid interface by simply adding "use base 'Class::Exporter'"
to your code.

%prep
%setup -q -n Class-Exporter-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

# fix permissions
chmod a-x README  blib/lib/Class/Exporter.pm

%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 \;


%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Feb  6 2009 Ian Burrell <ianburrell@xxxxxxxxx> - 0.03-2
- Fix spurious execute permissions

* Thu Feb 05 2009 Ian Burrell <ianburrell@xxxxxxxxx> 0.03-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Exporter/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Feb 2009 22:12:28 -0000	1.1
+++ .cvsignore	9 Feb 2009 05:36:09 -0000	1.2
@@ -0,0 +1 @@
+Class-Exporter-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Exporter/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Feb 2009 22:12:28 -0000	1.1
+++ sources	9 Feb 2009 05:36:09 -0000	1.2
@@ -0,0 +1 @@
+cdc6f47258c20c94f3b8abea6996a3c3  Class-Exporter-0.03.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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux