File mcrypt.spec of Package mcrypt
#
# spec file for package mcrypt (Version 2.6.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: mcrypt
BuildRequires: libmcrypt-devel mhash-devel zlib-devel
License: GPL v3 or later
Group: Productivity/Security
AutoReqProv: on
Version: 2.6.7
Release: 1
Summary: Replacement for the crypt Command
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-gettext.patch
Patch1: %{name}-%{version}-overflow.patch
Patch2: %{name}-%{version}-format_strings.patch
Patch3: %{name}-%{version}-uninitialized.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://mcrypt.sourceforge.net/
%description
A replacement for the old unix crypt(1) command. Mcrypt uses the
following encryption (block) algorithms: BLOWFISH, DES, TripleDES,
3-WAY, SAFER-SK64, SAFER-SK128, CAST-128, RC2 TEA (extended), TWOFISH,
RC6, IDEA, and GOST. The Unix crypt algorithm is also included to allow
compatibility with the crypt(1) command. CBC, ECB, OFB, and CFB modes
of encryption are supported.
Authors:
--------
Nikos Mavroyanopoulos <nmav@hellug.gr>
%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
%build
rm -fv ac*.m4
autoreconf --force --install
test -f po/Makevars || mv po/Makevars.template po/Makevars
%configure
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%doc doc/FORMAT doc/magic doc/sample.mcryptrc
%{_bindir}/*
%doc %{_mandir}/man1/*
%changelog
* Wed Jan 16 2008 prusnak@suse.cz
- updated to 2.6.7
* corrected bugs related to freeing mhash (const) data
* corrected bugs in the win32 random gatherer
* THE CODE IS NOW UNDER GPLv3!
* Wed Jul 18 2007 prusnak@suse.cz
- updated to 2.6.6
* corrections in getpass()
* updates in OpenPGP code
* made the OpenPGP file format the default
- fixed uninitialized variable in rfc2440.c (uninitialized.patch)
* Fri May 04 2007 prusnak@suse.cz
- updated to 2.6.5 (maintenance update)
- cleaned spec file
* Mon Apr 02 2007 rguenther@suse.de
- add zlib-devel BuildRequires
* Wed Jan 24 2007 prusnak@suse.cz
- corrected fix for buffer overflow (overflow.patch) [#238192]
* Tue May 09 2006 anicka@suse.cz
- fixed format string bug [#173839]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Apr 27 2005 meissner@suse.de
- fixed buffer overflow.
* Thu Jan 22 2004 ro@suse.de
- remove old aclocal.m4 and acinclude.m4
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Thu Jul 24 2003 tcrhak@suse.cz
- update to version 2.6.4
* Thu Jun 19 2003 ro@suse.de
- build with current gettext
* Thu Dec 19 2002 tcrhak@suse.cz
- update to version 2.6.3
* Fri Aug 16 2002 prehak@suse.cz
- mhash is no more built under mcrypt, it is a separate package now
- fixed %%files section
* Mon Aug 05 2002 prehak@suse.cz
- update to version 2.6.2
- mhash updated to version 0.8.16
- set path to includes before running of configure
* Tue Apr 02 2002 tcrhak@suse.cz
- build with new automake/autoconf
* Wed Jan 30 2002 cihlar@suse.cz
- update mcrypt to 2.5.11
- update mhash to 0.8.13
- fixed %%files
* Mon Aug 06 2001 cihlar@suse.cz
- fixed calls of autoconf, aclocal and automake
* Tue Jun 26 2001 pblaha@suse.cz
- update on 2.5.7 and mhash on 0.8.9
* Mon May 28 2001 pblaha@suse.cz
- fix include on ia64
* Fri Apr 27 2001 pblaha@suse.cz
- fixed .po files for correct locale
* Mon Oct 16 2000 pblaha@suse.cz
- update to 2.5.5 and repair czech locales
* Mon May 29 2000 bubnikv@suse.cz
- sorted
* Mon Apr 17 2000 bubnikv@suse.cz
- new package (2.5.3)