rpms/perl-Class-Inner/F-8 perl-Class-Inner.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Fri Dec 21 11:47:12 UTC 2007


Author: xavierb

Update of /cvs/pkgs/rpms/perl-Class-Inner/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21917/F-8

Modified Files:
	sources 
Added Files:
	perl-Class-Inner.spec 
Log Message:
Import to F-8 branch.



--- NEW FILE perl-Class-Inner.spec ---
Name:           perl-Class-Inner
Version:        0.1
Release:        4%{?dist}
Summary:        A perlish implementation of Java like inner classes

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Class-Inner/
Source0:        http://search.cpan.org/CPAN/authors/id/P/PD/PDCAWLEY/Class-Inner-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Yet another implementation of an anonymous class with per object overrideable
methods, but with the added attraction of sort of working dispatch to the
parent class's method.


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


%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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Thu Dec 20 2007 Xavier Bachelot <xavier at bachelot.org> - 0.1-4
- Remove unneeded comment.
- Import into Fedora.

* Thu Dec 20 2007 Xavier Bachelot <xavier at bachelot.org> - 0.1-3
- Fix Summary, License and URL.
- Use %%{version} macro in Source.
- Properly own directory.

* Thu Dec 20 2007 Xavier Bachelot <xavier at bachelot.org> - 0.1-2
- Add missing BR:

* Tue Dec 11 2007 Xavier Bachelot <xavier at bachelot.org> - 0.1-1
- Initial build.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Inner/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Dec 2007 04:47:01 -0000	1.1
+++ sources	21 Dec 2007 11:46:26 -0000	1.2
@@ -0,0 +1 @@
+388db813c6a7050c4e0483bc4d86fc21  Class-Inner-0.1.tar.gz




More information about the fedora-extras-commits mailing list