Accepting request 509041 from home:seife:branches:X11:common:Factory

actually build and install the cursors, instead of random stuff
DMZ cursors are totally broken without this.

OBS-URL: https://build.opensuse.org/request/show/509041
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/dmz-icon-theme-cursors?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2017-07-10 10:52:32 +00:00 committed by Git OBS Bridge
parent 5c05d3b662
commit b4a3effd66
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 9 20:48:05 UTC 2017 - seife+obs@b1-systems.com
- actually build and install the cursors, instead of random stuff
-------------------------------------------------------------------
Sat Jun 24 06:51:50 UTC 2017 - lbeltrame@kde.org

View File

@ -25,6 +25,7 @@ License: CC-BY-SA-3.0
Group: System/GUI/GNOME
Source: dmz-cursor-theme_0.4.4.tar.gz
Requires: hicolor-icon-theme
BuildRequires: xcursorgen
Provides: icon-theme-dmz-cursors = %{version}
Obsoletes: icon-theme-dmz-cursors < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -37,10 +38,16 @@ This package contains the DMZ cursor theme for X.
%setup -q -n dmz-cursor-theme-0.4.4
%build
for i in Black White; do
( cd DMZ-$i/pngs; ./make.sh )
done
%install
mkdir -p %{buildroot}%{_datadir}/icons
cp -a DMZ-Black DMZ-White %{buildroot}%{_datadir}/icons/
for i in Black White; do
mkdir -p %{buildroot}%{_datadir}/icons/DMZ-$i
cp -a DMZ-$i/*.theme %{buildroot}%{_datadir}/icons/DMZ-$i/
cp -a DMZ-$i/xcursors %{buildroot}%{_datadir}/icons/DMZ-$i/cursors
done
%files
%defattr (-, root, root)