OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/frameworkintegration?expand=0&rev=63
This commit is contained in:
parent
6fee4132c0
commit
97ea03b4b7
@ -16,23 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
%define lname libKF5Style5
|
||||
%define _tar_path 5.9
|
||||
Name: frameworkintegration
|
||||
Version: %{_tar_path}.0
|
||||
Version: 5.9.0
|
||||
Release: 0
|
||||
%define kf5_version %{version}
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: extra-cmake-modules >= %{version}
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kconfig-devel >= %{kf5_version}
|
||||
BuildRequires: kconfigwidgets-devel >= %{kf5_version}
|
||||
BuildRequires: kconfig-devel >= %{_tar_path}
|
||||
BuildRequires: kconfigwidgets-devel >= %{_tar_path}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: ki18n-devel >= %{kf5_version}
|
||||
BuildRequires: kiconthemes-devel >= %{kf5_version}
|
||||
BuildRequires: kio-devel >= %{kf5_version}
|
||||
BuildRequires: knotifications-devel >= %{kf5_version}
|
||||
BuildRequires: kwidgetsaddons-devel >= %{kf5_version}
|
||||
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}
|
||||
BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
||||
@ -60,7 +61,9 @@ Applications do not need to link to this directly.
|
||||
Summary: Plugins responsible for better integration of Qt applications in KDE Workspace
|
||||
Group: System/GUI/KDE
|
||||
Obsoletes: libKF5Style4
|
||||
%if %{with lang}
|
||||
Recommends: %lname-lang = %{version}
|
||||
%endif
|
||||
|
||||
%description -n %lname
|
||||
Framework Integration is a set of plugins responsible for better
|
||||
@ -87,8 +90,8 @@ Summary: Plugins responsible for better integration of Qt applications in
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: %lname = %{version}
|
||||
Requires: extra-cmake-modules
|
||||
Requires: kconfigwidgets-devel >= %{kf5_version}
|
||||
Requires: kiconthemes-devel >= %{kf5_version}
|
||||
Requires: kconfigwidgets-devel >= %{_tar_path}
|
||||
Requires: kiconthemes-devel >= %{_tar_path}
|
||||
|
||||
%description devel
|
||||
Framework Integration is a set of plugins responsible for better
|
||||
@ -109,17 +112,17 @@ Applications do not need to link to this directly. Development files
|
||||
%kf5_makeinstall -C build
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
if [ -e po ]; then
|
||||
%if %{with lang}
|
||||
%find_lang %{name}5
|
||||
else
|
||||
touch %{name}5.lang
|
||||
fi
|
||||
%endif
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files -n %lname-lang -f %{name}5.lang
|
||||
%endif
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user