This commit is contained in:
parent
51d0b1e635
commit
17d26e3404
10
oxygen5.spec
10
oxygen5.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define kwin_deco 0
|
||||
|
||||
Name: oxygen5
|
||||
Version: 4.96.0
|
||||
@ -35,7 +36,9 @@ BuildRequires: ki18n-devel
|
||||
BuildRequires: kservice-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: kwindowsystem-devel
|
||||
%if %kwin_deco
|
||||
BuildRequires: libkdecorations-devel
|
||||
%endif
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: xz
|
||||
@ -87,12 +90,15 @@ Group: System/GUI/KDE
|
||||
%description -n oxygen-style5
|
||||
This package contains the libraries of the Oxygen style.
|
||||
|
||||
%if %kwin_deco
|
||||
%package -n oxygen-decoration5
|
||||
Summary: Oxygen's KWin decoration
|
||||
Group: System/GUI/KDE
|
||||
%requires_eq oxygen-style5
|
||||
|
||||
%description -n oxygen-decoration5
|
||||
This package contains the libraries Oxygen's KWin decoration.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n oxygen-%{version}
|
||||
@ -110,9 +116,11 @@ sed -i '/^ecm_optional_add_subdirectory( po )/d' CMakeLists.txt
|
||||
|
||||
%postun -n oxygen-style5 -p /sbin/ldconfig
|
||||
|
||||
%if %kwin_deco
|
||||
%post -n oxygen-decoration5 -p /sbin/ldconfig
|
||||
|
||||
%postun -n oxygen-decoration5 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -129,11 +137,13 @@ sed -i '/^ecm_optional_add_subdirectory( po )/d' CMakeLists.txt
|
||||
%{_kf5_plugindir}/styles/
|
||||
%{_kf5_sharedir}/kstyle/
|
||||
|
||||
%if %kwin_deco
|
||||
%files -n oxygen-decoration5
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
%{_kf5_bindir}/oxygen-shadow-demo5
|
||||
%{_kf5_plugindir}/kwin/
|
||||
%endif
|
||||
|
||||
%files -n oxygen-sounds5
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user