2194413
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2194413
2194413
Summary:	An open source cryptography library
2194413
Name:		beecrypt
7d7dad0
Version:	4.2.1
c714cdc
Release:	11%{?dist}
2194413
License:	LGPLv2+
2194413
Group:		System Environment/Libraries
2194413
URL:		http://beecrypt.sourceforge.net/
7d7dad0
Source:		http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
7d7dad0
Patch0:		beecrypt-4.1.2-biarch.patch
7d7dad0
Patch1:		beecrypt-4.2.1-no-c++.patch
2194413
BuildRequires:	autoconf, automake, libtool
2194413
BuildRequires:	tetex-dvips, tetex-latex, graphviz
2194413
BuildRequires:	doxygen, m4, python-devel
2194413
Obsoletes:	beecrypt-java <= 4.1.2-3
2194413
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2194413
2194413
%description
2194413
BeeCrypt is an ongoing project to provide a strong and fast cryptography
2194413
toolkit. Includes entropy sources, random generators, block ciphers, hash
2194413
functions, message authentication codes, multiprecision integer routines
2194413
and public key primitives.
2194413
2194413
%package devel
2194413
Summary:	Development files for the beecrypt toolkit and library
2194413
Group:		Development/Libraries
b94d3d0
Requires:	%{name}%{?_isa} = %{version}-%{release}
2194413
2194413
%description devel
2194413
The beecrypt-devel package includes header files and libraries necessary
2194413
for developing programs which use the beecrypt C toolkit and library. And
2194413
beecrypt is a general-purpose cryptography library.
2194413
2194413
%package apidocs
2194413
Summary:	API documentation for beecrypt toolkit and library
2194413
Group:		Documentation
2194413
2194413
%description apidocs
2194413
Beecrypt is a general-purpose cryptography library. This package contains
2194413
API documentation for developing applications with beecrypt.
2194413
2194413
%package python
2194413
Summary:	Files needed for python applications using beecrypt
2194413
Group:		Development/Libraries
b94d3d0
Requires:	%{name}%{?_isa} = %{version}-%{release}
2194413
2194413
%description python
2194413
Beecrypt is a general-purpose cryptography library. This package contains
2194413
files needed for using python with beecrypt.
2194413
2194413
%prep
2194413
%setup -q
7d7dad0
%patch0 -p1 -b .biarch
7d7dad0
%patch1 -p1 -b .no-c++
fb8c3b7
libtoolize
3b8d80b
autoreconf -i
2194413
2194413
%build
2194413
%configure --with-cplusplus=no --with-java=no
2194413
make %{?_smp_mflags} pythondir=%{python_sitelib}
7d7dad0
7d7dad0
cd include/beecrypt
2194413
doxygen
7d7dad0
cd ../..
2194413
2194413
%install
2194413
rm -rf $RPM_BUILD_ROOT
2194413
make DESTDIR=$RPM_BUILD_ROOT pythondir=%{python_sitelib} install
2194413
rm -f $RPM_BUILD_ROOT{%{_libdir},%{python_sitelib}}/*.{a,la}
2194413
2194413
iconv -f ISO-8859-1 -t UTF-8 CONTRIBUTORS -o CONTRIBUTORS.utf8
2194413
mv -f CONTRIBUTORS.utf8 CONTRIBUTORS
2194413
2194413
%clean
2194413
rm -rf $RPM_BUILD_ROOT
2194413
2194413
%post -p /sbin/ldconfig
2194413
2194413
%postun -p /sbin/ldconfig
2194413
2194413
%files
7d7dad0
%defattr(-,root,root,-)
2194413
%doc AUTHORS BENCHMARKS CONTRIBUTORS
2194413
%doc COPYING COPYING.LIB NEWS README
2194413
%{_libdir}/libbeecrypt.so.*
2194413
2194413
%files devel
7d7dad0
%defattr(-,root,root,-)
2194413
%doc BUGS 
2194413
%{_includedir}/%{name}
2194413
%{_libdir}/libbeecrypt.so
2194413
2194413
%files apidocs
7d7dad0
%defattr(-,root,root,-)
2194413
%doc docs/html
2194413
2194413
%files python
7d7dad0
%defattr(-,root,root,-)
2194413
%{python_sitelib}/_bc.so
2194413
2194413
%changelog
c714cdc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-11
c714cdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c714cdc
bd60fe7
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-10
bd60fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bd60fe7
8a54d1b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-9
8a54d1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8a54d1b
a308aa0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-8
a308aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a308aa0
3b8d80b
* Sat Feb 23 2013 Robert Scheck <robert@fedoraproject.org> 4.2.1-7
3b8d80b
- Made autoreconf copying the missing auxiliary files (#913900)
3b8d80b
bdcd87c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-6
bdcd87c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bdcd87c
a7fe1b7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-5
a7fe1b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7fe1b7
5b16028
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-4
5b16028
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5b16028
88c9caf
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-3
88c9caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
88c9caf
4cb08a9
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 4.2.1-2
4cb08a9
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
4cb08a9
7d7dad0
* Sun Mar 28 2010 Robert Scheck <robert@fedoraproject.org> 4.2.1-1
7d7dad0
- Upgrade to 4.2.1
7d7dad0
00d4078
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.2-20
00d4078
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
00d4078
9da94f9
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 4.1.2-19
9da94f9
- Rebuild for gcc 4.4 and rpm 4.6
9da94f9
fb8c3b7
* Sun Dec 07 2008 Robert Scheck <robert@fedoraproject.org> 4.1.2-18
fb8c3b7
- Rebuild for python 2.6 and libtool 2.2
fb8c3b7
2194413
* Tue May 20 2008 Robert Scheck <robert@fedoraproject.org> 4.1.2-17
2194413
- Removed -fomit-frame-pointer to fix debuginfo (#438262 #c5)
2194413
- Disabled beecrypt-java subpackage again (#151294, #438262 #c6)
2194413
2194413
* Thu Mar 19 2008 Robert Scheck <robert@fedoraproject.org> 4.1.2-16
2194413
- Changes to match with Fedora Packaging Guidelines (#438262)
2194413
2194413
* Thu Nov 29 2007 Dennis Gilmore <dennis@ausil.us> - 4.1.2-15
2194413
- update sparc64 patch  
2194413
2194413
* Wed Nov 28 2007 Dennis Gilmore <dennis@ausil.us> - 4.1.2-14
2194413
- add patch so sparc64 gets lib64 
2194413
2194413
* Wed Aug 22 2007 Panu Matilainen <pmatilai@redhat.com> - 4.1.2-13
2194413
- avoid linking against libstdc++ (#165080)
2194413
- fix debuginfo contents by building with -g (#250035)
2194413
- autoreconf needed for the above, buildrequire autoconf, automake + libtool
2194413
- include api documentation in apidocs subpackage
2194413
- buildrequire graphviz for generating graphics in apidocs
2194413
- license clarification
2194413
2194413
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 4.1.2-12
2194413
- rebuild against python 2.5
2194413
- follow python packaging guidelines 
2194413
2194413
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.1.2-10.1.1
2194413
- rebuild
2194413
2194413
* Tue Jun 27 2006 Paul Nasrat <pnasrat@redhat.com> - 4.1.2-10.1
2194413
- Fix missing BR
2194413
2194413
* Mon May 22 2006 Paul Nasrat <pnasrat@redhat.com> - 4.1.2-10
2194413
- Make multilib-devel work
2194413
2194413
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.2-9.2.1
2194413
- bump again for double-long bug on ppc(64)
2194413
2194413
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.2-9.2
2194413
- rebuilt for new gcc4.1 snapshot and glibc changes
2194413
2194413
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2194413
- rebuilt
2194413
2194413
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
2194413
- Use -with-cplusplus=no. The libs still require libstdc++, so
2194413
  this needs further cleanup.
2194413
2194413
* Tue May 17 2005 Miloslav Trmac <mitr@redhat.com> - 4.1.2-8
2194413
- Remove dependencies on private symbols not present in Python 2.4 from
2194413
  beecrypt-python
2194413
2194413
* Tue May 17 2005 Miloslav Trmac <mitr@redhat.com> - 4.1.2-7
2194413
- Doh, actually apply the patch
2194413
2194413
* Tue May 17 2005 Miloslav Trmac <mitr@redhat.com> - 4.1.2-6
2194413
- Fix b64encode() for data starting with NUL (#123650)
2194413
2194413
* Fri Apr 01 2005 Warren Togami <wtogami@redhat.com> 4.1.2-5
2194413
- remove huge API docs
2194413
2194413
* Fri Apr 01 2005 Paul Nasrat <pnasrat@redhat.com> 4.1.2-4
2194413
- Obsolete older beecrypt-java
2194413
2194413
* Tue Mar 29 2005 Paul Nasrat <pnasrat@redhat.com> 4.1.2-3
2194413
- Disable beecrypt-java (#151294)
2194413
2194413
* Fri Mar  4 2005 Jeff Johnson <jbj@redhat.com> 4.1.2-2
2194413
- rebuild with gcc4.
2194413
2194413
* Sat Feb  5 2005 Jeff Johnson <jbj@jbj.org> 4.1.2-1
2194413
- upgrade to 4.1.2
2194413
- put java components in sub-package.
2194413
- check that /usr/lib64 is not used on alpha (#146583).
2194413
2194413
* Fri Feb  4 2005 Miloslav Trmac <mitr@redhat.com> - 3.1.0-7
2194413
- Rebuild against Python 2.4
2194413
2194413
* Sun Aug 08 2004 Alan Cox <alan@redhat.com> 3.1.0-6
2194413
- Build requires libtool (Steve Grubb)
2194413
2194413
* Fri Jul 02 2004 Elliot Lee <sopwith@redhat.com> 3.1.0-5
2194413
- rebuilt
2194413
- Add _smp_mflags
2194413
2194413
* Wed Mar 24 2004 Jeff Johnson <jbj@redhat.com> 3.1.0-3
2194413
- fix: extgcd_w problem fixed by upgrading from CVS.
2194413
2194413
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
2194413
- rebuilt
2194413
2194413
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
2194413
- rebuilt
2194413
2194413
* Mon Dec 22 2003 Jeff Johnson <jbj@jbj.org> 3.1.0-1
2194413
- upgrade to 3.1.0.
2194413
- recompile against python-2.3.3.
2194413
2194413
* Mon Jun 30 2003 Jeff Johnson <jbj@redhat.com> 3.0.1-0.20030630
2194413
- upstream fixes for DSA and ppc64.
2194413
2194413
* Mon Jun 23 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-2
2194413
- upgrade to 3.0.0 final.
2194413
- fix for DSA (actually, modulo inverse) sometimes failing.
2194413
2194413
* Fri Jun 20 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030619
2194413
- avoid asm borkage on ppc64.
2194413
2194413
* Thu Jun 19 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030618
2194413
- rebuild for release bump.
2194413
2194413
* Tue Jun 17 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030616
2194413
- try to out smart libtool a different way.
2194413
- use $bc_target_cpu, not $bc_target_arch, to detect /usr/lib64.
2194413
2194413
* Mon Jun 16 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030615
2194413
- use -mcpu=powerpc64 on ppc64.
2194413
2194413
* Fri Jun 13 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030613
2194413
- upgrade to latest snapshot.
2194413
2194413
* Fri Jun  6 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-1.20030605
2194413
- rebuild into another tree.
2194413
2194413
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
2194413
- rebuilt
2194413
2194413
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030603
2194413
- update to 3.0.0 snapshot, fix mpmod (and DSA) on 64b platforms.
2194413
2194413
* Mon Jun  2 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030602
2194413
- update to 3.0.0 snapshot, merge patches, fix gcd rshift and ppc problems.
2194413
2194413
* Thu May 29 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030529
2194413
- update to 3.0.0 snapshot, fix ia64/x86_64 build problems.
2194413
2194413
* Wed May 28 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030528
2194413
- upgrade to 3.0.0 snapshot, adding rpm specific base64.[ch] changes.
2194413
- add PYTHONPATH=.. so that "make check" can test the just built _bc.so module.
2194413
- grab cpuinfo and run "make bench".
2194413
- continue ignoring "make check" failures, LD_LIBRARY_PATH needed for _bc.so.
2194413
- skip asm build failure on ia64 for now.
2194413
- ignore "make bench" exit codes too, x86_64 has AES segfault.
2194413
2194413
* Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030521
2194413
- upgrade to 3.0.0 snapshot, including python subpackage.
2194413
- ignore "make check" failure for now.
2194413
2194413
* Fri May 16 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030516
2194413
- upgrade to 3.0.0 snapshot, including ia64 and x86_64 fixes.
2194413
- add %%check.
2194413
- ignore "make check" failure on ia64 for now.
2194413
2194413
* Mon May 12 2003 Jeff Johnson <jbj@redhat.com> 3.0.0-0.20030512
2194413
- upgrade to 3.0.0 snapshot.
2194413
- add doxygen doco.
2194413
- use /dev/urandom as default entropy source.
2194413
- avoid known broken compilation for now.
2194413
2194413
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
2194413
- rebuilt
2194413
2194413
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
2194413
- rebuild on all arches
2194413
2194413
* Fri Aug  2 2002 Jeff Johnson <jbj@redhat.com> 2.2.0-6
2194413
- install types.h (#68999).
2194413
2194413
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
2194413
- automated rebuild
2194413
2194413
* Wed Jun  5 2002 Jeff Johnson <jbj@redhat.com>
2194413
- run ldconfig when installing/erasing (#65974).
2194413
2194413
* Thu May 23 2002 Tim Powers <timp@redhat.com>
2194413
- automated rebuild
2194413
2194413
* Mon May 13 2002 Jeff Johnson <jbj@redhat.com>
2194413
- upgrade to latest 2.2.0 (from cvs.rpm.org).
2194413
2194413
* Mon Jan 21 2002 Jeff Johnson <jbj@redhat.com>
2194413
- use the same beecrypt-2.2.0 that rpm is using internally.
2194413
2194413
* Thu Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.0-1
2194413
- initial package