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