2011-07-26 10:07:39 +00:00
|
|
|
#
|
2011-07-26 10:07:59 +00:00
|
|
|
# spec file for package mobipocket
|
2011-07-26 10:07:39 +00:00
|
|
|
#
|
2022-11-17 22:58:59 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2011-07-26 10:07:39 +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.
|
|
|
|
|
2018-11-24 23:45:32 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-07-26 10:07:39 +00:00
|
|
|
#
|
|
|
|
|
2012-03-13 08:36:44 +00:00
|
|
|
|
2019-08-15 14:01:20 +00:00
|
|
|
%define rname kdegraphics-mobipocket
|
2017-08-11 23:01:32 +00:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 13:50:20 +00:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 12:45:13 +00:00
|
|
|
%bcond_without released
|
2018-11-24 23:45:32 +00:00
|
|
|
Name: mobipocket
|
2023-02-02 18:38:20 +00:00
|
|
|
Version: 22.12.2
|
2018-11-24 23:45:32 +00:00
|
|
|
Release: 0
|
2013-12-02 11:33:26 +00:00
|
|
|
Summary: E-book plugin and library
|
2018-11-24 23:45:32 +00:00
|
|
|
License: GPL-2.0-or-later
|
2019-08-15 14:01:20 +00:00
|
|
|
URL: https://www.kde.org
|
2022-12-08 12:39:09 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 12:45:13 +00:00
|
|
|
%if %{with released}
|
2022-12-08 12:39:09 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 13:31:15 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 12:26:10 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
2019-11-29 11:40:47 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
2011-07-26 10:07:39 +00:00
|
|
|
|
|
|
|
%description
|
2011-09-14 12:58:34 +00:00
|
|
|
Mobipocket E-book support for Okular.
|
2011-07-26 10:07:39 +00:00
|
|
|
|
2013-12-02 11:33:26 +00:00
|
|
|
%package devel
|
|
|
|
Summary: E-book plugin and library
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Mobipocket E-book plugin and library.
|
|
|
|
|
|
|
|
This package provides development files for mobipocket
|
|
|
|
library
|
|
|
|
|
2011-07-26 10:07:39 +00:00
|
|
|
%prep
|
2021-04-19 13:31:15 +00:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2011-07-26 10:07:39 +00:00
|
|
|
|
|
|
|
%build
|
2016-12-03 12:26:10 +00:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 08:50:32 +00:00
|
|
|
%cmake_build
|
2011-07-26 10:07:39 +00:00
|
|
|
|
|
|
|
%install
|
2016-12-03 12:26:10 +00:00
|
|
|
%kf5_makeinstall -C build
|
2011-07-26 10:07:39 +00:00
|
|
|
|
2013-12-02 11:33:26 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2011-07-26 10:07:39 +00:00
|
|
|
%files
|
2018-11-24 23:45:32 +00:00
|
|
|
%license COPYING
|
2017-08-11 23:01:32 +00:00
|
|
|
%{_kf5_libdir}/libqmobipocket.so.*
|
2013-12-02 11:33:26 +00:00
|
|
|
|
|
|
|
%files devel
|
2016-12-03 12:26:10 +00:00
|
|
|
%{_includedir}/qmobipocket/
|
2017-08-11 23:01:32 +00:00
|
|
|
%{_kf5_cmakedir}/QMobipocket/
|
|
|
|
%{_kf5_libdir}/libqmobipocket.so
|
2011-07-26 10:07:39 +00:00
|
|
|
|
|
|
|
%changelog
|