2007-01-15 23:30:08 +00:00
|
|
|
#
|
2011-11-11 11:14:58 +00:00
|
|
|
# spec file for package perl-Convert-BER
|
2007-01-15 23:30:08 +00:00
|
|
|
#
|
2011-11-11 11:14:58 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:08 +00:00
|
|
|
#
|
2008-10-23 02:42:43 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 02:42:43 +00:00
|
|
|
|
|
|
|
Name: perl-Convert-BER
|
2011-02-02 13:47:46 +00:00
|
|
|
%define cpan_name Convert-BER
|
2010-02-18 15:49:40 +00:00
|
|
|
Version: 1.32
|
2011-11-11 11:14:58 +00:00
|
|
|
Release: 9
|
2008-10-23 02:42:43 +00:00
|
|
|
Provides: perl_ber
|
|
|
|
Obsoletes: perl_ber
|
|
|
|
AutoReqProv: on
|
2011-02-02 13:47:46 +00:00
|
|
|
Url: http://search.cpan.org/dist/%{cpan_name}
|
2011-12-06 17:39:13 +00:00
|
|
|
License: GPL-2.0+
|
2008-10-23 02:42:43 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-02-18 15:49:40 +00:00
|
|
|
Summary: ASN.1 Basic Encoding Rules
|
2011-11-17 15:24:06 +00:00
|
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
2025-08-12 18:12:42 +02:00
|
|
|
Source100: README.md
|
2008-10-23 02:42:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 13:58:52 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 10:50:38 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 13:58:52 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:30:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Convert::BER is a Perl object class implementation for encoding and
|
|
|
|
decoding objects as described by ITU-T standard X.209 (ASN.1) using
|
|
|
|
Basic Encoding Rules (BER).
|
|
|
|
|
2010-02-18 15:49:40 +00:00
|
|
|
WARNING this module is no longer supported, See Convert::ASN1
|
2007-01-15 23:30:08 +00:00
|
|
|
|
|
|
|
%prep
|
2011-02-02 13:47:46 +00:00
|
|
|
%setup -n %{cpan_name}-%{version}
|
2007-01-15 23:30:08 +00:00
|
|
|
|
|
|
|
%build
|
2010-02-18 15:49:40 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2010-01-14 17:59:41 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-02-18 15:49:40 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:08 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
2010-02-18 15:49:40 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:08 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/Convert
|
|
|
|
%{perl_vendorarch}/auto/Convert
|
|
|
|
|
2008-10-23 02:42:43 +00:00
|
|
|
%changelog
|