Changed files:
beecrypt.spec -> 1.49
%bcond_without javaglue # build with Java support
%bcond_with javac # use javac instead of gcj
%bcond_without python # don't build python module
%bcond_without javaglue # build with Java support
%bcond_with javac # use javac instead of gcj
%bcond_without python # don't build python module
+%bcond_without doc # don't build documentation
#
Summary: The BeeCrypt Cryptography Library
Summary(pl): Biblioteka kryptograficzna BeeCrypt
#
Summary: The BeeCrypt Cryptography Library
Summary(pl): Biblioteka kryptograficzna BeeCrypt
URL: http://sourceforge.net/projects/beecrypt/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
URL: http://sourceforge.net/projects/beecrypt/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%if %{with javaglue} && !%{with javac}
BuildRequires: gcj
%endif
%if %{with javaglue} && !%{with javac}
BuildRequires: gcj
%endif
BuildRequires: ghostscript
BuildRequires: graphviz
BuildRequires: ghostscript
BuildRequires: graphviz
%if %{with javaglue} && %{with javac}
BuildRequires: jdk
%endif
BuildRequires: libtool
%if %{with javaglue} && %{with javac}
BuildRequires: jdk
%endif
BuildRequires: libtool
+%if %{with javaglue} && !%{with javac}
BuildRequires: libgcj-devel
BuildRequires: libgcj-devel
%if %{with python}
BuildRequires: python-devel
BuildRequires: python-modules
%endif
%if %{with python}
BuildRequires: python-devel
BuildRequires: python-modules
%endif
BuildRequires: tetex-dvips
BuildRequires: tetex-format-latex
BuildRequires: tetex-latex-dstroke
# note: this is incorrect place, it should be somewhere in tetex packages
BuildRequires: tetex-metafont
BuildRequires: tetex-dvips
BuildRequires: tetex-format-latex
BuildRequires: tetex-latex-dstroke
# note: this is incorrect place, it should be somewhere in tetex packages
BuildRequires: tetex-metafont
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags_alpha -mno-explicit-relocs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags_alpha -mno-explicit-relocs
%{__make} -C python
%endif
%{__make} -C python
%endif
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
%{_libdir}/libbeecrypt_java.a
%endif
%{_libdir}/libbeecrypt_java.a
%endif
%files doc
%defattr(644,root,root,755)
%doc docs/html/*
%files doc
%defattr(644,root,root,755)
%doc docs/html/*
%if %{with python}
%files -n python-beecrypt
%if %{with python}
%files -n python-beecrypt