perl-Digest-SHA1/perl-Digest-SHA1.spec

114 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Digest-SHA1 (Version 2.12)
#
# 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-Digest-SHA1
Version: 2.12
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/Digest/
Summary: A Perl Interface to the SHA-1 Algorithm
Source: Digest-SHA1-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Digest::SHA1 module allows the use of the NIST SHA-1 message digest
algorithm from within Perl programs. The algorithm takes a message of
arbitrary length as input and produces a 160-bit fingerprint or message
digest of the input as output.
Authors:
--------
Peter C. Gutmann,
Uwe Hollerbach <uh@alumni.caltech.edu>,
Gisle Aas <gisle@aas.no>
%prep
%setup -n Digest-SHA1-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test
%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes README fip180-1.gif fip180-1.html
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Digest
%{perl_vendorarch}/auto/Digest
/var/adm/perl-modules/%{name}
%changelog
* Mon May 25 2009 anicka@suse.cz
- update to 2.12
* Get rid of the old CVS ids
* Avoid "redefined" error for ULONG on Win64
* Less optimizations on IRIX [RT#8999]
* Clean up the 'git status' output
* Mention that SHA-1 might be weak [RT#11880]
* Ensure more stuff in the META.yml file [RT#40757]
* Quiet warnings when compiled with -Wwrite-strings [RT#31915]
* Tue Jul 11 2006 anicka@suse.cz
- update to 2.11
- minor release
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Aug 06 2004 mjancar@suse.cz
- update to 2.10
* Thu Feb 26 2004 mjancar@suse.cz
- update to 2.07
* Tue Oct 21 2003 mjancar@suse.cz
- update to 2.06
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 24 2003 mjancar@suse.cz
- update to 2.04
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 16 2003 mjancar@suse.cz
- fix filelist
* Thu Jun 05 2003 mjancar@suse.cz
- don't package MANIFEST
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Tue Apr 29 2003 mjancar@suse.cz
- update to version 2.02
- used $RPM_OPT_FLAGS
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Jan 15 2002 rvasice@suse.cz
- update to version 2.01
* Tue Aug 14 2001 rvasice@suse.cz
- initial package release (version 2.00)