%define extraver 0.1 Summary: NeXT-alike window manager Summary(fr): Gestionnaire de fenętres avec le look NeXT Summary(pl): Menedżer okien w stylu NeXT Name: WindowMaker Version: 0.60.0 Release: 3 Group: X11/Window Managers Group(pl): X11/Zarządcy Okien Copyright: GPL Source0: ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-%{version}.tar.bz2 Source1: ftp://windowmaker.org/pub/WindowMaker-data.tar.gz Source2: ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-extra-%{extraver}.tar.gz Patch0: WindowMaker-CFLAGS.patch Patch1: WindowMaker-wmconfig.patch Patch2: WindowMaker-a_macro.patch Patch3: WindowMaker-pixmaps.patch Patch4: WindowMaker-shared.patch Patch5: WindowMaker-areas.patch Patch6: WindowMaker-runinst.patch Patch7: WindowMaker-ru.po.patch Patch8: Windowmaker-WINGs.h.patch Patch9: WindowMaker-singleclick.patch URL: http://www.windowmaker.org/ BuildRequires: libPropList-devel >= 0.8.3 BuildRequires: xpm-devel BuildRequires: libpng-devel BuildRequires: libjpeg-devel >= 6b BuildRequires: libtiff-devel BuildRequires: libungif-devel BuildRequires: gettext Requires: wmconfig Requires: /lib/cpp Requires: %{name}-libs = %{version} BuildRoot: /tmp/%{name}-%{version}-root %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %define _sysconfdir /etc/X11 %description WindowMaker is a window manager designed to emulate the look and feel of part of the NEXTSTEP(tm) GUI. It's supposed to be fast, relatively small, feature rich and easy to configure, with a simple and elegant appearance borrowed from NEXTSTEP(tm). %description -l fr WindowMaker est un "Window Manager" conçu pour émuler l'apparence et la sensation de l'interface graphique NeXTSTEP(tm). Il est suposé ętre rapide, relativement petit, facile a configurer, extremement complet et avec l'apparence simple et élégante empruntée a NeXTSTEP(tm). %description -l pl WindowMaker jest menedżerem okien przypominający wyglądem i wygodą obsługi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo mały, o dużych możliwościach i łatwy w konfiguracji. Konfiguruje się go myszką, za pomocą programu WPrefs wchodzącego w skład tego pakietu. %package libs Summary: WindowMaker shared libraries Summary(pl): Biblioteki współdzielone WindowMakera Group: Libraries Group(pl): Biblioteki %description libs This package contains shared libraries for run WindowMaker. %description libs -l pl Ten pakiet zawiera biblioteki współdzielone niezbędne do pracy menedżera okien WindowMaker. %package devel Summary: WindowMaker libraries Summary(fr): Librairies de WindowMaker Summary(pl): Biblioteki WindowMakera Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-libs = %{version} %description devel This package contains libraries for building WindowMaker-enhanced applications. %description devel -l fr Ce paquet contient des librairies pour faire des applications mise en valeur par WindowMaker. %description devel -l pl Ten pakiet zawiera pliki nagłówkowe i biblioteki niezbędne do tworzenia aplikacji wykorzystujących możliwości menedżera okien WindowMaker. %package static Summary: WindowMaker static libraries Summary(pl): Biblioteki statyczne WindowMakera Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static This package contains static libraries for building WindowMaker-enhanced applications. %description static -l pl Ten pakiet zawiera statyczne biblioteki niezbędne do tworzenia aplikacji wykorzystujących możliwości menedżera okien WindowMaker. %prep %setup -q -a 1 -a 2 %patch0 -p1 %patch1 -p0 %patch2 -p0 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p0 %patch8 -p1 %patch9 -p1 %build autoconf 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 CPP_PATH="/lib/cpp" ; export CPP_PATH %configure \ --sysconfdir=%{_sysconfdir} \ --with-nlsdir=%{_datadir}/locale \ --enable-kanji \ --enable-sound \ --enable-gnome \ --disable-debug \ --enable-superfluous \ --enable-newstyle \ --enable-kde \ --enable-shared \ --enable-static \ --enable-usermenu 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" \ CFLAGS="$RPM_OPT_FLAGS" \ LDFLAGS="-s" autoconf cd %{name}-extra-%{extraver} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure %{_target_platform} \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --with-nlsdir=%{_datadir}/locale \ --with-iconsdir=%{_datadir}/pixmaps %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps make install \ 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" \ DESTDIR=$RPM_BUILD_ROOT install util/bughint $RPM_BUILD_ROOT%{_bindir} install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps (cd %{name}-extra-%{extraver}; make DESTDIR=$RPM_BUILD_ROOT install ) strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.* gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README %find_lang %{name} %find_lang WPrefs cat WPrefs.lang >> %{name}.lang %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -r $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS.gz BUGFORM.gz BUGS.gz %doc ChangeLog.gz FAQ.gz NEWS.gz README.gz %dir /etc/X11/WindowMaker %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/* %{_mandir}/man1/* %{_datadir}/pixmaps/* %attr(755,root,root) %{_bindir}/geticonset %attr(755,root,root) %{_bindir}/getstyle %attr(755,root,root) %{_bindir}/seticons %attr(755,root,root) %{_bindir}/setstyle %attr(755,root,root) %{_bindir}/wdwrite %attr(755,root,root) %{_bindir}/wkdemenu.pl %attr(755,root,root) %{_bindir}/wm-oldmenu2new %attr(755,root,root) %{_bindir}/wmaker %attr(755,root,root) %{_bindir}/wmaker.inst %attr(755,root,root) %{_bindir}/wmsetbg %attr(755,root,root) %{_bindir}/wsetfont %attr(755,root,root) %{_bindir}/wxcopy %attr(755,root,root) %{_bindir}/wxpaste %{_datadir}/WindowMaker %dir %{_prefix}/GNUstep %dir %{_prefix}/GNUstep/Apps %dir %{_prefix}/GNUstep/Apps/WPrefs.app %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs %{_prefix}/GNUstep/Apps/WPrefs.app/tiff %{_prefix}/GNUstep/Apps/WPrefs.app/xpm %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm %files libs %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %{_datadir}/WINGs %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_bindir}/get-wraster-flags %{_includedir}/*.h %{_libdir}/lib*.la %files static %defattr(644,root,root,755) %{_libdir}/lib*.a