packages: perl-Mcrypt/perl-Mcrypt.spec (NEW)=?UTF-8?Q?=20?=- initial, version 2.5.7.0

adwol adwol at pld-linux.org
Tue Feb 28 23:19:29 CET 2012


Author: adwol                        Date: Tue Feb 28 22:19:29 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, version 2.5.7.0

---- Files affected:
packages/perl-Mcrypt:
   perl-Mcrypt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Mcrypt/perl-Mcrypt.spec
diff -u /dev/null packages/perl-Mcrypt/perl-Mcrypt.spec:1.1
--- /dev/null	Tue Feb 28 23:19:29 2012
+++ packages/perl-Mcrypt/perl-Mcrypt.spec	Tue Feb 28 23:19:24 2012
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Mcrypt
+Summary:	Mcrypt - Perl extension for the Mcrypt cryptography library
+Summary(pl.UTF-8):	Mcrypt - moduł Perla do obsługi biblioteki kryptograficznej Mcrypt
+Name:		perl-Mcrypt
+Version:	2.5.7.0
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/J/JE/JESUS/%{pdir}-%{version}.tar.gz
+# Source0-md5:	f75b606e27a8297752e1a7ac8d993ae6
+URL:		http://search.cpan.org/dist/Mcrypt/
+BuildRequires:	libmcrypt-devel >= 2.5.7
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module wraps the libmcrypt encryption library for easy and
+convenient use from within perl. Encryption and decryption using a
+variety of algorithms is as easy as a few simple lines of perl.
+
+%description -l pl.UTF-8
+Moduł ten opakowuje bibliotekę libmcrypt w celu łatwego jej
+wykorzystania w Perlu.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{perl_vendorarch}/Mcrypt.pm
+%dir %{perl_vendorarch}/auto/Mcrypt
+%{perl_vendorarch}/auto/Mcrypt/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Mcrypt/*.so
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/02/28 22:19:24  adwol
+- initial, version 2.5.7.0
+
================================================================


More information about the pld-cvs-commit mailing list