rpms/perl-Spiffy/devel perl-Spiffy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Feb 28 16:06:08 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Spiffy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10838/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Spiffy.spec 
Log Message:
auto-import perl-Spiffy-0.30-4 on branch devel from perl-Spiffy-0.30-4.src.rpm


--- NEW FILE perl-Spiffy.spec ---
Name:           perl-Spiffy
Version:        0.30
Release:        4%{?dist}
Summary:        Framework for doing object oriented (OO) programming in Perl
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Spiffy/
Source0:        http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
"Spiffy" is a framework and methodology for doing object oriented (OO)
programming in Perl. Spiffy combines the best parts of Exporter.pm,
base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts
to fix all the nits and warts of traditional Perl OO, in a clean,
straightforward and (perhaps someday) standard way.

%prep
%setup -q -n Spiffy-%{version}

cat <<XXX > %{name}-prov
#!/bin/sh
%{__perl_provides} $* | sed -e '/^perl(DB)$/d'
XXX
%define __perl_provides %{_builddir}/Spiffy-%{version}/%{name}-prov
chmod +x %{__perl_provides}

%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 -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Mon Feb 27 2006 Steven Pritchard <steve at kspei.com> 0.30-4
- Drop dummy mixin.pm.

* Mon Feb 27 2006 Steven Pritchard <steve at kspei.com> 0.30-3
- Filter out Provides: perl(DB).

* Mon Feb 27 2006 Steven Pritchard <steve at kspei.com> 0.30-2
- Drop explicit Provides: mixin.
- Add dummy mixin.pm.
- Improve Summary.
- Fix Source0.

* Sat Feb 25 2006 Steven Pritchard <steve at kspei.com> 0.30-1
- Update to 0.30.
- Drop explicit perl BR.

* Wed Dec 28 2005 Steven Pritchard <steve at kspei.com> 0.24-1
- Specfile autogenerated.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Spiffy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Feb 2006 16:05:10 -0000	1.1
+++ .cvsignore	28 Feb 2006 16:06:08 -0000	1.2
@@ -0,0 +1 @@
+Spiffy-0.30.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Spiffy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Feb 2006 16:05:10 -0000	1.1
+++ sources	28 Feb 2006 16:06:08 -0000	1.2
@@ -0,0 +1 @@
+49860ccf2127c6d2af3d98560ffae644  Spiffy-0.30.tar.gz




More information about the scm-commits mailing list