forked from pool/perl-Convert-ASN1
cpanspec, noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-ASN1?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
8677f360f2
commit
c79d191355
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 19:47:12 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- noarch pkg
|
||||||
|
- removed Obsoletes/Provides p_casn1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 19 08:38:25 UTC 2010 - coolo@novell.com
|
Tue Oct 19 08:38:25 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -17,53 +17,67 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Convert-ASN1
|
Name: perl-Convert-ASN1
|
||||||
|
%define cpan_name Convert-ASN1
|
||||||
|
Summary: ASN.1 Encode/Decode library
|
||||||
Version: 0.22
|
Version: 0.22
|
||||||
Release: 9
|
Release: 1
|
||||||
Provides: p_casn1
|
License: GPL+ or Artistic
|
||||||
Obsoletes: p_casn1
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic
|
Url: http://search.cpan.org/dist/Convert-ASN1/
|
||||||
Url: http://cpan.org/modules/by-module/Convert/
|
#Source: http://www.cpan.org/authors/id/G/GB/GBARR/Convert-ASN1-0.22.tar.gz
|
||||||
Summary: Convert::ASN1
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source: Convert-ASN1-%{version}.tar.bz2
|
Patch0: %{cpan_name}-0.22-path.diff
|
||||||
Patch0: Convert-ASN1-%{version}-path.diff
|
Patch1: %{cpan_name}-0.22-test.diff
|
||||||
Patch1: Convert-ASN1-%{version}-test.diff
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Convert::ASN1 converts between Perl data structures and ASN.1 encoded
|
Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER
|
||||||
packets.
|
rules.
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Graham Barr <gbarr@pobox.com>, Report bugs via
|
||||||
|
<bug-Convert-ASN1@rt.cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Convert-ASN1-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
### since 11.4 perl_process_packlist
|
||||||
|
### removes .packlist, perllocal.pod files
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%else
|
||||||
|
# do not perl_process_packlist
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||||
|
%endif
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog OldChanges README
|
%doc ChangeLog OldChanges README
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/Convert
|
|
||||||
%{perl_vendorarch}/auto/Convert
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user