2017-01-08 12:07:36 +01:00
|
|
|
#
|
|
|
|
# spec file for package kreport
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kreport
|
2017-01-08 12:14:22 +01:00
|
|
|
Version: 3.0.0
|
2017-01-08 12:07:36 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Framework for creation and generation of reports
|
2017-01-08 14:32:13 +01:00
|
|
|
License: LGPL-2.0
|
2017-01-08 12:07:36 +01:00
|
|
|
Group: Productivity/Office/Other
|
2017-01-08 14:32:13 +01:00
|
|
|
Url: http://community.kde.org/KReport
|
2017-01-08 12:07:36 +01:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
2017-01-08 13:15:06 +01:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
2017-01-08 12:07:36 +01:00
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kwidgetsaddons-devel
|
|
|
|
BuildRequires: kguiaddons-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: kproperty-devel
|
2017-01-08 14:32:13 +01:00
|
|
|
BuildRequires: marble-devel
|
|
|
|
BuildRequires: cmake(Qt5WebKitWidgets)
|
2017-01-08 12:07:36 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A framework for creation and generation of reports in multiple formats
|
|
|
|
|
|
|
|
%package -n libKReport3-3
|
2017-01-08 13:11:33 +01:00
|
|
|
Summary: The library for the Report Creation and generation Framework
|
2017-01-08 12:45:20 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} >= %{version}
|
2017-01-08 12:07:36 +01:00
|
|
|
|
|
|
|
%description -n libKReport3-3
|
2017-01-08 14:37:37 +01:00
|
|
|
The main library for the Report creation and generation framework
|
2017-01-08 12:07:36 +01:00
|
|
|
|
|
|
|
%package devel
|
2017-01-08 14:37:37 +01:00
|
|
|
Summary: Development üackage for KReport
|
2017-01-08 12:45:20 +01:00
|
|
|
Group: Development/Libraries/KDE
|
2017-01-08 12:07:36 +01:00
|
|
|
Requires: libKReport3-3 = %{version}
|
|
|
|
Requires: kproperty-devel
|
|
|
|
|
|
|
|
%description devel
|
2017-01-08 14:37:37 +01:00
|
|
|
Development package for the Report Creation and Generation framework
|
2017-01-08 12:07:36 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%post -n libKReport3-3 -p /sbin/ldconfig
|
|
|
|
%postun -n libKReport3-3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libKReport3-3
|
|
|
|
%defattr(-,root,root,-)
|
2017-01-08 14:32:13 +01:00
|
|
|
%doc COPYING.LIB
|
2017-01-08 12:07:36 +01:00
|
|
|
%_libdir/libKReport3.so.*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%_datadir/kreport3/
|
|
|
|
%_kf5_servicetypesdir/kreport_elementplugin.desktop
|
|
|
|
%{_kf5_plugindir}/kreport3/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2017-01-08 14:32:13 +01:00
|
|
|
%doc COPYING*
|
2017-01-08 12:07:36 +01:00
|
|
|
%_includedir/KReport3/
|
|
|
|
%_libdir/cmake/KReport3/
|
|
|
|
%_libdir/libKReport3.so
|
|
|
|
%_libdir/pkgconfig/KReport3.pc
|
|
|
|
%_kf5_mkspecsdir/qt_KReport3.pri
|
|
|
|
|
|
|
|
%changelog
|