]> git.pld-linux.org Git - packages/perl-Convert-ASN1.git/commitdiff
- initial revision perl-Convert-ASN1-0_10-1
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 30 Apr 2001 14:59:01 +0000 (14:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Convert-ASN1.spec -> 1.1

perl-Convert-ASN1.spec [new file with mode: 0644]

diff --git a/perl-Convert-ASN1.spec b/perl-Convert-ASN1.spec
new file mode 100644 (file)
index 0000000..94b2614
--- /dev/null
@@ -0,0 +1,50 @@
+%define                _noautoreq "perl(Convert::ASN1::Debug)" "perl(Convert::ASN1::IO)" "perl(Convert::ASN1::_decode)" "perl(Convert::ASN1::_encode)"
+%include       /usr/lib/rpm/macros.perl
+Summary:       Convert-ASN1 perl module
+Summary(pl):   Modu³ perla Convert-ASN1
+Name:          perl-Convert-ASN1
+Version:       0.10
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Convert/Convert-ASN1-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+I consider Convert::ASN1 a replacement for my earlier Convert::BER
+module. While ASN1.pm is not as flexable as BER.pm, because PDUs must
+be described up fronta, it is also more powerful.  For example an LDAP
+filter is a recursive structure, BER.pm cannot encode or decode this in
+a single pass, ASN1.pm can.
+
+Convert::ASN1 will parse ASN.1 descriptions and will encode from and
+decode to perl data structures using a hierarchy of references.
+
+%prep
+%setup -q -n Convert-ASN1-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf ChangeLog README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz htdocs/Convert/*.html
+%dir %{perl_sitelib}/Convert/ASN1
+%{perl_sitelib}/Convert/ASN1/*.pm
+%{perl_sitelib}/Convert/ASN1.pm
+%{_mandir}/man3/*
This page took 0.102686 seconds and 4 git commands to generate.