[packages/perl-Crypt-GCrypt] - initial
arekm
arekm at pld-linux.org
Wed Dec 11 14:03:24 CET 2013
commit 0466ff8cb8b69b69a8c326819c2068bc5bbdc798
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Dec 11 14:03:11 2013 +0100
- initial
perl-Crypt-GCrypt.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/perl-Crypt-GCrypt.spec b/perl-Crypt-GCrypt.spec
new file mode 100644
index 0000000..a1de030
--- /dev/null
+++ b/perl-Crypt-GCrypt.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests # Do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Crypt
+%define pnam GCrypt
+Summary: Crypt::GCrypt - Perl interface to the GNU Cryptographic library
+Name: perl-Crypt-GCrypt
+Version: 1.26
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d23084ed878e5d12d4956c39e6f2b813
+URL: http://search.cpan.org/dist/Crypt-GCrypt/
+BuildRequires: libgcrypt-devel
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Crypt::GCrypt provides an object interface to the C libgcrypt library.
+It currently supports symmetric encryption/decryption and message
+digests, while asymmetric cryptography is being worked on.
+
+%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 Changelog README
+%{perl_vendorarch}/Crypt/GCrypt.pm
+%{perl_vendorarch}/Crypt/GCrypt
+%dir %{perl_vendorarch}/auto/Crypt/GCrypt
+%{perl_vendorarch}/auto/Crypt/GCrypt/GCrypt.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/GCrypt/GCrypt.so
+%{_mandir}/man3/Crypt::GCrypt*.3*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-GCrypt.git/commitdiff/0466ff8cb8b69b69a8c326819c2068bc5bbdc798
More information about the pld-cvs-commit
mailing list