Summary(ru): WindowMaker - ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
Summary(uk): WindowMaker - צËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
Name: WindowMaker
-Version: 0.80.0
-Release: 8
+Version: 0.80.1
+Release: 2
License: GPL
Group: X11/Window Managers
Source0: ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.bz2
Patch6: %{name}-singleclick.patch
Patch7: %{name}-plmenu.patch
Patch8: %{name}-dockit.patch
+Patch9: %{name}-po.patch
URL: http://www.windowmaker.org/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q -a 1 -a 2
%patch0 -p1
-%patch1 -p0
+%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
for f in WindowMaker/*menu*; do
- sed s,/usr/local/GNUstep/,/usr/X11R6/lib/GNUstep/, $f >$f.new
- mv -f $f.new $f
+ sed s,/usr/local/GNUstep/,/usr/X11R6/lib/GNUstep/, $f >$f.new
+ mv -f $f.new $f
done
%build
-libtoolize --copy --force
+%{__libtoolize}
aclocal
-autoconf
-automake -a -c -f
+%{__autoconf}
+%{__automake}
cd %{name}-extra-%{extraver}
-libtoolize --copy --force
+%{__libtoolize}
aclocal
-autoconf
-automake -a -c -f
+%{__autoconf}
+%{__automake}
cd ..
-LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru \
- se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
+LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
+ sk sv tr zh_CN zh_TW.Big5" ; export LINGUAS
CPP_PATH="/lib/cpp" ; export CPP_PATH
-
-if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
- CPPFLAGS="`pkg-config libpng12 --cflags`"
-fi
-%configure CPPFLAGS="$CPPFLAGS" \
+%configure \
--with-nlsdir=%{_datadir}/locale \
--with-appspath=%{_libdir}/GNUstep/Apps \
--enable-sound \
touch WindowMaker/Defaults/W*.in
%{__make} \
- LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru \
- se sk tr zh_CN zh_TW.Big5" \
+ LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
+ sk sv tr zh_CN zh_TW.Big5" \
CFLAGS="%{rpmcflags}" \
LDFLAGS="%{rpmldflags}"
-autoconf
+%{__autoconf}
cd %{name}-extra-%{extraver}
%configure \
--with-nlsdir=%{_datadir}/locale \
%{__make} DESTDIR=$RPM_BUILD_ROOT install
cd ..
-gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
-
%find_lang %{name} --all-name
%post libs -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
%dir %{_sysconfdir}/WindowMaker
%config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
/etc/sysconfig/wmstyle/*.names
%{_mandir}/man1/*
+%lang(sk) %{_mandir}/sk/man1/*
%{_pixmapsdir}/*
%{_wmpropsdir}/WindowMaker.desktop
%attr(755,root,root) %{_bindir}/getstyle
%attr(755,root,root) %{_bindir}/seticons
%attr(755,root,root) %{_bindir}/setstyle
+%attr(755,root,root) %{_bindir}/wcopy
%attr(755,root,root) %{_bindir}/wdwrite
%attr(755,root,root) %{_bindir}/wdread
%attr(755,root,root) %{_bindir}/wkdemenu.pl
%attr(755,root,root) %{_bindir}/wmaker
%attr(755,root,root) %{_bindir}/wmaker.inst
%attr(755,root,root) %{_bindir}/wmsetbg
+%attr(755,root,root) %{_bindir}/wmsetup
%attr(755,root,root) %{_bindir}/wmchlocale
+%attr(755,root,root) %{_bindir}/wpaste
%attr(755,root,root) %{_bindir}/wsetfont
%attr(755,root,root) %{_bindir}/wxcopy
%attr(755,root,root) %{_bindir}/wxpaste