2010-08-02 08:38:48 +00:00
|
|
|
#
|
2011-11-18 11:31:44 +00:00
|
|
|
# spec file for package perl-Module-Signature
|
2010-08-02 08:38:48 +00:00
|
|
|
#
|
2011-11-18 11:31:44 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-08-02 08:38:48 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Module-Signature
|
2011-12-15 09:57:31 +00:00
|
|
|
Version: 0.68
|
|
|
|
|
Release: 0
|
2010-08-02 08:38:48 +00:00
|
|
|
%define cpan_name Module-Signature
|
|
|
|
|
Summary: Module signature file manipulation
|
2011-12-14 12:13:57 +00:00
|
|
|
License: CC-BY-1.0
|
2010-08-02 08:38:48 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Url: http://search.cpan.org/dist/Module-Signature/
|
2011-12-15 09:57:31 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{version}.tar.gz
|
2010-08-02 08:38:48 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
2011-12-15 09:57:31 +00:00
|
|
|
BuildRequires: perl(IPC::Run)
|
|
|
|
|
# MANUAL BEGIN
|
|
|
|
|
BuildRequires: gpg
|
2010-08-02 08:38:48 +00:00
|
|
|
Requires: gpg
|
2011-12-15 09:57:31 +00:00
|
|
|
# MANUAL END
|
|
|
|
|
%{perl_requires}
|
2010-08-02 08:38:48 +00:00
|
|
|
|
|
|
|
|
%description
|
2011-12-15 09:57:31 +00:00
|
|
|
*Module::Signature* adds cryptographic authentications to CPAN
|
|
|
|
|
distributions, via the special _SIGNATURE_ file.
|
|
|
|
|
|
|
|
|
|
If you are a module user, all you have to do is to remember to run
|
|
|
|
|
'cpansign -v' (or just 'cpansign') before issuing 'perl Makefile.PL' or
|
|
|
|
|
'perl Build.PL'; that will ensure the distribution has not been tampered
|
|
|
|
|
with.
|
2010-08-02 08:38:48 +00:00
|
|
|
|
2011-12-15 09:57:31 +00:00
|
|
|
Module authors can easily add the _SIGNATURE_ file to the distribution
|
|
|
|
|
tarball; see the /NOTES manpage below for how to do it as part of 'make
|
|
|
|
|
dist'.
|
|
|
|
|
|
|
|
|
|
If you _really_ want to sign a distribution manually, simply add
|
|
|
|
|
'SIGNATURE' to _MANIFEST_, then type 'cpansign -s' immediately before 'make
|
|
|
|
|
dist'. Be sure to delete the _SIGNATURE_ file afterwards.
|
|
|
|
|
|
|
|
|
|
Please also see the /NOTES manpage about _MANIFEST.SKIP_ issues, especially
|
|
|
|
|
if you are using *Module::Build* or writing your own _MANIFEST.SKIP_.
|
2010-08-02 08:38:48 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-12-15 09:57:31 +00:00
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2010-08-02 08:38:48 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
2011-12-15 09:57:31 +00:00
|
|
|
%perl_process_packlist
|
2010-08-02 08:38:48 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2011-12-15 09:57:31 +00:00
|
|
|
%defattr(-,root,root,755)
|
2010-08-02 08:38:48 +00:00
|
|
|
%doc AUDREY2006.pub AUTHORS Changes PAUSE2003.pub README
|
|
|
|
|
|
|
|
|
|
%changelog
|