automatic version update by autodist [release 4.2.1-1mamba;Tue Aug 24 2021]
This commit is contained in:
parent
793ca695ca
commit
89190abb6e
@ -1,30 +1,26 @@
|
||||
%define libname libbeecrypt
|
||||
|
||||
Name: beecrypt
|
||||
Version: 4.1.2
|
||||
Release: 4mamba
|
||||
Version: 4.2.1
|
||||
Release: 1mamba
|
||||
Summary: Beecrypt is a general-purpose cryptography library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://sourceforge.net/projects/%{name}
|
||||
Source: http://ovh.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
||||
Source: https://downloads.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
|
||||
BuildRequires: java-environment
|
||||
BuildRequires: javapackages
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Beecrypt is a general-purpose cryptography library.
|
||||
@ -67,24 +63,33 @@ Provides: %{name}-python = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Beecrypt is a general-purpose cryptography library.
|
||||
This package contains files needed for using python with beecrypt.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--with-cplusplus=no \
|
||||
--without-python \
|
||||
%if "%{stage1}" != "1"
|
||||
--with-java \
|
||||
--with-python
|
||||
CFLAGS="%{optflags} -I%{_jvmdir}/jdk/include -I%{_jvmdir}/jdk/include/linux -I%{python3_inc}" \
|
||||
CXXFLAGS="%{optflags} -I%{_jvmdir}/jdk/include -I%{_jvmdir}/jdk/include/linux -I%{python3_inc}" \
|
||||
%endif
|
||||
|
||||
%make
|
||||
# --with-python=%{__python3} \
|
||||
|
||||
%make \
|
||||
libaltdir=%{_libdir}
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
%makeinstall \
|
||||
libaltdir=%{_libdir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
@ -112,11 +117,14 @@ This package contains files needed for using python with beecrypt.
|
||||
%{_libdir}/libbeecrypt_java.*
|
||||
%endif
|
||||
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/python%{pyver}/site-packages/*
|
||||
#%files -n python-%{name}
|
||||
#%defattr(-,root,root)
|
||||
#%{_prefix}/lib/python%{pyver}/site-packages/*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 24 2021 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.2-4mamba
|
||||
- rebuilt with python 2.7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user