commit 1eb14c02a1e5d364bc39ea6f7d2da2ad2927bb35
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Thu Oct 10 13:16:07 2013 +0200

    - initial

 perl-Crypt-Eksblowfish.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/perl-Crypt-Eksblowfish.spec b/perl-Crypt-Eksblowfish.spec
new file mode 100644
index 0000000..15a5ad5
--- /dev/null
+++ b/perl-Crypt-Eksblowfish.spec
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Crypt
+%define                pnam    Eksblowfish
+Summary:       Crypt::Eksblowfish - the Eksblowfish block cipher
+Name:          perl-Crypt-Eksblowfish
+Version:       0.009
+Release:       1
+License:       Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d2907b00cc500fc523bf86bb427d9bb8
+URL:           http://search.cpan.org/dist/Crypt-Eksblowfish/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-Class-Mix
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Crypt::Eksblowfish - An object of this type encapsulates a keyed instance of 
the Eksblowfish block cipher, ready to encrypt and decrypt
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?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 Changes README
+%{perl_vendorarch}/Crypt/*.pm
+%dir %{perl_vendorarch}/Crypt/Eksblowfish
+%{perl_vendorarch}/Crypt/Eksblowfish/*.pm
+%dir %{perl_vendorarch}/auto/Crypt/Eksblowfish
+%{perl_vendorarch}/auto/Crypt/Eksblowfish/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Eksblowfish/Eksblowfish.so
+%{_mandir}/man3/Crypt::*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-Eksblowfish.git/commitdiff/1eb14c02a1e5d364bc39ea6f7d2da2ad2927bb35

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to