Summary: Frontend for xscreensaver in a dock.app Name: wmxss Version: 0.1 Release: 9mdk License: GPL Group: Graphical desktop/WindowMaker Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-icons.tar URL: http://nis-www.lanl.gov/~mgh/WindowMaker/wmxss-0.1.tar.gz Requires: xscreensaver-gl XFree86-libs xpm BuildRequires: XFree86-devel xpm-devel Prefix: /usr/X11R6 BuildRoot: %{_tmppath}/%{name}-buildroot %description Frontend for xscreensaver. Right now it only runs the separate hacks in the DockApp %prep %setup -n %{name}-%{version} %build make -C Src CFLAGS="$RPM_OPT_FLAGS" %install rm -fr %buildroot install -m 755 -d %buildroot%{_miconsdir} install -m 755 -d %buildroot%{_iconsdir} install -m 755 -d %buildroot%{_liconsdir} tar xOf %SOURCE1 %{name}-16x16.png > %buildroot%{_miconsdir}/%{name}.png tar xOf %SOURCE1 %{name}-32x32.png > %buildroot%{_iconsdir}/%{name}.png tar xOf %SOURCE1 %{name}-48x48.png > %buildroot%{_liconsdir}/%{name}.png mkdir -p %buildroot%{prefix}/bin/ install -c -s -m 0755 Src/wmxss %buildroot%{prefix}/bin/ install -m 755 -d %buildroot%{_menudir} cat << EOF > %buildroot%{_menudir}/%{name} ?package(%{name}):command="%{prefix}/bin/%{name} -e /usr/X11R6/lib/xscreensaver/lament" \ icon="%{name}.png" \ needs="X11" \ section="Amusement/Toys" \ title="WmXss" \ longtitle="Frontend for xscreensaver in a small icon" EOF %clean rm -fr %buildroot %post %{update_menus} %postun %{clean_menus} %files %defattr (-,root,root) %doc COPYING %{prefix}/bin/* %{_liconsdir}/%{name}.png %{_miconsdir}/%{name}.png %{_iconsdir}/%{name}.png %{_menudir}/%{name} %changelog * Mon Feb 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.1-9mdk - rebuild * Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.1-8mdk - rebuild * Tue Feb 12 2002 David BAUDENS <baudens@mandrakesoft.com> 0.1-7mdk - xpm converted to png - Display menu entry loosened down to X11 only * Mon Feb 11 2002 David BAUDENS <baudens@mandrakesoft.com> 0.1-6mdk - Don't use RPM group for menu entry - Display menu entry only in WindowMaker * Wed Jan 9 2002 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-5mdk - lament made it back into the distribution : much nicer than bubble3d :o) - option I for tar changed to "j" - section "Amusement/Toys" changed with "Graphical desktop/WindowMaker" * Thu Aug 2 2001 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-4mdk - title field in menu file is now Capitalized - Copyright replaced with License - optimization flags corrected - compiled against the new libdockapp0 - doc added * Tue Oct 31 2000 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-3mdk - Ok, it is not working because ... lament has been removed from xscreensaver-gl !! So I had to swith over to bubble3d geee ... * Thu Oct 26 2000 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-2mdk - Added path for preselection in menu entry * Thu Oct 26 2000 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-1mdk - Added preselection in menu entry - note that xscreensaver instead of xscreensaver-gl would be enough, but it is nicer this way :o) * Wed Oct 25 2000 HA Quôc-Viêt <viet@mandrakesoft.com> 0.1-0mdk - Initial release.