-
+#
# Conditional build:
%bcond_without tests # do perform "make test"
-
+#
%include /usr/lib/rpm/macros.perl
%define pdir Test
%define pnam Signature
Summary: Test::Signature - Automatic Signature testing
+Summary(pl): Test::Signature - automatyczne sprawdzanie sygnatur
Name: perl-Test-Signature
Version: 1.06
Release: 1
# same as perl
-License: GPL/Artistic
+License: GPL or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 23581fec6af0fb9027f90b8a0565d71a
-BuildRequires: perl-devel >= 5.6
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Module::Signature allows you to verify that a distribution has not
+Module::Signature allows you to verify that a distribution has not
been tampered with. "Test::Signature" lets that be tested as part of
the distribution's test suite.
+%description -l pl
+Module::Signature pozwala sprawdziæ, czy dystrybucyjna paczka nie
+zosta³a naruszona. Test::Signature pozwala na sprawdzenie tego jako
+czê¶æ zestawu testów dystrybucyjnych.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%{__make}
-%{?with_tests:make test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc ChangeLog Changes README
%{perl_vendorlib}/Test/Signature.pm
%{_mandir}/man3/*