Raymond Wooninck 2017-01-08 13:41:11 +00:00 committed by Git OBS Bridge
parent 0a9f261945
commit 35806112bb

View File

@ -1,7 +1,7 @@
#
# spec file for package kreport
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,22 +24,23 @@ License: LGPL-2.0
Group: Productivity/Office/Other
Url: http://community.kde.org/KReport
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)
BuildRequires: cmake(KF5I18n)
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kguiaddons-devel
BuildRequires: update-desktop-files
BuildRequires: kproperty-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: marble-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(Qt5WebKitWidgets)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A framework for creation and generation of reports in multiple formats
@ -55,8 +56,8 @@ The main library for the Report creation and generation framework
%package devel
Summary: Development üackage for KReport
Group: Development/Libraries/KDE
Requires: libKReport3-3 = %{version}
Requires: kproperty-devel
Requires: libKReport3-3 = %{version}
%description devel
Development package for the Report Creation and Generation framework
@ -70,28 +71,28 @@ Development package for the Report Creation and Generation framework
%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,-)
%doc COPYING.LIB
%_libdir/libKReport3.so.*
%{_libdir}/libKReport3.so.*
%files
%defattr(-,root,root,-)
%_datadir/kreport3/
%_kf5_servicetypesdir/kreport_elementplugin.desktop
%{_datadir}/kreport3/
%{_kf5_servicetypesdir}/kreport_elementplugin.desktop
%{_kf5_plugindir}/kreport3/
%files devel
%defattr(-,root,root,-)
%doc COPYING*
%_includedir/KReport3/
%_libdir/cmake/KReport3/
%_libdir/libKReport3.so
%_libdir/pkgconfig/KReport3.pc
%_kf5_mkspecsdir/qt_KReport3.pri
%{_includedir}/KReport3/
%{_libdir}/cmake/KReport3/
%{_libdir}/libKReport3.so
%{_libdir}/pkgconfig/KReport3.pc
%{_kf5_mkspecsdir}/qt_KReport3.pri
%changelog