#%define prefix %{_prefix} %define prefix /usr %define ver 2.4.19 %define old_ver 2.4.19 %define rel 1dm.el4 %define old_rel 1 %define c_p --without-gnome --without-rplay-library --sysconfdir=/etc %define old_c_p --disable-multibyte --sysconfdir=/etc %define m_p CFLAGS="-O2" %define old_m_p CFLAGS="-O2" # Different distributions expect sources to be in different places; # the following solves this problem, but makes it harder to reuse .src.rpm %define _sourcedir /usr/local/src/RPM-building/SOURCES Summary: F(?) Virtual Window Manager Name: fvwm Version: %{ver} Release: %{rel} Copyright: GPL Group: X11/Window Managers Source: %{name}-%{version}.tar.gz URL: http://www.fvwm.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Packager: Durval Menezes , based on original SRPM from FVWM Workers Autoreq: 1 Requires: libXpm.so.4 #Requires: xpm >= 3.4g Requires: perl >= 5.002 # GTK, Imlib, stroke # RedHat should stop using name "fvwm" to refer to fvwm1 package. Provides: fvwm, fvwm2 Docdir: %{prefix}/share/doc %description FVWM is a powerful ICCCM-compliant multiple virtual desktop window manager for the X Window System. This 2.4 version includes new features like colorsets, ICCCM2 and GNOME compliance, session management, improvements in all modules, several new modules, revised menu code, stroke support and much more. %description -l fr FVWM est un gestionnaire de fenêtres puissant et extrêmement configurable pour le système X Window. La version 2.4 contient un grand nombre de nouvelles fonctionnalités. Voici quelques exemples: gestion des ensembles de couleurs (colorset), respect de l'ICCCM2 et du protocole GNOME, support pour les gestionnaires de sessions, amélioration des modules ainsi que de nouveaux modules, le code pour les menus a été entièrement refondu, les mouvements de souris peuvent être liés à des actions (stroke). %description -l ru FVWM Ñ×ÌÑÅÔÓÑ ÍÏÝÎÙÍ ÏËÏÎÎÙÍ ÍÅÎÅÄÖÅÒÏÍ ÄÌÑ X Window System, ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÍ ÓÔÁÎÄÁÒÔÁÍ ICCCM, Ó ÐÏÄÄÅÒÖËÏÊ ÍÎÏÖÅÓÔ×ÅÎÎÙÈ ×ÉÒÔÕÌØÎÙÈ ÄÅÓËÔÏÐÏ×. ÷ÅÒÓÉÑ 2.4 ×ËÌÀÞÁÅÔ × ÓÅÂÑ ÎÏ×ÙÅ ÏÓÏÂÅÎÎÏÓÔÉ, ÔÁËÉÅ ËÁË Ã×ÅÔÏ×ÙÅ ËÏÍÐÌÅËÔÙ (colorsets), ÓÏÏÔ×ÅÔÓÔ×ÉÅ ICCCM2 É ÓÏ×ÍÅÓÔÉÍÏÓÔØ Ó GNOME, ÕÐÒÁ×ÌÅÎÉÅ ÓÅÓÓÉÊ, ÕÌÕÞÛÅÎÉÑ ×Ï ×ÓÅÈ ÍÏÄÕÌÑÈ, ÎÅÓËÏÌØËÏ ÎÏ×ÙÈ ÍÏÄÕÌÅÊ, ÐÅÒÅÒÁÂÏÔÁÎÎÙÊ ËÏÄ ÍÅÎÀ, ÐÏÄÄÅÒÖËÁ stroke É ÍÎÏÇÏÅ ÄÒÕÇÏÅ. %prep %setup %build # gnome libs are only used in FvwmGtk, probably it is overhead to require it # compiling without -g saves about 7Mb ./configure --prefix=%{prefix} %{c_p} make %{m_p} %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING INSTALL INSTALL.fvwm NEWS README %doc docs/ANNOUNCE docs/BUGS docs/DEVELOPERS docs/FAQ docs/TODO %doc docs/color_combos docs/error_codes docs/fvwm.lsm docs/m4_hacks %{prefix}/bin/* %{prefix}/libexec/* %{prefix}/man/*/* %{prefix}/share/* %changelog * Wed Mar 1 2006 Durval Menezes [2.4.19-1dm.el4] - Adapted to TMPLinux4 (RHEL4-based). ## TODO: how to specify the current date in .spec? Or how to run a `command`? #%changelog # #* Wed 12 May 2000 20:00:00 IDT FVWM Workers #- Auto building %{PACKAGE_VERSION} # #* Wed 12 May 2000 20:00:00 IDT Mikhael Goikhman #- First try at making the package