This commit is contained in:
124
bibletime.spec
Normal file
124
bibletime.spec
Normal file
@@ -0,0 +1,124 @@
|
||||
#
|
||||
# spec file for package bibletime
|
||||
#
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define i18nversion 1.6.5
|
||||
%define kdeprefix /opt/kde3
|
||||
|
||||
Name: bibletime
|
||||
Summary: BibleTime is an easy to use Bible study tool for KDE
|
||||
Version: 1.6.5.1
|
||||
Release: 7
|
||||
License: GPL
|
||||
Url: http://www.bibletime.info/
|
||||
Group: Productivity/Scientific/Other
|
||||
Vendor: openSUSE-Education
|
||||
Source0: %name-%version.tar.bz2
|
||||
Source1: %name-i18n-%i18nversion.tar.bz2
|
||||
Requires: %name-i18n = %version
|
||||
Recommends: sword-bible
|
||||
Recommends: sword-commentary
|
||||
BuildRequires: sword-devel kdelibs3-devel gcc-c++ curl-devel libjpeg-devel clucene-core-devel update-desktop-files
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
BibleTime is a free and easy to use bible study tool for UNIX systems.
|
||||
|
||||
BibleTime provides easy handling of digitalized texts (Bibles, commentaries and
|
||||
lexicons) and powerful features to work with these texts (search in texts,
|
||||
write own notes, save, print etc.). BibleTime is a frontend for the SWORD
|
||||
Bible Framework.
|
||||
|
||||
The SWORD Project is an effort to create an ever expanding software package for
|
||||
research and study of God and His Word. The SWORD Bible Framework allows easy
|
||||
manipulation of Bible texts, commentaries, lexicons, dictionaries, etc. Many
|
||||
frontends are build using this framework. An installed module set may be
|
||||
shared between any frontend using the framework.
|
||||
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %name
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description devel
|
||||
Development files for %name useful if you want to develop applications
|
||||
based on %name.
|
||||
|
||||
|
||||
|
||||
%package i18n
|
||||
Summary: Translations for bibletime
|
||||
Group: Productivity/Scientific/Other
|
||||
Requires: %name = %version
|
||||
|
||||
%description i18n
|
||||
Translations for bibletime, the free and easy to use bible study
|
||||
tool for UNIX systems.
|
||||
|
||||
|
||||
%debug_package
|
||||
%prep
|
||||
%setup -q -a1
|
||||
|
||||
%build
|
||||
. /etc/opt/kde3/common_options
|
||||
./configure $configkde --disable-final \
|
||||
--enable-shared=yes \
|
||||
%ifarch x86_64 amd64 ia32e
|
||||
--enable-libsuffix=64 \
|
||||
%endif
|
||||
--enable-static=no
|
||||
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
pushd %name-i18n-%i18nversion
|
||||
./configure $configkde
|
||||
popd
|
||||
|
||||
%install
|
||||
. /etc/opt/kde3/common_options
|
||||
%makeinstall
|
||||
|
||||
pushd %name-i18n-%i18nversion
|
||||
%makeinstall
|
||||
popd
|
||||
|
||||
%if 0%{?suse_version} > 1020
|
||||
%fdupes -s %buildroot
|
||||
%endif
|
||||
|
||||
%suse_update_desktop_file -n bibletime Education Teaching
|
||||
|
||||
%find_lang %name
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
|
||||
%files i18n -f %name.lang
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%kdeprefix/bin/*
|
||||
%kdeprefix/share/applications/bibletime.desktop
|
||||
%kdeprefix/share/apps/bibletime/
|
||||
%kdeprefix/share/icons/*
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%kdeprefix/include/bibletimeinterface.h
|
||||
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user