icewm/icewm.spec

418 lines
14 KiB
RPMSpec

#
# spec file for package icewm (Version 1.2.30)
#
# 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: icewm
BuildRequires: gcc-c++ giflib-devel gnome-desktop-devel imlib-devel libtiff-devel update-desktop-files
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/GUI/Other
Provides: windowmanager
Requires: icewm-bin, xdg-menu, desktop-data
Autoreqprov: on
Version: 1.2.30
Release: 17
Source: icewm-%{version}.tar.bz2
Source1: %{name}.desktop
Patch0: icewm-LANG.menu.patch
Patch1: icewm-multiByte.patch
Patch2: icewm-menu.patch
Patch3: icewm-docdir.patch
Patch4: icewm-1.2.30-strict-aliasing.patch
URL: http://www.icewm.org/
Summary: Window Manager with a Taskbar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A window manager for the X Window System that can emulate the look of
Windows '95, OS/2 Warp 3, OS/2 Warp 4, and Motif and tries to take the
best features from those systems. IceWM features multiple workspaces,
opaque move and resize, a taskbar, a window list, mailbox status, and a
digital clock. It is fast and small.
Authors:
--------
Marko Macek <Marko.Macek@gmx.net>
%package default
Summary: Window Manager with a Taskbar--Default Version
Group: System/GUI/Other
Provides: icewm-bin
Requires: icewm
Conflicts: icewm-lite
%description default
A window manager for the X Window System that can emulate the look of
Windows '95, OS/2 Warp 3, OS/2 Warp 4, and Motif and tries to take the
best features from those systems. IceWM features multiple workspaces,
opaque move and resize, a taskbar, a window list, mailbox status, and a
digital clock. It is fast and small.
Authors:
--------
Marko Macek <Marko.Macek@gmx.net>
%package gnome
Summary: Windowmanager with Taskbar - gnome version
Group: System/GUI/GNOME
Requires: icewm-default
%description gnome
Window Manager for X Window System. Can emulate the look of Windows 95,
OS/2 Warp 3,4, Motif. Tries to take the best features of the above
systems. Features multiple workspaces, opaque move and resize, task
bar, window list, mailbox status, digital clock. Fast and small.
This package adds GNOME menu and sound support to icewm.
Authors:
--------
Marko Macek <Marko.Macek@gmx.net>
%prep
%setup -b 0 -n icewm-%{version}
%patch0 -p1
%patch1
%patch2
%patch3
%patch4
%build
%{?suse_update_config:%{suse_update_config -f}}
autoconf
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%_lib/pkgconfig
./configure --without-debug \
--sysconfdir=/etc \
--with-cfgdir=/etc/icewm \
--prefix=/usr \
--with-docdir=%{_docdir} \
--enable-i18n \
--enable-nls \
--enable-corefonts \
--enable-guievents \
--enable-antialiasing \
--enable-gradients \
--enable-shaped-decorations \
--with-icesound=oss,esd \
--with-imlib \
--enable-menus-gnome2
make %{?jobs:-j%jobs}
%install
rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install install-docs
mkdir -p $RPM_BUILD_ROOT/etc/icewm
for cfgfile in keys menu preferences toolbar winoptions ; do
mv $RPM_BUILD_ROOT/usr/share/icewm/$cfgfile \
$RPM_BUILD_ROOT/etc/icewm
done
%{find_lang} icewm
cd src
install genpref $RPM_BUILD_ROOT/usr/bin
ln -s icewm.html $RPM_BUILD_ROOT/%{_docdir}/icewm/index.html
cat >>$RPM_BUILD_ROOT/etc/icewm/preferences <<EOF
# set SUSE wallpaper
DesktopBackgroundCenter=1
SupportSemitransparency=1
DesktopBackgroundScaled=1
DesktopBackgroundImage="/usr/share/wallpapers/default-1600x1200.jpg"
EOF
# install the xsession desktop file
mkdir -p $RPM_BUILD_ROOT/usr/share/xsessions
cp -f %{SOURCE1} $RPM_BUILD_ROOT/usr/share/xsessions
%clean
rm -rf $RPM_BUILD_ROOT;
%files -f icewm.lang
%defattr(-,root,root)
%doc %{_docdir}/icewm
%dir /etc/icewm
%config /etc/icewm/*
/usr/share/icewm/
/usr/share/xsessions/*
%files default
%defattr(-,root,root)
/usr/bin/icewm
/usr/bin/icewmhint
/usr/bin/icewmbg
/usr/bin/icehelp
/usr/bin/icesh
/usr/bin/genpref
/usr/bin/icewmtray
/usr/bin/icewm-session
%files gnome
%defattr(-,root,root)
/usr/bin/icesound
/usr/bin/icewm-menu-gnome2
%changelog
* Sat Mar 03 2007 - aj@suse.de
- /usr/share/xsessions/ is part of filesystems now.
* Wed Jan 24 2007 - mmarek@suse.cz
- fixed strict aliasing warning
* Fri Jan 12 2007 - mmarek@suse.cz
- fix last change (Start -> Help didn't work)
(icewm-docdir.patch)
* Thu Jan 11 2007 - mmarek@suse.cz
- updated to 1.2.30
+ battery status cleanups
+ new option BatteryPollingPeriod (default 10 seconds)
+ moved Themes selection to Settings menu
+ added Settings -> Focus menu (config saved to
~/.icewm/focus_mode as FocusMode=1,2 or 0)
+ new setting MapInactiveOnTop (default 1)
+ new setting RequestFocusOnAppRaise (when FocusOnAppRaise=0)
+ altgr_binding_support by Jörg Sommer
+ Apple PMU support by Jörg Sommer
+ start menu pixmap now named: taskbar/start.xpm
+ try to mouse focus only when mouse actually moves to another
window
+ prevent focusing taskbar with mouse focus
+ use locale strings in 'icewm-menu-gnome2'
+ also search for .png icons when only basename is specified
(Manuel Carrasco)
+ change mouse cursor when dragging the taskbar (Manuel Carrasco)
+ icewmtray: catch HUP signal to reload theme and other fixes
(Manuel Carrasco)
+ new preferences option: WinMenuItems (default=rmsnxfhualyticw)
(Manuel Carrasco/Marko Macek)
+ added 'Look=flat' (oscarello)
+ added TaskbarButtonWidthDivisor (lysanderslair)
+ bugfixes and translation updates
- spec file cleanup
+ reduced buildrequires
+ icewm-gnome is only an add-on to icewm-default, one spec file
less
+ use /usr/share/doc/packages/icewm (not icewm-%%version)
+ fixed default wallpaper location
* Tue May 16 2006 - pnemec@suse.cz
- updated to 1.2.26
many minor fix
some translation fix
strict-aliasing patch is in upstream now
* Tue Feb 14 2006 - mmarek@suse.cz
- fixed strict-aliasing patch once more
[#150786]
- use make -j
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 - tiwai@suse.de
- fixed strict-aliasing patch (#143861)
* Mon Jan 02 2006 - pnemec@suse.cz
- fixed wrong name of Norwegian messages
- removed X11R6 prefix
* Wed Dec 21 2005 - ro@suse.de
- added locale dirs to filelist
* Mon Nov 28 2005 - pnemec@suse.cz
- fixed strict aliasing errors ( -strict-aliasing.patch)
* Mon Nov 14 2005 - pnemec@suse.cz
- updated to 1.2.23
* Fri Aug 12 2005 - ltinkl@suse.cz
- fix icewm.desktop problems (#94917 and #100494)
* Tue Jul 26 2005 - ltinkl@suse.cz
- update to 1.2.22
* Wed Jun 29 2005 - ltinkl@suse.cz
- update to 1.2.21
- adjust patches
* Mon May 23 2005 - ltinkl@suse.cz
- update to 1.2.20
* Wed Feb 23 2005 - meissner@suse.de
- fixed 0->NULL in Xft call.
* Thu Jan 06 2005 - ltinkl@suse.cz
- update to 1.2.19
- fix missing docu (#47112)
* Tue Nov 02 2004 - ltinkl@suse.cz
- updated to 1.2.16
* Thu Aug 12 2004 - ltinkl@suse.cz
- update to 1.2.15
* Fri Mar 12 2004 - ltinkl@suse.cz
- make the XDG menu work
- use the default SUSE wallpaper
* Fri Feb 06 2004 - ltinkl@suse.cz
- support for xdg menu
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Wed Oct 15 2003 - ltinkl@suse.cz
- updated to 1.2.13
* Fri Jul 11 2003 - nadvornik@suse.cz
- updated to 1.2.9
- built with gnome2
* Fri Jun 13 2003 - kukuk@suse.de
- use find_lang macro
* Thu May 29 2003 - nadvornik@suse.cz
- installed genpref
* Mon May 05 2003 - mfabian@suse.de
- remove "fontconfig fontconfig-devel" from neededforbuild and
use x-devel-packages instead of xf86
- use "-*-" instead of "-xftdummy-" as the foundry for the
default fonts when using Xft because the latest fontconfig
now actually uses the foundry and inserting an dummy value
doesn't work anymore.
* Fri Apr 25 2003 - lmfabian@suse.de
- update to 1.2.7
- add "fontconfig fontconfig-devel" to neededforbuild
- icewm-always-use-xft.patch: if we have Xft2, don't disable Xft
when no RENDER is found.
- remove icewm-menu-translations.tar.bz2: the language specific
"preferences" files did only set different fontsets, which is
not necessary anymore when Xft2 is used with generic aliases
like "sans" and "monospace" as the default settings. The same
default font settings should work for all languages.
The other files in icewm-menu-translations.tar.bz2 didn't
contain any important language specific differences either.
- fix icewm-LANG.menu.patch: look for the most specific extensions
first: e.g. first try "menu.ja_JP.UTF-8", then try "menu.ja_JP",
finally try "menu.ja". The current patch did it in the opposite
order, making it impossible to have different files for
ja_JP.eucJP and ja_JP.UTF-8.
* Mon Mar 10 2003 - nadvornik@suse.cz
- added Requires: icewm to icewm-gnome [#24936]
* Mon Feb 17 2003 - nadvornik@suse.cz
- use g++ for compilation and linking
* Fri Feb 14 2003 - nadvornik@suse.cz
- updated to 1.2.6
* Thu Nov 28 2002 - nadvornik@suse.cz
- fixed to compile with new gcc
* Tue Oct 22 2002 - nadvornik@suse.cz
- set multiByte to true by default [#20656]
* Fri Sep 27 2002 - ro@suse.de
- Added alsa alsa-devel to neededforbuild (esound)
* Wed Sep 18 2002 - ro@suse.de
- removed bogus self-provides
* Fri Jul 26 2002 - nadvornik@suse.cz
- updated to 1.2.0
* Wed Jun 26 2002 - nadvornik@suse.cz
- updated to 1.2.0pre3: many bugs fixed
* Tue May 28 2002 - meissner@suse.de
- link with $(CXX), not with gcc, or it will miss C++ symbols.
* Mon Apr 22 2002 - nadvornik@suse.cz
- fixed to compile
* Tue Apr 02 2002 - nadvornik@suse.cz
- used suse_update_config
* Wed Mar 13 2002 - nadvornik@suse.cz
- added dir /etc/X11/icewm to filelist
* Tue Mar 12 2002 - nadvornik@suse.cz
- fixed Super key handling [bug #14734]
* Sun Feb 10 2002 - ro@suse.de
- tar option for bz2 is now "j"
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Tue Oct 23 2001 - nadvornik@suse.cz
- update to 1.0.9
- icon tray
- mouse wheel support for menus
- additional key bindings
- improved edge switching
- many bugfixes
* Mon Oct 15 2001 - nadvornik@suse.cz
- fixed path to help files [bug #11793]
* Mon Aug 13 2001 - nadvornik@suse.cz
- compiled with g++ (now compiles on axp)
* Fri Aug 10 2001 - nadvornik@suse.cz
- update to 1.0.8
- created packages icewm-gnome, icewm-default,
icewm-lite [bug #5692]
* Mon May 07 2001 - mfabian@suse.de
- bzip2 sources
* Wed Mar 21 2001 - ro@suse.de
- added esound-devel to neededforbuild
* Tue Feb 20 2001 - uli@suse.de
- fixed for new glibc
* Fri Jan 26 2001 - mfabian@suse.de
- fixed broken German and Russian translations
they were broken because they had been saved in iso-2022.
- added Japanese and German translations for the menus.
* Fri Jan 26 2001 - violiet@suse.de
- added patch to enable NLS (Native Language Support).
This patch adds --enable-nls to configure, adds bindtextdomain()
and textdomain() calls, replaces regular strings with strings
translatable by gettext and adds po files for de, ja, ko, ru,
and zh_TW.Big5.
- added patch to load translated menus from files with a locale
suffix, e.g. menu.ko, menu.ja ...
- added Korean translations for menus
* Tue Nov 28 2000 - grimmer@suse.de
- removed icewm-themes-0.9.42.tar.gz from package
- moved system-wide configuration files to /etc/X11/icewm
for better FHS compliance
- removed symlink needed for the old susewm
* Wed Nov 01 2000 - egger@suse.de
- Updated specfile to new long packagenames.
- Reworked specfile.
- Probably needs some more work; I'm taking care of that.
* Wed Jun 28 2000 - grimmer@suse.de
- Update to 1.0.4
* Tue Jun 06 2000 - uli@suse.de
- moved docs to %%{_docdir}
* Mon Mar 27 2000 - grimmer@suse.de
- update to 1.0.3
* Thu Mar 16 2000 - grimmer@suse.de
- update to 1.0.2
- added BuildRoot
* Wed Jan 26 2000 - grimmer@suse.de
- new version (1.0.1)
- specfile cleanups (version-macro, added more docu)
- activated imlib- and i18n-support
* Mon Jan 03 2000 - grimmer@suse.de
- new version (1.0.0)
* Wed Dec 22 1999 - grimmer@suse.de
- new version (0.9.55)
- specfile cleanups
* Tue Dec 07 1999 - grimmer@suse.de
- new version (0.9.53) - bugfixes, new features
* Wed Nov 17 1999 - grimmer@suse.de
- new version (0.9.50)
- added GNOME-support
* Sun Oct 10 1999 - grimmer@suse.de
- new version (0.9.49) - bugfixes, new features
* 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.
* Wed Aug 25 1999 - grimmer@suse.de
- new version (0.9.48) - bugfixes, new features
* Wed Aug 18 1999 - bs@suse.de
- added Check.
* Wed Aug 18 1999 - grimmer@suse.de
- new version (0.9.46) - bugfixes
* Wed Jun 16 1999 - grimmer@suse.de
- new version (0.9.42) - bugfixes
- added themes package for enhanced pleasure
* Fri May 28 1999 - grimmer@suse.de
- new version (0.9.41) - bugfixes
- minor specfile-updates (now uses configure instead of config)
- removed patch, since configure now handles the path names
- added genpref binary to RPM (generates sample config file)
* Tue Apr 13 1999 - grimmer@suse.de
- new version (0.9.37) - bugfixes, new features
* Tue Mar 16 1999 - grimmer@suse.de
- created symlink to menu (needed for susewm)
* Thu Feb 18 1999 - grimmer@suse.de
- new version (0.9.33) - bugfixes
* Wed Jan 27 1999 - grimmer@suse.de
- new version (0.9.30) - bugfixes, new features
* Sun Nov 15 1998 - grimmer@suse.de
- new version (0.9.17) - bugfixes
- added HTML documentation
- specfile fixes
* Fri Jul 03 1998 - maddin@suse.de
- first S.u.S.E. Version 0.9.8