73517a3
Summary:        Open source cryptography library
d7cb196
Name:           beecrypt
d7cb196
Version:        4.2.1
e95146b
Release:        35%{?dist}
62f6bae
License:        LGPL-2.1-or-later
9f6034e
URL:            https://beecrypt.sourceforge.net/
9f6034e
Source0:        https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
d7cb196
Patch0:         beecrypt-4.1.2-biarch.patch
d7cb196
Patch1:         beecrypt-4.2.1-no-c++.patch
c063d87
Patch2:         beecrypt-4.2.1-c99.patch
c063d87
Patch3:         beecrypt-4.2.1-autoconf-c99.patch
d7cb196
BuildRequires:  autoconf
d7cb196
BuildRequires:  automake
d7cb196
BuildRequires:  libtool
d7cb196
BuildRequires:  m4
d7cb196
BuildRequires:  gcc
d7cb196
BuildRequires:  gcc-c++
d7cb196
BuildRequires:  make
d7cb196
Obsoletes:      beecrypt-java <= 4.1.2-3
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
d7cb196
Summary:        Development files for the beecrypt toolkit and library
d7cb196
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
d7cb196
%if 0%{!?_without_apidocs:1}
2194413
%package apidocs
d7cb196
Summary:        API documentation for beecrypt toolkit and library
d7cb196
BuildRequires:  tetex-dvips
d7cb196
BuildRequires:  tetex-latex
d7cb196
BuildRequires:  graphviz
d7cb196
BuildRequires:  doxygen
2194413
2194413
%description apidocs
2194413
Beecrypt is a general-purpose cryptography library. This package contains
2194413
API documentation for developing applications with beecrypt.
d7cb196
%endif
2194413
2194413
%prep
2194413
%setup -q
Software Management Team 70e1b07
%patch -P0 -p1 -b .biarch
Software Management Team 70e1b07
%patch -P1 -p1 -b .no-c++
Software Management Team 70e1b07
%patch -P2 -p1 -b .c99
Software Management Team 70e1b07
%patch -P3 -p1 -b .autoconf-c99
fb8c3b7
libtoolize
3b8d80b
autoreconf -i
2194413
2194413
%build
501780d
%configure --with-cplusplus=no --with-java=no --with-python=no
683abdf
%make_build
7d7dad0
d7cb196
%if 0%{!?_without_apidocs:1}
7d7dad0
cd include/beecrypt
2194413
doxygen
7d7dad0
cd ../..
d7cb196
%endif
2194413
2194413
%install
683abdf
%make_install
683abdf
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
2194413
2194413
iconv -f ISO-8859-1 -t UTF-8 CONTRIBUTORS -o CONTRIBUTORS.utf8
683abdf
touch -c -r CONTRIBUTORS CONTRIBUTORS.utf8
2194413
mv -f CONTRIBUTORS.utf8 CONTRIBUTORS
2194413
431d9e6
%ldconfig_scriptlets
2194413
2194413
%files
431d9e6
%license COPYING COPYING.LIB
431d9e6
%doc AUTHORS BENCHMARKS CONTRIBUTORS NEWS README
2194413
%{_libdir}/libbeecrypt.so.*
2194413
2194413
%files devel
9f6034e
%doc BUGS
2194413
%{_includedir}/%{name}
2194413
%{_libdir}/libbeecrypt.so
2194413
d7cb196
%if 0%{!?_without_apidocs:1}
2194413
%files apidocs
2194413
%doc docs/html
d7cb196
%endif
2194413
2194413
%changelog
e95146b
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-35
e95146b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e95146b
a512a60
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-34
a512a60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a512a60
c28711f
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-33
c28711f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c28711f
c718825
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-32
c718825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
c718825
c063d87
* Thu Dec 08 2022 Peter Fordham <peter.fordham@gmail.com> - 4.2.1-31
c063d87
- Fixes for C99 conformance issues.
c063d87
ab24eaf
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-30
ab24eaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
ab24eaf
8634071
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-29
8634071
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8634071
40d1897
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-28
40d1897
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
40d1897
5810e30
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-27
5810e30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5810e30
df22734
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-26
df22734
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
df22734
ad4282f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-25
ad4282f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ad4282f
4ad2310
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-24
4ad2310
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4ad2310
c867cc6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-23
c867cc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c867cc6
501780d
* Tue Jan 15 2019 Miro HronĨok <mhroncok@redhat.com> - 4.2.1-22
501780d
- Subpackage python2-beecrypt has been removed
501780d
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
501780d
458e840
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-21
458e840
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
458e840
431d9e6
* Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> 4.2.1-20
431d9e6
- Update python 2 dependency declarations to new packaging standards,
431d9e6
  see https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
431d9e6
90525f5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-19
90525f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
90525f5
179d412
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.2.1-18
179d412
- Add Provides for the old name without %%_isa
179d412
5b70463
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.2.1-17
5b70463
- Python 2 binary package renamed to python2-beecrypt
5b70463
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
5b70463
93f674d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-16
93f674d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
93f674d
bd5cfd6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-15
bd5cfd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd5cfd6
467d9e8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-14
467d9e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
467d9e8
8de11e4
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.1-13
8de11e4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
8de11e4
a09718c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-12
a09718c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a09718c
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
431d9e6
* Wed 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
9f6034e
- update sparc64 patch
2194413
2194413
* Wed Nov 28 2007 Dennis Gilmore <dennis@ausil.us> - 4.1.2-14
9f6034e
- 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
9f6034e
- 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