]> git.pld-linux.org Git - packages/WSoundPrefs.git/blobdiff - WSoundPrefs.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/WSoundPrefs.git] / WSoundPrefs.spec
index a429cd2589b0254b2c3c39c02c96fb4d53e4b934..30b5a3dc4c6ebf9f4247002bf2fd7a323de921ab 100644 (file)
@@ -1,61 +1,89 @@
 Summary:       Window Maker Sound Preferences
+Summary(es):   Configuración de Sonido para Window Maker
 Summary(pl):   Konfigurator Serwera D¼wiêku WindowMakera
+Summary(pt_BR):        Preferências de Som do Window Maker
 Name:          WSoundPrefs
-Version:       1.1.0
+Version:       1.1.1
 Release:       1
-Copyright:     GPL
+License:       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
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+Patch0:                %{name}-soundpaths.patch
+Patch1:                %{name}-WINGs.patch
+Patch2:                %{name}-ComplexProgramTargetNoMan.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:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
+%define        _prefix         /usr/X11R6
+%define        _mandir         %{_prefix}/man
 
 %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 es
+Configuración de Sonido para Window Maker. Soporta básicamente:
+- que sonido tocar para determinado evento,
+- que dispositivo de sonido usar,
+- cuáles directorios buscar sonidos,
+- cargar y guardar grupos de sonidos.
+
 %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).
+
+%description -l pt_BR
+WSoundPrefs é uma aplicação baseada em WINGS para configurar o
+servidor de som do WindowMaker (WMSound). Provê basicamente as opções:
+- qual som tocar em qual evento,
+- qual dispositivo de som usar,
+- quais são as rotas para busca de arquivos sons,
+- carregar e salvar grupos de som.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 xmkmf -a
-make CDEBUGFLAGS="$RPM_OPT_FLAGS"
+%{__make} \
+       CC=%{__cc} \
+       CDEBUGFLAGS="%{rpmcflags}" 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/X11/applnk/Utilities 
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Settings/WindowMaker,%{_pixmapsdir}}
 
-make install DESTDIR=$RPM_BUILD_ROOT%{_prefix}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       BINDIR=%{_prefix}/GNUstep/Apps/WSoundPrefs.app \
+       XPMDIR=%{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm/ \
+       TIFFDIR=%{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff/
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings/WindowMaker
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 gzip -9nf ChangeLog AUTHORS
 
@@ -76,4 +104,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/xpm/*.xpm
 %{_prefix}/GNUstep/Apps/WSoundPrefs.app/tiff/*.tiff
 
-/etc/X11/applnk/Utilities/WSoundPrefs.desktop
+%{_applnkdir}/Settings/WindowMaker/WSoundPrefs.desktop
+%{_pixmapsdir}/*
This page took 0.228571 seconds and 4 git commands to generate.