Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 9caf2f9672906d26c84d9932083bdba1 > files > 3

wmxss-0.1-12mdv2007.1.src.rpm

Summary:	Frontend for xscreensaver in a dock.app
Name:		wmxss
Version:	0.1
Release:	%mkrel 12
License:	GPL
Group:		Graphical desktop/WindowMaker
Source0:	%{name}-%{version}.tar.bz2
Source1:	%{name}-icons.tar.bz2
URL:		http://nis-www.lanl.gov/~mgh/WindowMaker/wmxss-0.1.tar.gz
Requires:	xscreensaver-gl
BuildRequires:	libx11-devel
BuildRequires:	libxext-devel
BuildRequires:	libxpm-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot


%description
Frontend for xscreensaver.
Right now it only runs the separate hacks in the DockApp


%prep
%setup -q

%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 xjOf %SOURCE1 %{name}-16x16.png > %buildroot%{_miconsdir}/%{name}.png
tar xjOf %SOURCE1 %{name}-32x32.png > %buildroot%{_iconsdir}/%{name}.png
tar xjOf %SOURCE1 %{name}-48x48.png > %buildroot%{_liconsdir}/%{name}.png

mkdir -p %buildroot%{_bindir}
install -c -s -m 0755 Src/wmxss %buildroot%{_bindir}

install -m 755 -d %buildroot%{_menudir}
cat <<EOF > %buildroot%{_menudir}/%{name}
?package(%{name}):command="%{_bindir}/%{name} -e /usr/lib/xscreensaver/lament" \
icon="%{name}.png" \
needs="X11" \
section="More Applications/Games/Toys" \
title="WmXss" \
longtitle="Frontend for xscreensaver in a small icon" \
xdg="true"
EOF

mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=WmXss
Comment=Frontend for xscreensaver in a dock.app
Exec=%{_bindir}/%{name} -e /usr/lib/xscreensaver/lament
Icon=%{name}
Terminal=false
Type=Application
Categories=Screensaver;
EOF


%clean
rm -fr %buildroot


%post
%{update_menus}

%postun
%{clean_menus}


%files
%defattr (-,root,root)
%doc COPYING
%{_bindir}/*
%{_liconsdir}/%{name}.png
%{_miconsdir}/%{name}.png
%{_iconsdir}/%{name}.png
%{_menudir}/%{name}
%{_datadir}/applications/mandriva-%{name}.desktop


%changelog
* Tue Feb 06 2007 Gustavo De Nardin <gustavodn@mandriva.com> 0.1-12mdv2007.0
+ Revision: 116930
- fixed .desktop file Comment

* Tue Jan 30 2007 Gustavo De Nardin <gustavodn@mandriva.com> 0.1-11mdv2007.1
+ Revision: 115274
- fixed and strip BuildRequires to minimum
- stop using old X prefix
- fixed menu entry
- added XDG menu entry for great compliance



* Tue Apr 26 2005 Lenny Cartier <lenny@mandriva.com> 0.1-10mdk
- rebuild

* 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.