]> git.pld-linux.org Git - packages/perl-Test-Signature.git/commitdiff
new spec
authorMaciej Pijanka <agaran@pld-linux.org>
Sun, 11 Apr 2004 17:45:07 +0000 (17:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Test-Signature.spec -> 1.1

perl-Test-Signature.spec [new file with mode: 0644]

diff --git a/perl-Test-Signature.spec b/perl-Test-Signature.spec
new file mode 100644 (file)
index 0000000..10845ad
--- /dev/null
@@ -0,0 +1,47 @@
+
+# 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
+Name:          perl-Test-Signature
+Version:       1.06
+Release:       1
+# same as perl
+License:       GPL/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: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:make test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Test/Signature.pm
+%{_mandir}/man3/*
This page took 0.081574 seconds and 4 git commands to generate.