]> git.pld-linux.org Git - packages/Mixer.app.git/blobdiff - Mixer.app.spec
- more macros.
[packages/Mixer.app.git] / Mixer.app.spec
index e3f15439ce59de85fcbbb46821d2b841c217da61..6ce5b8828457483ad89c721edb64fe3f5bc1e6bb 100644 (file)
@@ -12,6 +12,8 @@ BuildPrereq:  XFree86-devel
 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
@@ -24,7 +26,7 @@ support.
 
 %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
@@ -32,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT
 
 make install \
        DESTDIR=$RPM_BUILD_ROOT \
-       PREFIX=/usr/X11R6/GNUstep/Apps/Mixer.app
+       PREFIX=%{_prefix}/GNUstep/Apps/Mixer.app
 
 gzip -9nf ChangeLog README
 
@@ -42,8 +44,8 @@ rm -rf $RPM_BUILD_ROOT
 %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>
This page took 0.030337 seconds and 4 git commands to generate.