Patch1: %{name}-api.patch
Patch2: %{name}-ComplexProgramTargetNoMan.patch
Patch3: %{name}-wstrappend_bad_use.patch
+Patch4: %{name}-x.patch
BuildRequires: WSoundServer-devel
BuildRequires: WindowMaker-devel >= 0.62.1
-BuildRequires: XFree86-devel
BuildRequires: audiofile-devel
BuildRequires: giflib-devel
BuildRequires: libPropList-devel >= 0.8.3
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
xmkmf -a
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- BINDIR=%{_libdir}/GNUstep/Apps/WSoundPrefs.app \
- XPMDIR=%{_libdir}/GNUstep/Apps/WSoundPrefs.app/xpm/ \
- TIFFDIR=%{_libdir}/GNUstep/Apps/WSoundPrefs.app/tiff/
+ BINDIR=%{_libdir}/GNUstep/Applications/WSoundPrefs.app \
+ XPMDIR=%{_libdir}/GNUstep/Applications/WSoundPrefs.app/xpm/ \
+ TIFFDIR=%{_libdir}/GNUstep/Applications/WSoundPrefs.app/tiff/
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
%files
%defattr(644,root,root,755)
%doc ChangeLog AUTHORS
-%attr(755,root,root) %{_libdir}/GNUstep/Apps/WSoundPrefs.app/WSoundPrefs
+%attr(755,root,root) %{_libdir}/GNUstep/Applications/WSoundPrefs.app/WSoundPrefs
-%dir %{_libdir}/GNUstep/Apps/WSoundPrefs.app
-%dir %{_libdir}/GNUstep/Apps/WSoundPrefs.app/xpm
-%dir %{_libdir}/GNUstep/Apps/WSoundPrefs.app/tiff
+%dir %{_libdir}/GNUstep/Applications/WSoundPrefs.app
+%dir %{_libdir}/GNUstep/Applications/WSoundPrefs.app/xpm
+%dir %{_libdir}/GNUstep/Applications/WSoundPrefs.app/tiff
-%{_libdir}/GNUstep/Apps/WSoundPrefs.app/*.tiff
-%{_libdir}/GNUstep/Apps/WSoundPrefs.app/*.xpm
-%{_libdir}/GNUstep/Apps/WSoundPrefs.app/xpm/*.xpm
-%{_libdir}/GNUstep/Apps/WSoundPrefs.app/tiff/*.tiff
+%{_libdir}/GNUstep/Applications/WSoundPrefs.app/*.tiff
+%{_libdir}/GNUstep/Applications/WSoundPrefs.app/*.xpm
+%{_libdir}/GNUstep/Applications/WSoundPrefs.app/xpm/*.xpm
+%{_libdir}/GNUstep/Applications/WSoundPrefs.app/tiff/*.tiff
%{_desktopdir}/WSoundPrefs.desktop
%{_pixmapsdir}/*