added perl-macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-PEM?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
e4d2be6971
commit
0dca4b2ccd
14
perl-Convert-PEM.changes
Normal file
14
perl-Convert-PEM.changes
Normal file
@@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 00:37:07 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- added perl-macros
|
||||
o autogen filelist with perl_gen_filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 16:08:56 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- fixed deps
|
||||
- some spec mods
|
||||
o updated header
|
||||
o autogen filelist
|
||||
|
||||
@@ -1,57 +1,101 @@
|
||||
%define modname Convert-PEM
|
||||
Name: perl-%{modname}
|
||||
Version: 0.07
|
||||
Release: 2
|
||||
#
|
||||
# spec file for package perl-Convert-PEM
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
#Distribution: %dist
|
||||
#Packager: %packager
|
||||
#Vendor: %vendor
|
||||
|
||||
Name: perl-Convert-PEM
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Read/write encrypted ASN.1 PEM files
|
||||
Requires: perl = %{perl_version} perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
||||
Requires: perl(Class::ErrorHandler) perl(MIME::Base64)
|
||||
BuildRequires: perl perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
||||
BuildRequires: perl-Class-ErrorHandler
|
||||
Requires: perl(Digest::MD5)
|
||||
BuildRequires: perl(Digest::MD5)
|
||||
Version: 0.07
|
||||
Release: 1
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
Url: http://www.cpan.org
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
# other not perl || perl-base
|
||||
BuildRequires: perl(Class::ErrorHandler)
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
BuildRequires: perl(Convert::ASN1) >= 0.10
|
||||
BuildRequires: perl(Crypt::DES_EDE3)
|
||||
BuildRequires: perl(Digest::MD5)
|
||||
Requires: perl = %{perl_version}
|
||||
# other not perl || perl-base
|
||||
Requires: perl(Class::ErrorHandler)
|
||||
Requires: perl(MIME::Base64)
|
||||
Requires: perl(Convert::ASN1) >= 0.10
|
||||
Requires: perl(Crypt::DES_EDE3)
|
||||
Requires: perl(Digest::MD5)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%description
|
||||
Convert::PEM> reads and writes PEM files containing ASN.1-encoded objects. The
|
||||
#-------------------------------------------------------------------------------
|
||||
%{cpan_name} module for perl
|
||||
|
||||
Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The
|
||||
files can optionally be encrypted using a symmetric cipher algorithm, such as
|
||||
3DES.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Benjamin Trott <ben@rhumba.pair.com>
|
||||
Authors: Benjamin Trott <ben@rhumba.pair.com>
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
#-------------------------------------------------------------------------------
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
#-------------------------------------------------------------------------------
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
#-------------------------------------------------------------------------------
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
#-------------------------------------------------------------------------------
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
#-------------------------------------------------------------------------------
|
||||
%files -f %{name}.files
|
||||
#-------------------------------------------------------------------------------
|
||||
%defattr(-,root,root)
|
||||
%doc README Changes ToDo
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Convert/PEM
|
||||
%{perl_vendorlib}/Convert/PEM.pm
|
||||
%{perl_vendorarch}/auto/Convert/PEM
|
||||
/var/adm/perl-modules/%{name}
|
||||
%doc Changes README
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%changelog
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
* Tue Oct 31 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-2
|
||||
- Don't require perl-Digest-MD5 in openSUSE >= 10.1. It's in core now
|
||||
|
||||
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-1
|
||||
- Initial release
|
||||
|
||||
Reference in New Issue
Block a user