2014-02-07 22:41:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package frameworkintegration
|
|
|
|
#
|
2015-01-30 03:22:02 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-07 22:41:48 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 18:27:08 +02:00
|
|
|
%bcond_without lang
|
2014-03-01 19:31:55 +01:00
|
|
|
%define lname libKF5Style5
|
2015-04-05 13:43:49 +02:00
|
|
|
%define _tar_path 5.9
|
2014-02-07 22:41:48 +01:00
|
|
|
Name: frameworkintegration
|
2015-04-10 18:27:08 +02:00
|
|
|
Version: 5.9.0
|
2014-02-07 22:41:48 +01:00
|
|
|
Release: 0
|
2014-07-11 11:57:10 +02:00
|
|
|
%define kf5_version %{version}
|
2014-02-07 22:41:48 +01:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2015-04-10 18:27:08 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
2014-02-07 22:41:48 +01:00
|
|
|
BuildRequires: fdupes
|
2015-04-10 18:27:08 +02:00
|
|
|
BuildRequires: kconfig-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kconfigwidgets-devel >= %{_tar_path}
|
2014-02-07 22:41:48 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2015-04-10 18:27:08 +02:00
|
|
|
BuildRequires: ki18n-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kiconthemes-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kio-devel >= %{_tar_path}
|
|
|
|
BuildRequires: knotifications-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kwidgetsaddons-devel >= %{_tar_path}
|
2014-05-04 03:17:50 +02:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0
|
2014-02-07 22:41:48 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
2015-01-30 03:22:02 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2014-03-01 23:42:20 +01:00
|
|
|
BuildRequires: pkgconfig(xcb)
|
2015-01-30 03:22:02 +01:00
|
|
|
BuildRequires: pkgconfig(xcursor)
|
2014-02-07 22:41:48 +01:00
|
|
|
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2015-02-11 20:50:38 +01:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2014-06-03 21:12:50 +02:00
|
|
|
Source1: baselibs.conf
|
2014-02-07 22:41:48 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Framework Integration is a set of plugins responsible for better
|
|
|
|
integration of Qt applications when running on a
|
|
|
|
KDE Plasma workspace.
|
|
|
|
|
|
|
|
Applications do not need to link to this directly.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
|
|
|
|
Group: System/GUI/KDE
|
2014-03-01 19:31:55 +01:00
|
|
|
Obsoletes: libKF5Style4
|
2015-04-10 18:27:08 +02:00
|
|
|
%if %{with lang}
|
2014-06-01 22:50:08 +02:00
|
|
|
Recommends: %lname-lang = %{version}
|
2015-04-10 18:27:08 +02:00
|
|
|
%endif
|
2014-02-07 22:41:48 +01:00
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
Framework Integration is a set of plugins responsible for better
|
|
|
|
integration of Qt applications when running on a
|
|
|
|
KDE Plasma workspace.
|
|
|
|
|
|
|
|
Applications do not need to link to this directly.
|
|
|
|
|
2015-01-03 20:24:02 +01:00
|
|
|
%package plugin
|
|
|
|
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
|
|
|
|
Group: System/GUI/KDE
|
2015-04-17 02:56:46 +02:00
|
|
|
Requires: kde-oxygen-fonts
|
2015-01-03 20:24:02 +01:00
|
|
|
Conflicts: %lname < 5.6.0
|
|
|
|
%requires_eq libQt5Gui5
|
|
|
|
|
|
|
|
%description plugin
|
|
|
|
Framework Integration is a set of plugins responsible for better
|
|
|
|
integration of Qt applications when running on a
|
|
|
|
KDE Plasma workspace.
|
|
|
|
|
|
|
|
Applications do not need to link to this directly.
|
|
|
|
|
2014-02-07 22:41:48 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
|
|
|
|
Group: Development/Libraries/KDE
|
2014-02-08 03:31:43 +01:00
|
|
|
Requires: %lname = %{version}
|
2014-02-07 22:41:48 +01:00
|
|
|
Requires: extra-cmake-modules
|
2015-04-10 18:27:08 +02:00
|
|
|
Requires: kconfigwidgets-devel >= %{_tar_path}
|
|
|
|
Requires: kiconthemes-devel >= %{_tar_path}
|
2014-02-07 22:41:48 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Framework Integration is a set of plugins responsible for better
|
|
|
|
integration of Qt applications when running on a
|
|
|
|
KDE Plasma workspace.
|
|
|
|
|
|
|
|
Applications do not need to link to this directly. Development files
|
|
|
|
|
2014-06-01 22:50:08 +02:00
|
|
|
%lang_package -n %lname
|
2014-02-07 22:41:48 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2014-06-03 21:05:56 +02:00
|
|
|
%build
|
2014-02-07 22:41:48 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 18:47:25 +02:00
|
|
|
%fdupes %{buildroot}
|
2014-02-07 22:41:48 +01:00
|
|
|
|
2015-04-10 18:27:08 +02:00
|
|
|
%if %{with lang}
|
2015-04-05 13:43:49 +02:00
|
|
|
%find_lang %{name}5
|
2015-04-10 18:27:08 +02:00
|
|
|
%endif
|
2014-06-01 22:50:08 +02:00
|
|
|
|
2014-02-07 22:41:48 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2015-04-10 18:27:08 +02:00
|
|
|
%if %{with lang}
|
2014-06-01 22:50:08 +02:00
|
|
|
%files -n %lname-lang -f %{name}5.lang
|
2015-04-10 18:27:08 +02:00
|
|
|
%endif
|
2014-06-01 22:50:08 +02:00
|
|
|
|
2014-02-07 22:41:48 +01:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libKF5Style.so.*
|
2015-01-03 20:24:02 +01:00
|
|
|
|
|
|
|
%files plugin
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
2014-05-04 03:16:18 +02:00
|
|
|
%{_kf5_datadir}/infopage/
|
|
|
|
%{_kf5_plugindir}/
|
2014-09-09 16:08:39 +02:00
|
|
|
%{_kf5_notifydir}/
|
2014-02-07 22:41:48 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5Style.so
|
2014-03-01 19:31:55 +01:00
|
|
|
%{_kf5_libdir}/cmake/KF5FrameworkIntegration/
|
2014-02-07 22:41:48 +01:00
|
|
|
%dir %{_kf5_includedir}/KStyle/
|
|
|
|
%{_kf5_includedir}/KStyle/
|
|
|
|
%{_kf5_includedir}/*.h
|
|
|
|
|
|
|
|
%changelog
|