]> git.pld-linux.org Git - packages/WSoundPrefs.git/commitdiff
- fixed paths to sound && config files
authorpius <pius@pld-linux.org>
Wed, 13 Oct 1999 19:49:16 +0000 (19:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added more rpm macros
- cosmetics
- release 2

Changed files:
    WSoundPrefs.spec -> 1.12

WSoundPrefs.spec

index 7ab1fb3b70ceb9201de8f6251e751b21021cf3e9..c585aa04d113cb4cd48f80fcc0c0ba91ef001b8c 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Window Maker Sound Preferences
 Summary(pl):   Konfigurator Serwera D¼wiêku WindowMakera
 Name:          WSoundPrefs
 Version:       1.1.0
-Release:       1
+Release:       2
 Copyright:     GPL
 Group:         X11/Window Managers/Tools
 Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
 Source0:       ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
 Source1:       WSoundPrefs.desktop
+Patch:         WSoundPrefs-soundpaths.patch
 Icon:          WSoundPrefs.gif
 URL:           http://shadowmere.student.utwente.nl/wmss/
 BuildRequires: XFree86-devel
@@ -24,8 +25,9 @@ BuildRequires:        WSoundServer-devel
 Requires:      WindowMaker >= 0.60.0
 BuildRoot:     /tmp/%{name}-%{version}-root
 
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
+%define        _prefix         /usr/X11R6
+%define        _mandir         %{_prefix}/man
+%define                _applnkdir      %{_datadir}/applnk
 
 %description
 WSoundPrefs is a WINGs-based application to configure the Window Maker
@@ -44,6 +46,7 @@ o nazwie WMSound Setup (wmss).
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 xmkmf -a
@@ -51,11 +54,11 @@ make CDEBUGFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities 
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities 
 
 make install DESTDIR=$RPM_BUILD_ROOT%{_prefix}
 
-install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
 
 gzip -9nf ChangeLog AUTHORS
 
@@ -76,4 +79,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm/*.xpm
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff/*.tiff
 
-/usr/X11R6/share/applnk/Utilities/WSoundPrefs.desktop
+%{_applnkdir}/Utilities/WSoundPrefs.desktop
This page took 0.09107 seconds and 4 git commands to generate.