Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2c91b8e37fdc35179975248d8386c65f > files > 6

mcrypt-2.6.8-4.fc15.src.rpm

Name:		mcrypt
Version:	2.6.8
Release:	4%{?dist}
License:	GPLv3+
Group:		Applications/System
Summary:	Replacement for crypt()
URL:		http://mcrypt.sourceforge.net/
Source0:	http://download.sourceforge.net/mcrypt/mcrypt-%{version}.tar.gz
# From upstream, a combination of:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1191020&group_id=87941&atid=584895
# http://sourceforge.net/tracker/index.php?func=detail&aid=1872812&group_id=87941&atid=584895
Patch0:		mcrypt-rfc2440-bugfixes.patch
# From upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1872809&group_id=87941&atid=584895
Patch1:		mcrypt-2.6.7-format_strings.patch
# Upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1829488&group_id=87941&atid=584895
Patch2:		mcrypt-2.6.7-gaafix.patch
# Upstream:
# http://sourceforge.net/tracker/index.php?func=detail&aid=2075758&group_id=87941&atid=584895
Patch3:		mcrypt-2.6.7-native-by-default.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	libmcrypt-devel, mhash-devel, gettext, zlib-devel

%description
MCrypt is a replacement for the old crypt() package and crypt(1) command, 
with extensions. It allows developers to use a wide range of encryption 
functions, without making drastic changes to their code. It allows users 
to encrypt files or data streams without having to be cryptographers. 

%prep
%setup -q
%patch0 -p1
%patch1 -p1 -b .format_strings
%patch2 -p1 -b .gaafix
%patch3 -p1 -b .native_by_default

%build
%configure
make %{?_smp_mflags}

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

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Nov 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.6.8-1
- update to 2.6.8

* Mon Aug 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.6.7-3
- use native mcrypt format by default (not openpgp) (bz 433582)
- fix gaa
- fix format strings

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.6.7-2
- Autorebuild for GCC 4.3

* Mon Dec 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.7-1
- 2.6.7
- fix bugs in rfc2440.c (resolves bugzilla 418481)

* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.6-2
- rebuild for ppc32, license fix

* Thu Jul 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.6-1
- bump to 2.6.6
- destdir patch obsoleted upstream

* Tue Sep 12 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-3
- bump for FC-6

* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-2
- bump for FC-5

* Thu Sep 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.6.4-1
- initial package for Fedora Extras