rebuilt with python 2.7 [release 4.1.2-4mamba;Sat May 25 2013]
This commit is contained in:
parent
4fd5df129c
commit
793ca695ca
130
beecrypt.spec
Normal file
130
beecrypt.spec
Normal file
@ -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 <aleph0@openmamba.org>
|
||||
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 <silvan.calarco@mambasoft.it> 4.1.2-4mamba
|
||||
- rebuilt with python 2.7
|
||||
|
||||
* Thu Dec 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.2-3mamba
|
||||
- enable build of static library again
|
||||
|
||||
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 4.1.2-2mamba
|
||||
- updated specfile
|
||||
|
||||
* Wed Jan 04 2006 Davide Madrisan <davide.madrisan@qilinux.it> 4.1.2-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user