8
0
Files
perl-Convert-ASN1/perl-Convert-ASN1.spec

69 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Convert-ASN1 (Version 0.22)
#
# Copyright (c) 2010 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
Name: perl-Convert-ASN1
Version: 0.22
Release: 2
Provides: p_casn1
Obsoletes: p_casn1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Convert/
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
%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
make %{?_smp_mflags}
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}
%changelog