Copy from X11:windowmanagers/icewm based on submit request 34771 from user michal-m OBS-URL: https://build.opensuse.org/request/show/34771 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icewm?expand=0&rev=19
107 lines
2.8 KiB
RPMSpec
107 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package icewm-lite (Version 1.3.6)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: icewm-lite
|
|
BuildRequires: freetype2-devel gcc-c++ gtk2-devel xorg-x11-devel
|
|
License: LGPLv2.1+
|
|
Group: System/GUI/Other
|
|
Provides: icewm-bin
|
|
Requires: icewm
|
|
Conflicts: icewm-default
|
|
AutoReqProv: on
|
|
Version: 1.3.6
|
|
Release: 2
|
|
Source: icewm-%version.tar.bz2
|
|
Source1: %{name}.desktop
|
|
Patch1: icewm-multiByte.patch
|
|
Patch2: icewm-menu.patch
|
|
Patch3: icewm-docdir.patch
|
|
Patch4: icewm-1.2.35-override-config.patch
|
|
Patch5: icewm-1.2.35-empty-winmenu.patch
|
|
Patch6: icewm-1.2.35-unaligned-access.patch
|
|
Patch7: icewm-1.3.6-winoptions.patch
|
|
# applied in %%build
|
|
Patch99: icewm-preferences.patch
|
|
Url: http://www.icewm.org/
|
|
Summary: IceWM Window Manager--Lite Version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Window manager for the X Window System that can emulate the look of
|
|
Windows 95, OS/2 Warp 3,4, Motif. It tries to take the best features of
|
|
the above systems. It features multiple workspaces, opaque move and
|
|
resize. It is fast and small.
|
|
|
|
The icewm-default package features a taskbar, window list, mailbox
|
|
status and digital clock in addition to that.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Marko Macek <Marko.Macek@gmx.net>
|
|
|
|
%prep
|
|
%setup -q -n icewm-%version
|
|
%patch1
|
|
%patch2
|
|
%patch3
|
|
%patch4
|
|
%patch5
|
|
%patch6
|
|
%patch7 -p1
|
|
|
|
%build
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
autoconf
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
./configure --without-debug \
|
|
--sysconfdir=/etc \
|
|
--with-cfgdir=/etc/icewm \
|
|
--prefix=/usr \
|
|
--with-docdir=%{_docdir} \
|
|
--enable-i18n \
|
|
--disable-nls \
|
|
--disable-guievents \
|
|
--with-xpm \
|
|
--disable-winmenu \
|
|
--enable-lite \
|
|
--without-gnome-menus
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
cd src
|
|
install icewm icewmhint icewmbg icesh icewm-session $RPM_BUILD_ROOT/usr/bin
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT;
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/bin/icewm
|
|
/usr/bin/icewmhint
|
|
/usr/bin/icewmbg
|
|
/usr/bin/icesh
|
|
/usr/bin/icewm-session
|
|
|
|
%changelog
|