2007-01-15 23:30:07 +00:00
|
|
|
#
|
2008-10-06 15:16:03 +00:00
|
|
|
# spec file for package perl-Convert-ASN1 (Version 0.22)
|
2007-01-15 23:30:07 +00:00
|
|
|
#
|
2010-01-12 11:07:37 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:07 +00:00
|
|
|
#
|
2008-10-06 15:16:03 +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.
|
|
|
|
|
2007-01-15 23:30:07 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-06 15:16:03 +00:00
|
|
|
|
2007-01-15 23:30:07 +00:00
|
|
|
Name: perl-Convert-ASN1
|
2008-10-06 15:16:03 +00:00
|
|
|
Version: 0.22
|
2010-10-19 10:50:37 +00:00
|
|
|
Release: 9
|
2007-01-15 23:30:07 +00:00
|
|
|
Provides: p_casn1
|
|
|
|
Obsoletes: p_casn1
|
|
|
|
Requires: perl = %{perl_version}
|
2008-10-06 15:16:03 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:30:07 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-01-12 11:07:37 +00:00
|
|
|
License: Artistic
|
2008-10-06 15:16:03 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Convert/
|
2007-01-15 23:30:07 +00:00
|
|
|
Summary: Convert::ASN1
|
|
|
|
Source: Convert-ASN1-%{version}.tar.bz2
|
|
|
|
Patch0: Convert-ASN1-%{version}-path.diff
|
|
|
|
Patch1: Convert-ASN1-%{version}-test.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-19 10:50:32 +00:00
|
|
|
BuildRequires: perl
|
2007-01-15 23:30:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Convert::ASN1 converts between Perl data structures and ASN.1 encoded
|
|
|
|
packets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Convert-ASN1-%{version}
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 11:07:37 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:30:07 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog OldChanges README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/Convert
|
|
|
|
%{perl_vendorarch}/auto/Convert
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2008-10-06 15:16:03 +00:00
|
|
|
%changelog
|