3 %bcond_without tests # do not perform "make test"
7 Summary: Spiffy - Spiffy Perl Interface Framework For You
8 Summary(pl.UTF-8): Spiffy - szkielet interfejsu perlowego dla ciebie
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/I/IN/INGY/%{pnam}-%{version}.tar.gz
16 # Source0-md5: 2ec7007c111a6bc2775bb7c57673a24b
17 URL: https://metacpan.org/release/Spiffy
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 "Spiffy" is a Perl module interface methodology and framework. It is a
26 base class for implementing other Perl modules using author's favorite
29 %description -l pl.UTF-8
30 "Spiffy" (Spiffy Perl Interface Framework For You, czyli szkielet
31 interfejsu perlowego dla ciebie) to metodologia i szkielet interfejsu
32 modułu Perla. Jest to klasa bazowa do implementowania innych modułów
33 Perla przy użyciu ulubionych sztuczek autora.
36 %setup -q -n %{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
48 %{__make} pure_install \
49 DESTDIR=$RPM_BUILD_ROOT
51 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Spiffy.pod
52 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Spiffy/.packlist
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Spiffy.pm
61 %{perl_vendorlib}/Spiffy
62 %{_mandir}/man3/Spiffy*.3pm*