63 lines
2.0 KiB
RPMSpec
63 lines
2.0 KiB
RPMSpec
|
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
||
|
Name: perl-Convert-BER
|
||
|
Version: 1.3101
|
||
|
Release: 5mamba
|
||
|
Summary: Decodes objects as described by ITU-T standard X.209 (ASN.1) using Basic Encoding Rules (BER)
|
||
|
Group: Development/Libraries/Perl
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
Source: http://www.cpan.org/authors/id/G/GB/GBARR/Convert-BER-%{version}.tar.gz
|
||
|
URL: http://www.cpan.org
|
||
|
License: GPL
|
||
|
BuildRoot: %{_tmppath}/perl-root
|
||
|
Requires: perl >= %PERL_VERSION
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: perl-devel >= %PERL_VERSION
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
Convert::BER is a perl object class implementation to encode and decode objects as described by ITU-T standard X.209 (ASN.1) using Basic Encoding Rules (BER)
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Convert-BER-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
%make
|
||
|
%make test
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%make pure_install DESTDIR=%{buildroot}
|
||
|
|
||
|
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
|
||
|
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Convert/BER/.packlist | \
|
||
|
sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \
|
||
|
sort -u > .packlist
|
||
|
rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Convert/BER/.packlist
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
rm -f .packlist
|
||
|
|
||
|
%files -f .packlist
|
||
|
%defattr(-,root,root)
|
||
|
|
||
|
%changelog
|
||
|
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 1.3101-5mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3101-4mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Wed Jun 25 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.3101-3mamba
|
||
|
- update make macros in specfile
|
||
|
- update Vendor, Distribution, mantainer
|
||
|
|
||
|
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3101-2qilnx
|
||
|
- fixed version check on perl (>= instead of =)
|
||
|
|
||
|
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3101-1qilnx
|
||
|
- First build
|