File perl-Crypt-Blowfish.spec of Package perl-Crypt-Blowfish

#
# spec file for package perl-Crypt-Blowfish (Version 2.10)
#
# 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


Name:           perl-Crypt-Blowfish
Version:        2.10
Release:        134
Provides:       perl_bf
Obsoletes:      perl_bf
Conflicts:      perl_cpx perl-Cryptix
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        BSD 3-Clause
Url:            http://cpan.org/modules/by-module/Crypt/
Summary:        Blowfish encryption for Perl
Source:         Crypt-Blowfish-%{version}.tar.bz2
Patch:          Crypt-Blowfish-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Blowfish Algorithm as a Perl module.



Authors:
--------
    ug@suse.de

%prep
%setup -n Crypt-Blowfish-%{version} -q
%patch

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYRIGHT Changes README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Crypt
%{perl_vendorarch}/auto/Crypt
/var/adm/perl-modules/%{name}

%changelog
* Fri Feb 10 2006 anicka@suse.cz
- remove perl-Crypt-CBC from BuildRequires
  (break the dependency cycle, CBC test will not run any more)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 anicka@suse.cz
- update to 2.10
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Wed Jun 18 2003 mjancar@suse.cz
- fix filelist
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Jan 22 2002 rvasice@suse.cz
- spec file cleanup - use predefined macros
* Thu Jan 03 2002 cihlar@suse.cz
- update to version 2.09
* Tue Mar 13 2001 cihlar@suse.cz
- reanmed perl_bf -> perl-Crypt-Blowfish
- added BuildRoot
- fixed file list
- update to version 2.06
* Thu Sep 21 2000 ro@suse.de
- fixed for perl 5.6
- bzipped source
* Tue May 23 2000 ug@suse.de
- Conflicts with perl_cpx added to spec-file
* Tue May 23 2000 ug@suse.de
- added for US distribution
openSUSE Build Service is sponsored by