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}
|
# spec file for package perl-Convert-PEM
|
||||||
Version: 0.07
|
#
|
||||||
Release: 2
|
# 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
|
Summary: Read/write encrypted ASN.1 PEM files
|
||||||
Requires: perl = %{perl_version} perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
Version: 0.07
|
||||||
Requires: perl(Class::ErrorHandler) perl(MIME::Base64)
|
Release: 1
|
||||||
BuildRequires: perl perl-Convert-ASN1 perl-Crypt-DES_EDE3
|
|
||||||
BuildRequires: perl-Class-ErrorHandler
|
|
||||||
Requires: perl(Digest::MD5)
|
|
||||||
BuildRequires: perl(Digest::MD5)
|
|
||||||
License: GPL/Artistic
|
License: GPL/Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Url: http://www.cpan.org
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
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
|
%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
|
files can optionally be encrypted using a symmetric cipher algorithm, such as
|
||||||
3DES.
|
3DES.
|
||||||
|
|
||||||
Authors:
|
Authors: Benjamin Trott <ben@rhumba.pair.com>
|
||||||
--------
|
|
||||||
Benjamin Trott <ben@rhumba.pair.com>
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
#-------------------------------------------------------------------------------
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
#-------------------------------------------------------------------------------
|
||||||
make
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
make test
|
%{__make}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
#-------------------------------------------------------------------------------
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
#-------------------------------------------------------------------------------
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
#-------------------------------------------------------------------------------
|
||||||
%defattr(-, root, root)
|
%files -f %{name}.files
|
||||||
%doc README Changes ToDo
|
#-------------------------------------------------------------------------------
|
||||||
%doc %{_mandir}/man?/*
|
%defattr(-,root,root)
|
||||||
%{perl_vendorlib}/Convert/PEM
|
%doc Changes README
|
||||||
%{perl_vendorlib}/Convert/PEM.pm
|
|
||||||
%{perl_vendorarch}/auto/Convert/PEM
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
* Tue Oct 31 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-2
|
* 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
|
- 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
|
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.07-1
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|||||||
Reference in New Issue
Block a user