]> git.pld-linux.org Git - packages/perl-Convert-BER.git/blame - perl-Convert-BER.spec
use generic url
[packages/perl-Convert-BER.git] / perl-Convert-BER.spec
CommitLineData
04f71acd 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
d789cd59 4
5dd71bcd 5%define pdir Convert
6%define pnam BER
d789cd59 7%include /usr/lib/rpm/macros.perl
ea08d52d 8Summary: Convert::BER Perl module - ASN.1 Basic Encoding Rules
b5ac6079 9Summary(pl.UTF-8): Moduł Perla Convert::BER - podstawowe reguły kodowania ASN.1
32d58983 10Name: perl-Convert-BER
c03868cb 11Version: 1.3101
2d3d771b 12Release: 4
ea08d52d 13# same as perl
14License: GPL v1+ or Artistic
32d58983 15Group: Development/Languages/Perl
23721675 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
5896c4f2 17# Source0-md5: 00fd5e5a98d4194da0e980186cba6292
d789cd59 18URL: http://search.cpan.org/dist/Convert-BER/
562b2786 19BuildRequires: perl-devel >= 1:5.8.0
d789cd59 20BuildRequires: rpm-perlprov >= 4.1-13
04f71acd 21%if %{with tests}
26e85099 22BuildRequires: perl-Math-BigInteger
c03868cb 23%endif
53e7865d 24BuildArch: noarch
d57d09a4 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32d58983 26
27%description
ea08d52d 28Convert::BER provides an object oriented interface to encoding and
29decoding data into packets using the ASN.1 Basic Encoding Rules (BER)
32d58983 30
607e889b
JR
31%description -l pl.UTF-8
32Convert::BER udostępnia obiektowy interfejs kodowania i dekodowania
33danych przy wykorzystaniu ASN.1 BER (podstawowych reguł kodowania -
ea08d52d 34Basic Encoding Rules).
32d58983 35
36%prep
2e1240bb 37%setup -q -n %{pdir}-%{pnam}-%{version}
32d58983 38
39%build
40117703 40%{__perl} Makefile.PL \
722e2b8c 41 INSTALLDIRS=vendor
5e6e2067 42%{__make}
32d58983 43
04f71acd 44%{?with_tests:%{__make} test}
c03868cb 45
32d58983 46%install
47rm -rf $RPM_BUILD_ROOT
32d58983 48
cbd9e1f3 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
32d58983 51
32d58983 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
3cdda015 57%doc ChangeLog README
40117703 58%{perl_vendorlib}/Convert/BER.pm
32d58983 59%{_mandir}/man3/*
This page took 0.092044 seconds and 4 git commands to generate.