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

71 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Convert-BER (Version 1.3101)
#
# 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-BER
Version: 1.3101
Release: 328
Provides: perl_ber
Obsoletes: perl_ber
Requires: perl = %{perl_version}
AutoReqProv: on
Url: http://cpan.org/modules/by-module/Convert/
License: GPLv2+
Group: Development/Libraries/Perl
Summary: Convert::BER
Source: Convert-BER-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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).
Authors:
--------
Graham Barr <gbarr@pobox.com>
%prep
%setup -n Convert-BER-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
make test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%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
/var/adm/perl-modules/%{name}
%changelog