]> git.pld-linux.org Git - packages/perl-MIME-Base32.git/commitdiff
- initial auto/th/perl-MIME-Base32-1_01-1
authoramateja <amateja@pld-linux.org>
Thu, 27 Aug 2009 11:48:36 +0000 (11:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-MIME-Base32.spec -> 1.1

perl-MIME-Base32.spec [new file with mode: 0644]

diff --git a/perl-MIME-Base32.spec b/perl-MIME-Base32.spec
new file mode 100644 (file)
index 0000000..3eb6530
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    MIME
+%define        pnam    Base32
+Summary:       MIME::Base32 - Base32 encoder / decoder
+Summary(pl.UTF-8): MIME::Base32 - Base32 koder / dekoder
+Name:          perl-MIME-Base32
+Version:       1.01
+Release:       1
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://search.cpan.org/CPAN/authors/id/D/DA/DANPEDER/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 2e0a1df2a73dcee749c225774cac52e7
+URL:           http://search.cpan.org/dist/MIME-Base32/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Encode data similar way like MIME::Base64 does.
+
+Main purpose is to create encrypted text used as id or key entry
+typed-or-submitted by user. It is upper/lowercase safe (not
+sensitive).
+
+%description -l pl.UTF-8
+MIME::Base32 - Base32 koder / dekoder
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{perl_vendorlib}/MIME/*.pm
+%{_mandir}/man3/*
This page took 0.161489 seconds and 4 git commands to generate.