BuildPrereq: xpm-devel
BuildRoot: /tmp/%{name}-%{version}-root
+%define _prefix /usr/X11R6
+
%description
Mixer.app is a audio mixer utility. It is designed to be docked in Window
Maker. This utility has three volume controllers that can be configured to
%build
xmkmf -a
-make PREFIX=/usr/X11R6/GNUstep/Apps/Mixer.app \
+make PREFIX=%{_prefix}/GNUstep/Apps/Mixer.app \
CXXDEBUGFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates" \
%install
make install \
DESTDIR=$RPM_BUILD_ROOT \
- PREFIX=/usr/X11R6/GNUstep/Apps/Mixer.app
+ PREFIX=%{_prefix}/GNUstep/Apps/Mixer.app
gzip -9nf ChangeLog README
%files
%defattr(644,root,root,755)
%doc *.gz
-%dir /usr/X11R6/GNUstep/Apps/Mixer.app
-%attr(755,root,root) /usr/X11R6/GNUstep/Apps/Mixer.app/*
+%dir %{_prefix}/GNUstep/Apps/Mixer.app
+%attr(755,root,root) %{_prefix}/GNUstep/Apps/Mixer.app/*
%changelog
* Mon May 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>