fvwm2/fvwm2.spec

432 lines
16 KiB
RPMSpec
Raw Normal View History

#
# spec file for package fvwm2 (Version 2.5.20)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: fvwm2
BuildRequires: freetype2-devel fribidi-devel gcc-c++ gtk-devel gtkdoc imlib-config imlib-devel libpng-devel libstroke-devel pkgconfig readline-devel update-desktop-files xorg-x11
License: BSD License and BSD-like
Group: System/GUI/Other
Provides: fvwmicns windowmanager xpmroot
Obsoletes: fvwm xpmroot
Autoreqprov: on
Version: 2.5.20
Release: 2
Summary: Improved Version of FVWM Window Manager
URL: http://www.fvwm.org
Source0: fvwm-2.5.20.tar.bz2
Source1: fvwm_icons.tar.bz2
Source3: %name.desktop
Source4: system.fvwm2rc
Source5: _system.fvwm2rc
Source6: openSuSE.xpm
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: xdg-menu, desktop-data, mktemp, xli, xorg-x11
Patch0: fvwm-configure.patch
Patch1: fvwm-%{version}-gcc-warnings.patch
Patch2: fvwm-%{version}-ia64.patch
%description
FVWM is a virtual desktop window manager for the X Window System.
FVWM is intended to have a small memory footprint but a rich feature
set, to be extremely customizable and extendible, and to be very
compatible with the Motif MWM.
Authors:
--------
The fvwm developers <fvwm-workers@fvwm.org>
%if "%(xft-config --prefix)" == "/usr"
%define _xorg7libs %_lib
%define _xorg7bin bin
%define _xorg7libs32 lib
%define _xorg7libshare share
%define _xorg7prefix /usr
%define _xorg7mandir %_mandir
%else
%define _xorg7libs X11R6/%_lib
%define _xorg7bin X11R6/bin
%define _xorg7libshare X11R6/lib
%define _xorg7libs32 X11R6/lib
%define _xorg7prefix /usr/X11R6
%define _xorg7mandir /usr/X11R6/man
%endif
%prep
%setup -q -n fvwm-2.5.20
%patch0
%patch1
%patch2
mkdir icons
tar -C icons -j -x -v -f $RPM_SOURCE_DIR/fvwm_icons.tar.bz2
cp %{S:6} icons
#
# build
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
LDFLAGS="-L/usr/%_lib" \
./configure \
--prefix=%{_xorg7prefix} \
--bindir=%{_prefix}/%{_xorg7bin} \
--sysconfdir=/etc/X11/fvwm2 \
--libexecdir=%{_xorg7prefix}/lib/X11/fvwm2 \
--mandir=%{_xorg7mandir} \
--x-includes=%{_xorg7prefix}/include \
--x-libraries=%{_xorg7prefix}/%_lib
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
#make prefix=$RPM_BUILD_ROOT%{_xorg7prefix} \
# sysconfdir=$RPM_BUILD_ROOT/etc/X11/fvwm2 \
# install
#
# default config
install -d -m 755 $RPM_BUILD_ROOT/etc/X11/fvwm2
%if "%(xft-config --prefix)" == "/usr"
install -m 644 %SOURCE4 $RPM_BUILD_ROOT/etc/X11/fvwm2/system.fvwm2rc
%else
install -m 644 %SOURCE5 $RPM_BUILD_ROOT/etc/X11/fvwm2/system.fvwm2rc
%endif
#
# some extra utils
install -d -m 755 $RPM_BUILD_ROOT%{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils
install utils/quantize_pixmaps $RPM_BUILD_ROOT%{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils
#
# documentation for modules
install -d -m 755 docu-module
for i in `find -name "README*" ! -name "*,v" ! -name "*.orig"`
do
TMPDIR=`dirname ${i#./}`
if [ "x$TMPDIR" = "x." ]; then
install -m 644 $i docu-module/${i#./}
else
install -m 644 $i docu-module/README.`basename "$TMPDIR"`
fi
done
#
# icons
install -d -m 755 $RPM_BUILD_ROOT%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
install -m 644 icons/* $RPM_BUILD_ROOT%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
#
# install kdm/gdm entry
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/xsessions/
install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/xsessions/
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/%name.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS docs sample.fvwmrc docu-module/*
%dir /etc/X11/fvwm2
%config /etc/X11/fvwm2/system.fvwm2rc
%{_prefix}/%{_xorg7bin}/*
%{_prefix}/%{_xorg7libs32}/X11/fvwm2/*
%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps/*
%{_xorg7prefix}/share/locale/*/*/*
%{_xorg7prefix}/share/fvwm/*
%{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils/quantize_pixmaps
%dir %{_xorg7prefix}/lib/X11/fvwm2
%{_xorg7prefix}/share/fvwm
%dir %{_xorg7prefix}/share/locale/sv_SE
%dir %{_xorg7prefix}/share/locale/sv_SE/LC_MESSAGES
%dir %{_prefix}/%{_xorg7libshare}/X11/fvwm2
%dir %{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
%dir %{_prefix}/%{_xorg7libshare}/X11/fvwm2/utils
%{_xorg7mandir}/man1/*
%{_datadir}/xsessions/*desktop
%if "%(xft-config --prefix)" == "/usr/X11R6"
%dir %{_xorg7prefix}/share/locale/ar
%dir %{_xorg7prefix}/share/locale/ar/LC_MESSAGES
%dir %{_xorg7prefix}/share/locale/de
%dir %{_xorg7prefix}/share/locale/de/LC_MESSAGES
%dir %{_xorg7prefix}/share/locale/fr
%dir %{_xorg7prefix}/share/locale/fr/LC_MESSAGES
%dir %{_xorg7prefix}/share/locale/zh_CN
%dir %{_xorg7prefix}/share/locale/zh_CN/LC_MESSAGES
%endif
%changelog -n fvwm2
* Wed Jan 24 2007 - lmichnovic@suse.cz
- removed superfluous slashes ante macros
- now building with icecream
* Tue Jan 16 2007 - lmichnovic@suse.cz
- fixed wrong path for icons in system.fvwm2rc [#223521]
- changed titles to openSUSE
- created openSuSE.xpm icon for Button bar menu
- spec cleanup
* Mon Jan 15 2007 - lmichnovic@suse.cz
- update to 2.5.20
- many bug fixes
- fixed few memory leaks
- some new functions and features:
* "Mouse n M N" is no longer used to disable or remap the
builtin tear off menu button. See the section Tear Off Menus.
* Full support for menu context (M) key and mouse bindings.
* New window conditions: StickyIcon, StickyAcrossPagesIcon
and StickyAcrossDesksIcon.
* Hilighted menu backgrounds now use pixmaps gradients and
transparency from their related colorset.
* Fri Jan 05 2007 - lmichnovic@suse.cz
- fixed missing background image [#223521]
* Tue Dec 19 2006 - lmichnovic@suse.cz
- added xorg-x11 into Requires and Buildrequires and excluding
/usr/share/xsessions directory from filelist [#229172]
* Tue Dec 12 2006 - lmichnovic@suse.cz
- update to version 2.5.19 including bugfix in FvwmWinList: problem
with window name/button mixups during Init/Restart of fvwm.
* Many bugfixes:
- fvwm no longer crashes on 1 and 4 bit displays.
- Security fix in fvwm-menu-directory. (CVE-2006-5969)
- which obsoletes *sec-fvwmname.patch
* New features (from version 2.5.17):
- New MenuStyle options TitleFont, TitleColorset and
HilightTitleBack.
- New command PressButton in module FvwmButtons for being able
to emulate button press via other means than the mouse.
- New wrap options to EdgeScroll command for wrapping with pixel
distances.
- New Style option UnderMousePlacement.
- Unused arguments to Style options generate warnings.
- The name style names match against can be augmented by the
X-resource "fvwmstyle".
- New options, Reverse and UseStack, to All command.
- WindowShade can now reshade windows using the Last direction.
- Positional parameters to complex functions can now be expanded
using $[n], $[n-m], $[n-] and $[*] expressions.
- The width and height arguments of the Resize command now
accept the prefix 'w' to allow resizing relative to the
current window size.
- New command ModuleListenOnly.
- New "Periodic" option added to Schedule command.
* Tue Nov 14 2006 - lmichnovic@suse.cz
- fixed possible command execution (sec-fvwmname.patch) [#220708]
* Tue Sep 05 2006 - lmichnovic@suse.cz
- distinquishing from X.org version which config file to install
(Source4 resp. Source5)
* Mon Sep 04 2006 - lmichnovic@suse.cz
- omitting X11R6 in config file (which is Source4)
- specifying X.org libs and headers
* Sun Aug 06 2006 - pnemec@suse.cz
- major change in specfile instalation and file section to build
with Xorg 7
* Mon Jul 03 2006 - schwab@suse.de
- Set mandir.
* Tue May 30 2006 - pnemec@suse.cz
- updated to 2.5.16
clean up in code see changelog
- patches (-64bit, -grab_pointer, -conf) are in upstream now
- patch -ia64 is in upstream only partially
* Fri Feb 17 2006 - pnemec@suse.cz
- fixed menu entry #150221
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 20 2005 - pnemec@suse.cz
- changed fvmw default theme to use diferent program to set background #106011
- fixed gcc warnings
* Thu Aug 25 2005 - schwab@suse.de
- Remove obsolete patch.
* Mon May 16 2005 - ltinkl@suse.cz
- update to 2.5.12
- adapt patches
* Thu Feb 10 2005 - adrian@suse.de
- install session desktop file
* Thu Jan 27 2005 - ro@suse.de
- add 64bit fix from lubos (#50203)
* Fri May 07 2004 - ltinkl@suse.cz
- added mktemp to requirements
- updated sources to 2.5.10
* Thu Apr 08 2004 - ltinkl@suse.cz
- fix button background (#37677)
* Thu Mar 18 2004 - ltinkl@suse.cz
- fixed missing icons (#35551)
- fixed SUSE helpcenter command line
- reworked color scheme to match the current blueish design
- build the list of screensavers dynamically
- fixed the invocation of fvwm2 manpage
- build with -fno-strict-aliasing
- make Acroread work in fullscreen mode (#36189)
* Mon Mar 15 2004 - kukuk@suse.de
- Provide/Obsolete xpmroot
* Thu Mar 11 2004 - ltinkl@suse.cz
- SuSE -> SUSE
- use the default system wallpaper (#31644, #35687)
* Tue Mar 09 2004 - schwab@suse.de
- Don't require on xpmroot.
* Thu Mar 04 2004 - ltinkl@suse.cz
- updated to 2.4.9
* Wed Jan 28 2004 - ltinkl@suse.cz
- fix security problem with temp file handling (#34077)
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Wed Dec 17 2003 - mfabian@suse.de
- enable building with Xft2 again (configure script had changed
the way of detecting Xft2, therefore building with Xft2 was
accidentally disabled again after the update).
* Tue Nov 18 2003 - ltinkl@suse.cz
- update to latest stable version 2.5.8
* Wed Sep 17 2003 - ltinkl@suse.cz
- fix menu encoding (has to be UTF-8)
- fix RMB desktop menu
* Mon Sep 15 2003 - ltinkl@suse.cz
- adjusted default fonts and fixed some broken menu entries (#30521)
* Sat Sep 13 2003 - schwab@suse.de
- Workaround broken module interface (it can't handle padding).
* Fri Sep 05 2003 - mfabian@suse.de
- enable Xft2 support to get better i18n support out of the box
and to be able to finally fix Bugzilla #24765.
- change system.fvwm2rc to use only fonts via Xft2 by default
- specify "StringEncoding=UTF-8:" and ":encoding=iso10646-1"
for all fonts (config file should be UTF-8 encoded!).
- remove my fvwm-nls-examples.tar.bz2 documentation, it is very
obsolete now.
- add xpmroot to Requires because it is used to draw the
background in system.fvwmrc.
* Fri Sep 05 2003 - ltinkl@suse.cz
- integrate common (XDG) menu, closes #29498
* Tue Sep 02 2003 - ltinkl@suse.cz
- created an implicit configuration to fix #29498
* Wed Jul 30 2003 - schwab@suse.de
- Update to fvwm 2.5.7.
- Fix misalignment bug.
* Tue Jul 15 2003 - ltinkl@suse.cz
- updated sources to 2.4.16
* Sat Mar 08 2003 - adrian@suse.de
- add wallpaper background pixmap
* Sun Feb 16 2003 - adrian@suse.de
- do not require icon packages anymore, default config will be
without icons due to dropped package. Let's see what breaks :/
* Tue Feb 04 2003 - pmladek@suse.cz
- updated to version 2.4.15 (many bug fixes)
* Tue Sep 03 2002 - mfabian@suse.de
- add fvwm-2.4.8-utf-8-font-load.patch.
Thanks to Egbert Eich <eich@suse.de>
Without this patch, fvwm2 doesn't work in UTF-8 locales.
It writes many "internal error" messages about missing fonts
to stdout and the menus are empty because the fonts couldn't
be loaded. I.e. without this patch fvwm2 is unusable in UTF-8
locales.
* Sat Aug 17 2002 - ro@suse.de
- don't duplicate README's in filelist
* Tue Jul 09 2002 - pmladek@suse.cz
- updated to version 2.4.8:
* many bugfixes, some improvents
- removed obsolete ia64-prep patch
* Tue Apr 02 2002 - pmladek@suse.cz
- fixed to compile with autoconf-2.53
* added missing brackets into smr_SWITCH macro
* removed redundant AC_SUBST(LIBOBJS)
* Wed Mar 06 2002 - mmj@suse.de
- Fixed permissions [Bug #14421]
* Sun Feb 10 2002 - ro@suse.de
- new option for bz2 tar is "j"
* Tue Feb 05 2002 - pmladek@suse.cz
- updated to version 2.4.5
* Mon Jan 21 2002 - pmladek@suse.cz
- updated to version 2.4.4
* Tue Dec 04 2001 - pmladek@suse.cz
- fixed too long time of deadlock when fvwm2 tries to grab mouse
pointer but the mouse pointer is already grabbed by another
application (#12167)
* Thu Nov 29 2001 - pmladek@suse.cz
- updated to version 2.4.3
* many bug fixes
* new commands and options
* Thu Aug 09 2001 - pmladek@suse.cz
- updated to stable version 2.4.0
- fixed configure.in
* forget cached value in readline tests
* Thu Jun 14 2001 - pmladek@suse.cz
- fixed to compile with new automake
* Wed May 16 2001 - pmladek@suse.cz
- fixed cast warnigs on ia64
* Thu May 10 2001 - pmladek@suse.cz
- removed link:
ln -sf system.fvwm2rc $RPM_BUILD_ROOT/etc/X11/fvwm2/.fvwm2rc
(because susewm generates right config file system.fvwm2rc now)
- /etc/X11/fvwm2/system.fvwm2rc is right config file now
* Tue Apr 24 2001 - pmladek@suse.cz
- fixed conversions int <-> poiter on ia64
- fixed preprocesor problems on ia64
* Thu Apr 12 2001 - pmladek@suse.cz
- updated to version 2.3.31
* Mon Apr 09 2001 - pmladek@suse.cz
- added icons-xpm to Requires
* Wed Apr 04 2001 - mfabian@suse.de
- removed rplay again from "# neededforbuild" because a small
fvwm2 is needed as a default windowmanager and rplay will not
be in the default selection.
* Wed Apr 04 2001 - mfabian@suse.de
- added libstroke, libstroke-devel, and rplay to "# neededforbuild"
(request of upstream fvwm2 authors)
* Fri Mar 30 2001 - pmladek@suse.cz
- updated to version 2.3.30
- added URL
- compiled witk GTK and IMLIB
* added gtk gtk-devel gtkdoc glib glib-devel imlib imlib-devel
imlib-config to neededforbuild
- fixed call of suse_update_config
* Thu Mar 15 2001 - cihlar@suse.cz
- fixed file list
- removed xselection, package xselect is better
* Wed Mar 07 2001 - mfabian@suse.de
- repair packaging mistake, forgot to pack /usr/X11R6/share/
* Wed Mar 07 2001 - mfabian@suse.de
- upgrade to fvwm2-2.3.29
- improve nls examples
* Fri Feb 23 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
* Sun Jan 28 2001 - mfabian@suse.de
- upgraded to "stable beta release" FVWM 2.3.28.
- added icons tarball (previously included in main tarball)
- added "--enable-multibyte" to ./configure
- added fvwm-nls-examples.tar.bz2 (explanation and examples
for native language support, especially for Japanese)
- added symlink:
ln -sf system.fvwm2rc $RPM_BUILD_ROOT/etc/X11/fvwm2/.fvwm2rc
(because fvwm2 now reads only /etc/X11/fvwm2/system.fvwm2rc, but
SuSEconfig generates /etc/X11/fvwm/.fvwm2rc)
- removed patches changing path of perl (handled by configure now)
- removed old i18n patch (already included upstream now)
* Wed Dec 13 2000 - cihlar@suse.cz
- fixed i18n patch [#4532]
- removed %%preun
* Mon Nov 20 2000 - cihlar@suse.cz
- fixed neededforbuild
- requires: icons ...
* Fri Oct 13 2000 - cihlar@suse.cz
- fixed i18n
- bzipped sources
- fixed configuration
* Fri Aug 18 2000 - cihlar@suse.cz
- fixed to work with new pixmaps
- fixed config file
* Tue Jun 06 2000 - kukuk@suse.de
- Update to 2.2.4
- Move sysconfdir to /etc/X11/fvwm2
* Mon Jun 05 2000 - ro@suse.de
- doc relocation
* Mon Dec 13 1999 - ro@suse.de
- use /usr/X11R6/bin instead of /usr/bin/X11
- use /usr/X11R6/lib/X11 instead of /usr/lib/X11
* Mon Sep 20 1999 - ro@suse.de
- added Provides windowmanager
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Sat Jul 17 1999 - maddin@suse.de
- created package version 2.2.2 (based on and conflicting with fvwm-2.0)