From 793ca695ca2e2e23ea1478414ab9e475bf4543c6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:46:44 +0100 Subject: [PATCH] rebuilt with python 2.7 [release 4.1.2-4mamba;Sat May 25 2013] --- README.md | 2 + beecrypt.spec | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 beecrypt.spec diff --git a/README.md b/README.md index b87e556..4db383f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # beecrypt +Beecrypt is a general-purpose cryptography library. + diff --git a/beecrypt.spec b/beecrypt.spec new file mode 100644 index 0000000..841f5e2 --- /dev/null +++ b/beecrypt.spec @@ -0,0 +1,130 @@ +%define libname libbeecrypt + +Name: beecrypt +Version: 4.1.2 +Release: 4mamba +Summary: Beecrypt is a general-purpose cryptography library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://sourceforge.net/projects/%{name} +Source: http://ovh.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +%if "%{stage1}" != "1" +BuildRequires: libpython-devel +%endif +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +%if "%{stage1}" != "1" +BuildRequires: libicu-devel +BuildRequires: java-gcj-compat +BuildRequires: java-gcj-compat-runtime +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Beecrypt is a general-purpose cryptography library. + +%package -n %{libname} +Summary: Beecrypt is a general-purpose cryptography library +Group: System/Libraries + +%description -n %{libname} +Beecrypt is a general-purpose cryptography library. + +%package -n %{libname}-devel +Summary: Static libraries and headers for %{name} +Group: Development/Libraries +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n %{libname}-devel +Beecrypt is a general-purpose cryptography library. +This package contains static libraries and header files need for development. + +%package -n java-%{name} +Summary: Files needed for java applications using beecrypt +Group: Development/Libraries +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Provides: %{name}-java = %{?epoch:%epoch:}%{version}-%{release} + +%description -n java-%{name} +Beecrypt is a general-purpose cryptography library. +This package contains files needed for using java with beecrypt. + +%package -n python-%{name} +Summary: Files needed for python applications using beecrypt +Group: Development/Libraries +Requires: python >= %{pyver} +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Provides: %{name}-python = %{?epoch:%epoch:}%{version}-%{release} +%py_requires + +%description -n python-%{name} +Beecrypt is a general-purpose cryptography library. +This package contains files needed for using python with beecrypt. + +%prep +%setup -q + +%build +%configure \ + --enable-shared \ + --enable-static \ + --with-cplusplus=no \ +%if "%{stage1}" != "1" + --with-java \ + --with-python +%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/libbeecrypt.so.* +%doc COPYING.LIB + +%files -n %{libname}-devel +%defattr(-,root,root) +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/*.h +%{_libdir}/libbeecrypt.a +%{_libdir}/libbeecrypt.la +%{_libdir}/libbeecrypt.so +%doc AUTHORS BUGS NEWS README + +%if "%{stage1}" != "1" +%files -n java-%{name} +%defattr(-,root,root) +%{_libdir}/libbeecrypt_java.* +%endif + +%files -n python-%{name} +%defattr(-,root,root) +%{_prefix}/lib/python%{pyver}/site-packages/* + +%changelog +* Sat May 25 2013 Silvan Calarco 4.1.2-4mamba +- rebuilt with python 2.7 + +* Thu Dec 13 2007 Silvan Calarco 4.1.2-3mamba +- enable build of static library again + +* Tue Dec 04 2007 Aleph0 4.1.2-2mamba +- updated specfile + +* Wed Jan 04 2006 Davide Madrisan 4.1.2-1qilnx +- package created by autospec