2008-09-22 14:16:54 +00:00
|
|
|
#
|
|
|
|
# spec file for package bibletime
|
|
|
|
#
|
2022-05-15 20:46:19 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-07-07 14:14:34 +00:00
|
|
|
# Copyright (c) 2012-2014 Lars Vogdt
|
2008-09-22 14:16:54 +00:00
|
|
|
#
|
2012-12-16 00:00:01 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2008-09-22 14:16:54 +00:00
|
|
|
|
2018-09-19 10:29:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-16 00:00:01 +00:00
|
|
|
#
|
2008-09-22 14:16:54 +00:00
|
|
|
|
2013-05-08 13:13:21 +00:00
|
|
|
|
2021-01-20 07:23:50 +00:00
|
|
|
# Internal QML import
|
|
|
|
%global __requires_exclude qmlimport\\(BibleTime.*
|
|
|
|
|
2010-03-28 22:05:33 +00:00
|
|
|
Name: bibletime
|
2022-05-15 20:46:19 +00:00
|
|
|
Version: 3.0.3
|
2013-05-08 13:13:21 +00:00
|
|
|
Release: 0
|
2018-09-22 13:18:22 +00:00
|
|
|
Summary: A Bible study tool
|
2018-09-19 10:29:17 +00:00
|
|
|
License: GPL-2.0-or-later
|
2008-09-22 14:16:54 +00:00
|
|
|
Group: Productivity/Scientific/Other
|
2020-08-30 19:50:09 +00:00
|
|
|
URL: http://www.bibletime.info/
|
2017-12-07 13:50:16 +00:00
|
|
|
Source0: https://github.com/bibletime/bibletime/releases/download/v%{version}/bibletime-%{version}.tar.xz
|
|
|
|
Source1: bibletime-rpmlintrc
|
2012-12-16 00:00:01 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: curl-devel
|
2017-12-07 13:50:16 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
2017-12-06 04:26:36 +00:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
2021-06-27 17:34:55 +00:00
|
|
|
BuildRequires: cmake(Qt5Qml)
|
2017-12-06 04:26:36 +00:00
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2021-06-27 17:34:55 +00:00
|
|
|
BuildRequires: cmake(Qt5Test)
|
2017-12-06 04:26:36 +00:00
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2017-12-07 13:50:16 +00:00
|
|
|
BuildRequires: pkgconfig(libclucene-core)
|
|
|
|
BuildRequires: pkgconfig(sword) >= 1.7
|
2020-08-30 19:50:09 +00:00
|
|
|
# Dependencies for building documentation
|
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
|
|
BuildRequires: fop
|
|
|
|
BuildRequires: libxslt-tools
|
|
|
|
BuildRequires: po4a
|
2012-12-16 00:00:01 +00:00
|
|
|
Recommends: sword-bible
|
|
|
|
Recommends: sword-commentary
|
2017-12-07 13:50:16 +00:00
|
|
|
%if 0%{?suse_version} > 1325
|
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
%endif
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
%description
|
2018-09-19 10:29:17 +00:00
|
|
|
BibleTime is a Bible study program.
|
2009-12-13 16:02:19 +00:00
|
|
|
|
|
|
|
The software uses the SWORD programming library to work with over 200 free
|
|
|
|
Bible texts, commentaries, dictionaries and books provided by the Crosswire
|
|
|
|
Bible Society.
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
BibleTime provides easy handling of digitalized texts (Bibles, commentaries and
|
|
|
|
lexicons) and powerful features to work with these texts (search in texts,
|
2012-12-16 00:00:01 +00:00
|
|
|
write own notes, save, print etc.).
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
%prep
|
2009-07-23 10:18:53 +00:00
|
|
|
%setup -q
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
%build
|
2017-12-07 13:50:16 +00:00
|
|
|
%cmake \
|
2020-08-30 19:50:09 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/html/chunk.xsl \
|
|
|
|
-DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/fo/docbook.xsl
|
2019-11-19 00:24:36 +00:00
|
|
|
%cmake_build
|
2008-09-22 14:16:54 +00:00
|
|
|
|
2017-12-07 13:50:16 +00:00
|
|
|
%install
|
|
|
|
%cmake_install
|
2020-08-30 21:46:58 +00:00
|
|
|
|
2017-12-07 13:50:16 +00:00
|
|
|
%fdupes -s %{buildroot}
|
2020-08-30 21:46:58 +00:00
|
|
|
|
2020-08-30 21:33:35 +00:00
|
|
|
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/info.%{name}.BibleTime.desktop Education Humanities
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
%files
|
2020-08-30 19:50:09 +00:00
|
|
|
%doc ChangeLog README.md
|
|
|
|
%license LICENSE
|
2017-12-07 13:50:16 +00:00
|
|
|
%{_bindir}/bibletime
|
2017-12-06 04:26:36 +00:00
|
|
|
%{_datadir}/icons/*
|
2020-08-30 19:50:09 +00:00
|
|
|
%{_datadir}/applications/info.%{name}.BibleTime.desktop
|
2017-12-07 13:50:16 +00:00
|
|
|
%dir %{_datadir}/bibletime
|
2017-12-06 04:26:36 +00:00
|
|
|
%{_datadir}/bibletime/*
|
2020-08-31 06:11:53 +00:00
|
|
|
%dir %{_datadir}/doc/bibletime
|
2020-08-31 06:00:16 +00:00
|
|
|
%{_datadir}/doc/bibletime/*
|
|
|
|
%{_datadir}/metainfo/info.bibletime.BibleTime.metainfo.xml
|
2008-09-22 14:16:54 +00:00
|
|
|
|
|
|
|
%changelog
|