2006-12-19 23:22:37 +01:00
|
|
|
#
|
2011-03-17 10:29:31 +01:00
|
|
|
# spec file for package fvwm2
|
2006-12-19 23:22:37 +01:00
|
|
|
#
|
2017-02-08 10:39:44 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-19 23:22:37 +01:00
|
|
|
#
|
2009-06-18 17:37:29 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 23:22:37 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-03 13:16:02 +01:00
|
|
|
|
2006-12-19 23:22:37 +01:00
|
|
|
Name: fvwm2
|
2017-02-08 10:39:44 +01:00
|
|
|
Version: 2.6.7
|
2016-03-03 15:18:09 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Improved Version of FVWM Window Manager
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/Other
|
|
|
|
Url: http://www.fvwm.org
|
|
|
|
Source0: fvwm-%{version}.tar.bz2
|
|
|
|
Source1: fvwm_icons.tar.bz2
|
|
|
|
Source3: %{name}.desktop
|
|
|
|
Source4: system.fvwm2rc
|
|
|
|
Source6: openSuSE.xpm
|
|
|
|
#SOURCE-FIX-OPENSUSE for snapshot 2012/10/11
|
|
|
|
Source7: fvwm-menu-desktop-config.fpl
|
|
|
|
Patch0: fvwm-configure.patch
|
|
|
|
Patch1: fvwm-2.5.26-gcc-warnings.patch
|
|
|
|
Patch2: fvwm-2.5.26-ia64.patch
|
|
|
|
Patch3: fvwm-2.5.26-sv_SE.patch
|
|
|
|
Patch5: fvwm-2.5.26-charset_in_title.patch
|
|
|
|
Patch7: fvwm-2.5.26-no-copy-dt-needed-entries.patch
|
|
|
|
#PATCH-FIX-OPENSUSE Avoid including internal rsvg-cairo.h
|
|
|
|
Patch8: fvwm-rsvg.patch
|
|
|
|
Patch10: fvwm-no-date-time.patch
|
2011-12-02 08:17:40 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libstroke-devel
|
2013-04-04 12:01:10 +02:00
|
|
|
BuildRequires: libxslt-tools
|
2011-12-02 08:17:40 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2014-10-07 13:54:45 +02:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(fribidi)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(ice)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(sm)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xft)
|
|
|
|
BuildRequires: pkgconfig(xinerama)
|
|
|
|
BuildRequires: pkgconfig(xpm)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
#not actually used but includes its headers anyway..
|
|
|
|
BuildRequires: pkgconfig(xt)
|
2016-03-03 15:18:09 +01:00
|
|
|
Requires: desktop-data
|
|
|
|
Requires: mktemp
|
2016-08-18 14:13:33 +02:00
|
|
|
Requires: wallpaper-branding
|
2016-03-03 15:18:09 +01:00
|
|
|
Requires: xdg-menu
|
|
|
|
Requires: xli
|
2013-07-22 16:43:54 +02:00
|
|
|
Provides: fvwm
|
|
|
|
Provides: fvwmicns
|
|
|
|
Provides: windowmanager
|
|
|
|
Provides: xpmroot
|
|
|
|
Obsoletes: fvwm
|
|
|
|
Obsoletes: xpmroot
|
2006-12-19 23:22:37 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2016-03-03 15:18:09 +01:00
|
|
|
%define _xorg7libs %{_lib}
|
2006-12-19 23:22:37 +01:00
|
|
|
%define _xorg7bin bin
|
|
|
|
%define _xorg7libs32 lib
|
|
|
|
%define _xorg7libshare share
|
2016-03-03 15:18:09 +01:00
|
|
|
%define _xorg7prefix %{_prefix}
|
|
|
|
%define _xorg7mandir %{_mandir}
|
2007-10-16 02:24:45 +02:00
|
|
|
|
2006-12-19 23:22:37 +01:00
|
|
|
%prep
|
2008-02-28 01:55:18 +01:00
|
|
|
%setup -q -n fvwm-%{version}
|
Accepting request 417830 from home:WernerFink:branches:X11:windowmanagers
- Update to 2.6.6
* fvwm features:
- Support for Russian from Ivan Gayevskiy.
- EnvMatch supports infostore variables.
- The option "forget" to the Maximize command allows to
unmaximize a window without changing its size and position.
- Windows shaded to a corner (NW, NE, SW, SE) are reduced to a
small square.
- New option "!raise" to the WarpToWindow command.
- The new extended variables $[wa.x], $[wa.y], $[wa.width],
$[wa.height] can be used to get the geometry of the EWMH
working area, and $[dwa.x], $[dwa.y], $[dwa.width],
$[dwa.height] can be used to get the geometry of the EWMH
dynamic working area.
- The Resize commands accept "wa" or "da" as a suffix of the
width or height value. If present, the value is a percentage
of the width or height of the EWMH working area or the EWMH
dynamic working area.
- Fvwm is much more resilient against applications that flood the
window manager with repeated events.
* New module features:
- FvwmForm supports separator lines.
- New FvwmIconMan options:
IconAndSelectButton
IconAndSelectColorset
* Bug fixes:
- Provide a wrapper for the deprecation of XKeycodeToKeysym and
use XkbKeycodeToKeysym() where appropriate.
- fvwm-menu-desktop is re-written and provides better support of
the XDG menu specification.
OBS-URL: https://build.opensuse.org/request/show/417830
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=33
2016-08-08 14:44:57 +02:00
|
|
|
%patch0 -b .p0
|
|
|
|
%patch1 -b .p1
|
|
|
|
%patch2 -b .p2
|
|
|
|
%patch3 -b .p3
|
|
|
|
%patch5 -b .p5
|
|
|
|
%patch7 -p1 -b .p7
|
|
|
|
%patch8 -b .p8
|
|
|
|
%patch10 -b .p10
|
2017-02-08 10:39:44 +01:00
|
|
|
find . -name *sv_SE* -exec rename --verbose sv_SE sv '{}' \+
|
2006-12-19 23:22:37 +01:00
|
|
|
mkdir icons
|
|
|
|
tar -C icons -j -x -v -f $RPM_SOURCE_DIR/fvwm_icons.tar.bz2
|
2016-03-03 15:18:09 +01:00
|
|
|
cp %{SOURCE6} icons
|
|
|
|
cp %{SOURCE7} bin/
|
2006-12-19 23:22:37 +01:00
|
|
|
#
|
2016-03-03 15:18:09 +01:00
|
|
|
# build
|
2006-12-19 23:22:37 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
autoreconf -fi
|
2016-03-03 15:18:09 +01:00
|
|
|
CFLAGS="%{optflags} -fno-strict-aliasing" \
|
|
|
|
LDFLAGS="-L/usr/%{_lib}" \
|
Accepting request 417830 from home:WernerFink:branches:X11:windowmanagers
- Update to 2.6.6
* fvwm features:
- Support for Russian from Ivan Gayevskiy.
- EnvMatch supports infostore variables.
- The option "forget" to the Maximize command allows to
unmaximize a window without changing its size and position.
- Windows shaded to a corner (NW, NE, SW, SE) are reduced to a
small square.
- New option "!raise" to the WarpToWindow command.
- The new extended variables $[wa.x], $[wa.y], $[wa.width],
$[wa.height] can be used to get the geometry of the EWMH
working area, and $[dwa.x], $[dwa.y], $[dwa.width],
$[dwa.height] can be used to get the geometry of the EWMH
dynamic working area.
- The Resize commands accept "wa" or "da" as a suffix of the
width or height value. If present, the value is a percentage
of the width or height of the EWMH working area or the EWMH
dynamic working area.
- Fvwm is much more resilient against applications that flood the
window manager with repeated events.
* New module features:
- FvwmForm supports separator lines.
- New FvwmIconMan options:
IconAndSelectButton
IconAndSelectColorset
* Bug fixes:
- Provide a wrapper for the deprecation of XKeycodeToKeysym and
use XkbKeycodeToKeysym() where appropriate.
- fvwm-menu-desktop is re-written and provides better support of
the XDG menu specification.
OBS-URL: https://build.opensuse.org/request/show/417830
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=33
2016-08-08 14:44:57 +02:00
|
|
|
%configure \
|
2006-12-19 23:22:37 +01:00
|
|
|
--prefix=%{_xorg7prefix} \
|
|
|
|
--bindir=%{_prefix}/%{_xorg7bin} \
|
2016-03-03 15:18:09 +01:00
|
|
|
--sysconfdir=%{_sysconfdir}/X11/fvwm2 \
|
2006-12-19 23:22:37 +01:00
|
|
|
--libexecdir=%{_xorg7prefix}/lib/X11/fvwm2 \
|
|
|
|
--mandir=%{_xorg7mandir} \
|
2007-01-24 14:35:42 +01:00
|
|
|
--x-includes=%{_xorg7prefix}/include \
|
2016-03-03 15:18:09 +01:00
|
|
|
--x-libraries=%{_xorg7prefix}/%{_lib} \
|
Accepting request 417830 from home:WernerFink:branches:X11:windowmanagers
- Update to 2.6.6
* fvwm features:
- Support for Russian from Ivan Gayevskiy.
- EnvMatch supports infostore variables.
- The option "forget" to the Maximize command allows to
unmaximize a window without changing its size and position.
- Windows shaded to a corner (NW, NE, SW, SE) are reduced to a
small square.
- New option "!raise" to the WarpToWindow command.
- The new extended variables $[wa.x], $[wa.y], $[wa.width],
$[wa.height] can be used to get the geometry of the EWMH
working area, and $[dwa.x], $[dwa.y], $[dwa.width],
$[dwa.height] can be used to get the geometry of the EWMH
dynamic working area.
- The Resize commands accept "wa" or "da" as a suffix of the
width or height value. If present, the value is a percentage
of the width or height of the EWMH working area or the EWMH
dynamic working area.
- Fvwm is much more resilient against applications that flood the
window manager with repeated events.
* New module features:
- FvwmForm supports separator lines.
- New FvwmIconMan options:
IconAndSelectButton
IconAndSelectColorset
* Bug fixes:
- Provide a wrapper for the deprecation of XKeycodeToKeysym and
use XkbKeycodeToKeysym() where appropriate.
- fvwm-menu-desktop is re-written and provides better support of
the XDG menu specification.
OBS-URL: https://build.opensuse.org/request/show/417830
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=33
2016-08-08 14:44:57 +02:00
|
|
|
--with-imagepath=%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps:%{_prefix}/%{_xorg7libshare}/X11/fvwm2/bitmaps:%{_datadir}/pixmaps:%{_datadir}/wallpapers \
|
2010-01-11 16:56:55 +01:00
|
|
|
--disable-gtk
|
2016-03-03 15:18:09 +01:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 23:22:37 +01:00
|
|
|
|
|
|
|
%install
|
2016-03-03 15:18:09 +01:00
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
2006-12-19 23:22:37 +01:00
|
|
|
#make prefix=$RPM_BUILD_ROOT%{_xorg7prefix} \
|
|
|
|
# sysconfdir=$RPM_BUILD_ROOT/etc/X11/fvwm2 \
|
|
|
|
# install
|
|
|
|
#
|
|
|
|
# default config
|
2016-03-03 15:18:09 +01:00
|
|
|
install -d -m 755 %{buildroot}%{_sysconfdir}/X11/fvwm2
|
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/X11/fvwm2/system.fvwm2rc
|
2006-12-19 23:22:37 +01:00
|
|
|
#
|
|
|
|
# documentation for modules
|
2017-02-08 10:39:44 +01:00
|
|
|
rm -vf sample.fvwmrc/Makefile* sample.fvwmrc/system.fvwm2rc-sample-95
|
|
|
|
rm -vf docs/Makefile*
|
2006-12-19 23:22:37 +01:00
|
|
|
install -d -m 755 docu-module
|
2017-02-08 10:39:44 +01:00
|
|
|
for i in $(find -name "README*" -not -name "*,v" -and -not -name "*.orig")
|
2006-12-19 23:22:37 +01:00
|
|
|
do
|
2017-02-08 10:39:44 +01:00
|
|
|
TMPDIR=$(dirname ${i#./})
|
2006-12-19 23:22:37 +01:00
|
|
|
if [ "x$TMPDIR" = "x." ]; then
|
|
|
|
install -m 644 $i docu-module/${i#./}
|
|
|
|
else
|
2017-02-08 10:39:44 +01:00
|
|
|
install -m 644 $i docu-module/README.$(basename "$TMPDIR")
|
2006-12-19 23:22:37 +01:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
#
|
2017-02-08 10:39:44 +01:00
|
|
|
# forbidden links
|
|
|
|
pushd %{buildroot}/
|
|
|
|
find . -type l -printf '%%P %%l\n' | while read dst src
|
|
|
|
do
|
|
|
|
case "$src" in
|
|
|
|
%{buildroot}/*)
|
|
|
|
src=${src#%{buildroot}/}
|
|
|
|
rm -vf $dst
|
|
|
|
ln -frsv $src $dst
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
#
|
2006-12-19 23:22:37 +01:00
|
|
|
# icons
|
2016-03-03 15:18:09 +01:00
|
|
|
install -d -m 755 %{buildroot}%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
|
|
|
|
install -m 644 icons/* %{buildroot}%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
|
2006-12-19 23:22:37 +01:00
|
|
|
#
|
|
|
|
# install kdm/gdm entry
|
2016-03-03 15:18:09 +01:00
|
|
|
install -m 0755 -d %{buildroot}%{_datadir}/xsessions/
|
|
|
|
install -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/xsessions/
|
|
|
|
# removing the useless README.vms file
|
|
|
|
rm -f %{buildroot}/%{_docdir}/fvwm2/README.vms
|
|
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
2011-03-16 16:10:42 +01:00
|
|
|
%find_lang fvwm %{name}.lang
|
|
|
|
%find_lang FvwmScript %{name}.lang
|
2006-12-19 23:22:37 +01:00
|
|
|
|
2011-03-16 16:10:42 +01:00
|
|
|
%files -f %{name}.lang
|
2006-12-19 23:22:37 +01:00
|
|
|
%defattr(-,root,root)
|
2017-02-08 10:39:44 +01:00
|
|
|
%doc COPYING NEWS docs docu-module/*
|
2016-03-03 15:18:09 +01:00
|
|
|
%dir %{_sysconfdir}/X11/fvwm2
|
|
|
|
%config %{_sysconfdir}/X11/fvwm2/system.fvwm2rc
|
2006-12-19 23:22:37 +01:00
|
|
|
%{_prefix}/%{_xorg7bin}/*
|
|
|
|
%{_prefix}/%{_xorg7libs32}/X11/fvwm2/*
|
|
|
|
%{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps/*
|
2007-10-03 00:53:10 +02:00
|
|
|
#%{_xorg7prefix}/share/locale/*/*/*
|
2006-12-19 23:22:37 +01:00
|
|
|
%dir %{_xorg7prefix}/lib/X11/fvwm2
|
|
|
|
%{_xorg7prefix}/share/fvwm
|
|
|
|
%dir %{_prefix}/%{_xorg7libshare}/X11/fvwm2
|
|
|
|
%dir %{_prefix}/%{_xorg7libshare}/X11/fvwm2/pixmaps
|
|
|
|
%{_xorg7mandir}/man1/*
|
|
|
|
%{_datadir}/xsessions/*desktop
|
|
|
|
|
2007-02-16 18:21:51 +01:00
|
|
|
%changelog
|