]> git.pld-linux.org Git - packages/WSoundPrefs.git/blobdiff - WSoundPrefs.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/WSoundPrefs.git] / WSoundPrefs.spec
index f94d8cc2d9467d7fbd22aef8cea364e21c3369f4..3c024d2a48d0909c3059c33d2f527fa3201ad3a4 100644 (file)
@@ -2,27 +2,26 @@ Summary:      Window Maker Sound Preferences
 Summary(pl):   Konfigurator Serwera D¼wiêku WindowMakera
 Name:          WSoundPrefs
 Version:       1.1.0
-Release:       2
-Copyright:     GPL
+Release:       5
+License:       GPL
 Group:         X11/Window Managers/Tools
+Group(de):     X11/Fenstermanager/Werkzeuge
 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
+Source1:       %{name}.desktop
+Patch0:                %{name}-soundpaths.patch
 Icon:          WSoundPrefs.gif
 URL:           http://shadowmere.student.utwente.nl/wmss/
 BuildRequires: XFree86-devel
-BuildRequires: xpm-devel
-BuildRequires: WindowMaker-devel >= 0.60.0
+BuildRequires: WindowMaker-devel >= 0.62.1
 BuildRequires: libPropList-devel >= 0.8.3
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng >= 1.0.8
 BuildRequires: libtiff-devel
 BuildRequires: libungif-devel
 BuildRequires: zlib-devel
 BuildRequires: audiofile-devel
 BuildRequires: WSoundServer-devel
-Requires:      WindowMaker >= 0.60.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _prefix         /usr/X11R6
@@ -30,18 +29,18 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 WSoundPrefs is a WINGs-based application to configure the Window Maker
-Sound Server (WMSound). It is actually a replacement of the Author's older
-program called WMSound Setup (aka wmss). Basically it provides the following
-options: 
-- Which sound to play on which sound-event 
-- Which sound-device to use 
-- What are the search-paths for Sounds and SoundSets 
+Sound Server (WMSound). It is actually a replacement of the Author's
+older program called WMSound Setup (aka wmss). Basically it provides
+the following options:
+- Which sound to play on which sound-event
+- Which sound-device to use
+- What are the search-paths for Sounds and SoundSets
 - Loading and Saving of Soundsets
 
 %description -l pl
 WSoundPrefs jest opartym na bibliotece WINGs konfiguratorem Serwera
-D¼wiêku WindowMakera (WMSound). Jest to nastêpca starszego programu
-o nazwie WMSound Setup (wmss). 
+D¼wiêku WindowMakera (WMSound). Jest to nastêpca starszego programu o
+nazwie WMSound Setup (wmss).
 
 %prep
 %setup -q
@@ -49,15 +48,15 @@ o nazwie WMSound Setup (wmss).
 
 %build
 xmkmf -a
-make CDEBUGFLAGS="$RPM_OPT_FLAGS"
+%{__make} CDEBUGFLAGS="%{rpmcflags}" 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities 
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Settings/WindowMaker
 
-make install DESTDIR=$RPM_BUILD_ROOT%{_prefix}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT%{_prefix}
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings/WindowMaker
 
 gzip -9nf ChangeLog AUTHORS
 
@@ -78,4 +77,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm/*.xpm
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff/*.tiff
 
-%{_applnkdir}/Utilities/WSoundPrefs.desktop
+%{_applnkdir}/Settings/WindowMaker/WSoundPrefs.desktop
This page took 0.078757 seconds and 4 git commands to generate.