8
0
Files
perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.spec

75 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-Crypt-OpenSSL-Random (Version 0.04)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://search.cpan.org/dist/Crypt-OpenSSL-Random/
Name: perl-Crypt-OpenSSL-Random
BuildRequires: openssl-devel
License: Dual GPLv2 or Artistic
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Interface to OpenSSL PRNG methods
Version: 0.04
Release: 2
Source: Crypt-OpenSSL-Random-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Crypt::OpenSSL::Random is a perl Interface to OpenSSL PRNG methods
Authors:
--------
Ian Robertson, <iroberts@cpan.org>
%prep
%setup -n Crypt-OpenSSL-Random-%{version}
%build
perl Makefile.PL
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-, root, root)
%dir %{perl_vendorarch}/Crypt
%dir %{perl_vendorarch}/Crypt/OpenSSL
%{perl_vendorarch}/Crypt/OpenSSL/Random.pm
%dir %{perl_vendorarch}/auto/Crypt
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Random
%{perl_vendorarch}/auto/Crypt/OpenSSL/Random/.packlist
%{perl_vendorarch}/auto/Crypt/OpenSSL/Random/Random.bs
%{perl_vendorarch}/auto/Crypt/OpenSSL/Random/Random.so
%{perl_vendorarch}/auto/Crypt/OpenSSL/Random/autosplit.ix
%doc %{_mandir}/man3/Crypt::OpenSSL::Random.3pm.gz
/var/adm/perl-modules/perl-Crypt-OpenSSL-Random
%changelog
* Tue Jan 20 2009 varkoly@suse.de
- Initial version of perl-Crypt-OpenSSL-Random