%define name wmthemeinstall %define version 0.62 %define release 1 %define serial 1 %define prefix /usr/X11R6 Summary: Theme installer and uninstaller for the WindowMaker window manager Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: X11/Applications Source: http://hellblazer.dhis.org/projects/download/%{name}-%{version}.tar.gz URL: http://hellblazer.dhis.org/projects/wmthemeinstall/ Vendor: Craig Hanson Packager: Craig Hanson BuildRoot: /tmp/%{name}-%{version} Requires: gtk+ >= 1.2.0 %description A handy utility for the WindowMaker window manager which makes it easy to install, uninstall, and use themes. It is fully configurable to allow the user to install themes for themselves or the whole system (if they have sufficient rights). %prep %setup CFLAGS=$RPM_OPT_FLAGS \ ./configure --prefix=%{prefix} %build make %install if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi install -d -m 755 $RPM_BUILD_ROOT%{prefix}/bin install -s -m 755 wmthemeinstall $RPM_BUILD_ROOT%{prefix}/bin %clean rm -rf $RPM_BUILD_ROOT %files %{prefix}/bin/wmthemeinstall