154 lines
4.1 KiB
RPMSpec
154 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package oxygen5
|
|
#
|
|
# 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: oxygen5
|
|
Version: 4.96.0
|
|
Release: 0
|
|
Summary: Provides the interface and basic tools for the KDE workspace
|
|
License: LGPL-2.0+
|
|
Group: System/GUI/KDE
|
|
Url: git://anongit.kde.org/kde-workspace.git
|
|
Source0: oxygen-%{version}.tar.xz
|
|
Patch1: crasher.diff
|
|
BuildRequires: frameworkintegration-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: kcompletion-devel
|
|
BuildRequires: kconfig-devel
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: kguiaddons-devel
|
|
BuildRequires: ki18n-devel
|
|
BuildRequires: kservice-devel
|
|
BuildRequires: kwidgetsaddons-devel
|
|
BuildRequires: kwindowsystem-devel
|
|
BuildRequires: libkdecorations-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xz
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
|
Requires: oxygen-style5
|
|
Requires: oxygen-decoration5
|
|
Recommends: oxygen-sounds5
|
|
Recommends: oxygen-cursors
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Provides the interface and basic tools for the KDE workspace.
|
|
|
|
%package devel
|
|
Summary: KDE Base Libraries
|
|
Group: System/GUI/KDE
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
Provides the interface and basic tools for the KDE workspace.
|
|
|
|
%package -n oxygen-sounds5
|
|
Summary: The KDE Workspace Sounds
|
|
Group: System/GUI/KDE
|
|
|
|
%description -n oxygen-sounds5
|
|
This package contains the default sound set for a K Desktop Environment
|
|
workspace.
|
|
|
|
%package -n oxygen-cursors5
|
|
Summary: The KDE Workspace Cursors
|
|
Group: System/GUI/KDE
|
|
Provides: oxygen-cursors = %{version}
|
|
Conflicts: oxygen-cursors4
|
|
|
|
%description -n oxygen-cursors5
|
|
This package contains the default cursor set for a K Desktop Environment
|
|
workspace.
|
|
|
|
%package -n oxygen-style5
|
|
Summary: Oxygen style
|
|
Group: System/GUI/KDE
|
|
|
|
%description -n oxygen-style5
|
|
This package contains the libraries of the Oxygen style.
|
|
|
|
%package -n oxygen-decoration5
|
|
Summary: Oxygen's KWin decoration
|
|
Group: System/GUI/KDE
|
|
|
|
%description -n oxygen-decoration5
|
|
This package contains the libraries Oxygen's KWin decoration.
|
|
|
|
%prep
|
|
%setup -q -n oxygen-%{version}
|
|
%patch1 -p1
|
|
sed -i '/^ecm_optional_add_subdirectory( po )/d' CMakeLists.txt
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%post -n oxygen-style5 -p /sbin/ldconfig
|
|
|
|
%postun -n oxygen-style5 -p /sbin/ldconfig
|
|
|
|
%post -n oxygen-decoration5 -p /sbin/ldconfig
|
|
|
|
%postun -n oxygen-decoration5 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
|
|
%files -n oxygen-style5
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_bindir}/oxygen-demo5
|
|
%{_kf5_bindir}/oxygen-settings5
|
|
%{_kf5_libdir}/liboxygenstyle5.so.*
|
|
%{_kf5_libdir}/liboxygenstyleconfig5.so.*
|
|
%{_kf5_plugindir}/kstyle_oxygen_config.so
|
|
%{_kf5_plugindir}/styles/
|
|
%{_kf5_sharedir}/kstyle/
|
|
|
|
%files -n oxygen-decoration5
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_bindir}/oxygen-shadow-demo5
|
|
%{_kf5_plugindir}/kwin/
|
|
|
|
%files -n oxygen-sounds5
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_sharedir}/sounds/
|
|
|
|
%files -n oxygen-cursors5
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_sharedir}/icons/
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_libdir}/liboxygenstyleconfig5.so
|
|
%{_kf5_libdir}/liboxygenstyle5.so
|
|
|
|
%changelog
|