diff --git a/README.md b/README.md index e0224d7..4da45f7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Convert-BER +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) + diff --git a/perl-Convert-BER.spec b/perl-Convert-BER.spec new file mode 100644 index 0000000..747620f --- /dev/null +++ b/perl-Convert-BER.spec @@ -0,0 +1,62 @@ +%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 +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 1.3101-5mamba +- automatic rebuild by autodist + +* Tue Nov 04 2008 Silvan Calarco 1.3101-4mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 1.3101-3mamba +- update make macros in specfile +- update Vendor, Distribution, mantainer + +* Tue Feb 01 2005 Silvan Calarco 1.3101-2qilnx +- fixed version check on perl (>= instead of =) + +* Fri Apr 30 2004 Silvan Calarco 1.3101-1qilnx +- First build