| |
@@ -1,190 +1,256 @@
|
| |
- Name: icewm
|
| |
- Version: 1.3.8
|
| |
- Release: 18%{?dist}
|
| |
- Summary: Light and configurable window manager
|
| |
- License: LGPLv2+
|
| |
- URL: http://www.icewm.org
|
| |
- Source0: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
| |
- Source1: http://lostclus.linux.kiev.ua/scripts/icewm-xdg-menu
|
| |
- Source2: icewm.desktop
|
| |
- Source3: icewm-startup
|
| |
- # Fedora logo files have been moved to fedora-release
|
| |
- Source4: clearlooks-v3.1.tgz
|
| |
+ # Set to true if it's going to be submitted as update
|
| |
+ %global release_build 1
|
| |
|
| |
- BuildRequires: gcc-c++
|
| |
- BuildRequires: giflib-devel
|
| |
- BuildRequires: libXinerama-devel
|
| |
- BuildRequires: imlib-devel
|
| |
- BuildRequires: xorg-x11-proto-devel
|
| |
- BuildRequires: libXinerama-devel
|
| |
- BuildRequires: libXft-devel
|
| |
- BuildRequires: libICE-devel
|
| |
- BuildRequires: gettext
|
| |
- BuildRequires: fribidi-devel
|
| |
- BuildRequires: libgnomeui-devel
|
| |
- BuildRequires: gnome-vfs2-devel
|
| |
- BuildRequires: popt-devel
|
| |
- BuildRequires: autoconf
|
| |
- BuildRequires: automake
|
| |
+ %if %{release_build}
|
| |
+ # Enable LTO
|
| |
%if 0%{?fedora}
|
| |
- BuildRequires: gnome-desktop-devel
|
| |
- BuildRequires: gdk-pixbuf2-xlib-devel
|
| |
+ %global optflags %{optflags} -flto
|
| |
+ %global build_ldflags %{build_ldflags} -flto
|
| |
+ %endif
|
| |
%endif
|
| |
|
| |
- Requires: gnome-icon-theme
|
| |
- Requires: alsa-utils
|
| |
- Requires: xdg-utils
|
| |
- Requires: xterm
|
| |
-
|
| |
- Patch1: icewm-1.3.8-menu.patch
|
| |
- Patch2: icewm-toolbar.patch
|
| |
- Patch3: icewm-keys.patch
|
| |
- Patch4: icewm-1.3.8-fribidi.patch
|
| |
- Patch5: icewm-1.3.7-dso.patch
|
| |
- Patch6: icewm-defaults.patch
|
| |
- Patch7: icewm-1.3.7-menuiconsize.patch
|
| |
- Patch8: icewm-1.3.8-deprecated.patch
|
| |
- Patch9: icewm-1.3.8-narrowingfix.patch
|
| |
- Patch10: fribidi.build.patch
|
| |
-
|
| |
+ Name: icewm
|
| |
+ Version: 1.5.5
|
| |
+ Release: 28%{?dist}
|
| |
+ Summary: Window manager designed for speed, usability, and consistency
|
| |
+
|
| |
+ License: LGPLv2+
|
| |
+ URL: https://github.com/bbidulock/icewm
|
| |
+ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
| |
+ # https://www.box-look.org/p/1310273/
|
| |
+ Source1: IceClearlooks2-ColorsMas_theme_pack-0.8.tar.bz2
|
| |
+ Source11: %{name}-fedora.tar.xz
|
| |
+ # https://www.box-look.org/p/1266477/
|
| |
+ Source2: KDE-Core-20181026134422.tar.bz2
|
| |
+ # https://www.box-look.org/p/1163246/
|
| |
+ Source3: Windows7ice1.tar.xz
|
| |
+ # Better font rendering on non HiDPI screens
|
| |
+ Source4: local.conf
|
| |
+ Source41: gtkrc-2.0
|
| |
+ Source42: gkt3-settings.ini
|
| |
+
|
| |
+ Source5: startup
|
| |
+ # Wallpaper
|
| |
+ Source6: %{name}-wallpaper.png
|
| |
+ Patch0: %{name}-keys.patch
|
| |
+ Patch1: %{name}-toolbar.patch
|
| |
+ Patch2: %{name}-default-theme.patch
|
| |
+
|
| |
+ BuildRequires: asciidoc
|
| |
+ BuildRequires: autoconf
|
| |
+ BuildRequires: gcc-c++
|
| |
+ BuildRequires: intltool
|
| |
+ BuildRequires: libtool
|
| |
+ BuildRequires: pkgconfig(fribidi)
|
| |
+ BuildRequires: pkgconfig(libjpeg)
|
| |
+ BuildRequires: pkgconfig(librsvg-2.0)
|
| |
+ BuildRequires: pkgconfig(sndfile)
|
| |
+ BuildRequires: pkgconfig(xft)
|
| |
+ BuildRequires: pkgconfig(xinerama)
|
| |
+ BuildRequires: pkgconfig(xpm)
|
| |
+ BuildRequires: pkgconfig(xrandr)
|
| |
+ %if 0%{?fedora}
|
| |
+ BuildRequires: perl-Pod-Html
|
| |
+ %endif
|
| |
+ Requires: %{name}-data = %{version}-%{release}
|
| |
+ Requires: alsa-utils
|
| |
+ Requires: gnome-icon-theme
|
| |
+ Requires: xdg-utils
|
| |
+ Requires: xterm
|
| |
+ %if 0%{?fedora}
|
| |
+ Recommends: %{name}-fonts-settings = %{version}-%{release}
|
| |
+ Recommends: %{name}-themes = %{version}-%{release}
|
| |
+ Recommends: %{name}-wallpaper
|
| |
+ Recommends: abattis-cantarell-fonts
|
| |
+ # Compositor for X11
|
| |
+ Recommends: compton
|
| |
+
|
| |
+ Recommends: gnome-screenshot
|
| |
+ Recommends: gnome-terminal
|
| |
+ # Display resolution control
|
| |
+ Recommends: lxrandr
|
| |
+ # Volume control
|
| |
+ Recommends: pasystray
|
| |
+ Recommends: pavucontrol
|
| |
+ # Night mode
|
| |
+ Recommends: redshift-gtk
|
| |
+ # Launcher
|
| |
+ Recommends: rofi
|
| |
+ Suggests: %{name}-minimal-session
|
| |
+ # Probably best tool in this category
|
| |
+ Suggests: deepin-screenshot
|
| |
+ %endif
|
| |
|
| |
%description
|
| |
IceWM is a window manager for the X Window System (freedesktop, XFree86).
|
| |
The goal of IceWM is speed, simplicity, and not getting in the user's way.
|
| |
|
| |
- %if 0%{?fedora}
|
| |
- %package gnome
|
| |
- Summary: GNOME menu support for IceWM window manager
|
| |
- Requires: gnome-menus
|
| |
- Requires: icewm = %{version}-%{release}
|
| |
-
|
| |
|
| |
- %description gnome
|
| |
- IceWM-gnome adds gnome-menu support for the IceWM window manager.
|
| |
- %endif
|
| |
+ %package data
|
| |
+ BuildArch: noarch
|
| |
|
| |
+ Summary: Data files for %{name}
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
|
| |
- %package xdgmenu
|
| |
- BuildArch: noarch
|
| |
- License: Public Domain
|
| |
- Summary: Automatically generate the main IceWM menu
|
| |
- Requires: pyxdg
|
| |
- Requires: icewm = %{version}-%{release}
|
| |
+ %description data
|
| |
+ Data files for %{name}.
|
| |
|
| |
|
| |
- %description xdgmenu
|
| |
- IceWM-xdgmenu generates static IceWM menu files from the existing
|
| |
- freedesktop.org .desktop files. Files are re-generated each time the
|
| |
- user logs-in.
|
| |
+ %package themes
|
| |
+ BuildArch: noarch
|
| |
|
| |
+ Summary: Extra themes for %{name}
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
|
| |
- %package clearlooks
|
| |
- BuildArch: noarch
|
| |
- Summary: Clearlooks like theme for IceWM
|
| |
- Requires: ImageMagick
|
| |
- Requires: icewm = %{version}-%{release}
|
| |
- Requires: system-logos >= 26.0.0
|
| |
+ %description themes
|
| |
+ Extra themes for %{name}.
|
| |
|
| |
|
| |
- %description clearlooks
|
| |
- An IceWM theme that mimics the GNOME ClearLooks theme used by
|
| |
- older Fedora releases and RHEL.
|
| |
+ %package minimal-session
|
| |
+ BuildArch: noarch
|
| |
|
| |
+ Summary: Minimal session for %{name}
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
|
| |
- %prep
|
| |
- %setup -q
|
| |
- %patch1 -p0 -b .menu
|
| |
- %patch2 -p1 -b .toolbar
|
| |
- %patch3 -p1 -b .keys
|
| |
- %patch4 -p0 -b .fribidi
|
| |
- %patch5 -p0 -b .dso
|
| |
- %patch6 -p0 -b .defaults
|
| |
- %patch7 -p1 -b .menuiconsize
|
| |
- %patch8 -p0 -b .deprecated
|
| |
- %patch9 -p1 -b .narrowingfix
|
| |
- %patch10 -p1 -b .fribidi.build.patch
|
| |
+ %description minimal-session
|
| |
+ Minimal, lightweight session for %{name}.
|
| |
|
| |
- %build
|
| |
- autoreconf -vif
|
| |
- %configure --prefix=/usr \
|
| |
- --enable-gradients \
|
| |
- --enable-antialiasing \
|
| |
- --enable-i18n \
|
| |
- %if 0%{?fedora}
|
| |
- --enable-menus-gnome2 \
|
| |
- %endif
|
| |
- --with-cfgdir=%{_sysconfdir}/icewm
|
| |
- make %{?_smp_mflags}
|
| |
|
| |
+ %package wallpaper
|
| |
+ BuildArch: noarch
|
| |
|
| |
- %install
|
| |
- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
| |
+ Summary: Wallpaper for %{name}
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
|
| |
- mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
| |
- install -p -m 644 doc/icewm.1.man $RPM_BUILD_ROOT/%{_mandir}/man1/icewm.1
|
| |
+ %description wallpaper
|
| |
+ Wallpaper for %{name}.
|
| |
|
| |
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{_bindir}
|
| |
- install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}
|
| |
|
| |
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/icewm/
|
| |
- install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/icewm/startup
|
| |
+ %package fonts-settings
|
| |
+ BuildArch: noarch
|
| |
|
| |
- mkdir -p $RPM_BUILD_ROOT/%{_datadir}/xsessions/
|
| |
- install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/
|
| |
+ Summary: Font settings and tweaks for %{name}
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
|
| |
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/icewm/themes
|
| |
- tar -C $RPM_BUILD_ROOT%{_datadir}/icewm/themes -xzf %{SOURCE4}
|
| |
+ %description fonts-settings
|
| |
+ Font settings and tweaks for %{name}.
|
| |
|
| |
- echo "Theme=\"clearlooks/default.theme\"" > $RPM_BUILD_ROOT%{_datadir}/icewm/theme
|
| |
|
| |
- %find_lang %{name}
|
| |
+ %prep
|
| |
+ %setup -q
|
| |
+ %patch0 -p1
|
| |
+ %patch1 -p1
|
| |
+ %setup -q -D -T -a 1
|
| |
+ %setup -q -D -T -a 11
|
| |
+ %patch2 -p1
|
| |
+ %setup -q -D -T -a 2
|
| |
+ %setup -q -D -T -a 3
|
| |
|
| |
+ %build
|
| |
+ # Enable LTO
|
| |
+ export AR=%{_bindir}/gcc-ar
|
| |
+ export RANLIB=%{_bindir}/gcc-ranlib
|
| |
+ export NM=%{_bindir}/gcc-nm
|
| |
|
| |
- %post clearlooks
|
| |
- [ -d /usr/share/icewm/themes/clearlooks ] && [ -x /usr/bin/convert ] && \
|
| |
- [ -f /usr/share/icons/hicolor/24x24/apps/fedora-logo-icon.png ] && \
|
| |
- convert /usr/share/icons/hicolor/24x24/apps/fedora-logo-icon.png \
|
| |
- /usr/share/icewm/themes/clearlooks/taskbar/linux.xpm || echo -n
|
| |
+ autoreconf -vif
|
| |
+ %configure --with-cfgdir=%{_sysconfdir}/%{name}
|
| |
+ %make_build
|
| |
|
| |
+ %install
|
| |
+ %make_install
|
| |
+ cp -a IceClearlooks2-* %{buildroot}%{_datadir}/%{name}/themes/
|
| |
+ cp -rfa icewm-fedora/themes %{buildroot}%{_datadir}/%{name}/
|
| |
+ cp -a KDE-Core %{buildroot}%{_datadir}/%{name}/themes/
|
| |
+ cp -a Windows7ice1 %{buildroot}%{_datadir}/%{name}/themes/
|
| |
+ echo "Theme=\"IceClearlooks2-Magi/default.theme\"" > %{buildroot}%{_datadir}/%{name}/theme
|
| |
+ # Font settings
|
| |
+ mkdir -p %{buildroot}%{_sysconfdir}/fonts
|
| |
+ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/fonts/
|
| |
+ mkdir -p %{buildroot}%{_sysconfdir}/gtk-2.0
|
| |
+ install -p -m 644 %{SOURCE41} %{buildroot}%{_sysconfdir}/gtk-2.0/gtkrc
|
| |
+ mkdir -p %{buildroot}%{_sysconfdir}/gtk-3.0
|
| |
+ install -p -m 644 %{SOURCE42} %{buildroot}%{_sysconfdir}/gtk-3.0/settings.ini
|
| |
+
|
| |
+ install -p -m 755 %{SOURCE5} %{buildroot}%{_datadir}/%{name}/
|
| |
+ mkdir -p %{buildroot}%{_datadir}/backgrounds
|
| |
+ install -p -m 644 %{SOURCE6} %{buildroot}%{_datadir}/backgrounds/
|
| |
+ %find_lang %{name}
|
| |
|
| |
%files -f %{name}.lang
|
| |
- %doc AUTHORS BUGS CHANGES COPYING README README.wm-session TODO doc/*.html
|
| |
- %exclude %{_datadir}/icewm/startup
|
| |
- %exclude %{_datadir}/icewm/themes/clearlooks
|
| |
- %{_datadir}/icewm
|
| |
- %{_datadir}/xsessions/icewm.desktop
|
| |
- %{_mandir}/man1/icewm.1*
|
| |
- %{_bindir}/icewm-set-gnomewm
|
| |
- %{_bindir}/icewmbg
|
| |
+ %license COPYING
|
| |
+ %doc README.md AUTHORS
|
| |
+ %{_bindir}/%{name}
|
| |
+ %{_bindir}/%{name}-menu-fdo
|
| |
+ %{_bindir}/%{name}-menu-xrandr
|
| |
+ %{_bindir}/%{name}-session
|
| |
+ %{_bindir}/%{name}-set-gnomewm
|
| |
%{_bindir}/icehelp
|
| |
%{_bindir}/icesh
|
| |
- %{_bindir}/icewm
|
| |
- %{_bindir}/icewm-session
|
| |
+ %{_bindir}/icesound
|
| |
+ %{_bindir}/icewmbg
|
| |
%{_bindir}/icewmhint
|
| |
%{_bindir}/icewmtray
|
| |
-
|
| |
-
|
| |
- %if 0%{?fedora}
|
| |
- %files gnome
|
| |
- %{_bindir}/icewm-menu-gnome2
|
| |
- %endif
|
| |
-
|
| |
-
|
| |
- %files xdgmenu
|
| |
- %{_bindir}/icewm-xdg-menu*
|
| |
- %{_datadir}/icewm/startup
|
| |
-
|
| |
-
|
| |
- %files clearlooks
|
| |
- %{_datadir}/icewm/themes/clearlooks-2px
|
| |
- %{_datadir}/icewm/themes/clearlooks
|
| |
- %{_datadir}/icewm/theme
|
| |
-
|
| |
+ %{_datadir}/doc/%{name}
|
| |
+ %{_datadir}/xsessions/%{name}-session.desktop
|
| |
+ %{_mandir}/man1/*.1.*
|
| |
+ %{_mandir}/man5/*.5.*
|
| |
+
|
| |
+ %files data -f %{name}.lang
|
| |
+ %{_datadir}/%{name}/icons
|
| |
+ %{_datadir}/%{name}/keys
|
| |
+ %{_datadir}/%{name}/ledclock
|
| |
+ %{_datadir}/%{name}/mailbox
|
| |
+ %{_datadir}/%{name}/menu
|
| |
+ %{_datadir}/%{name}/preferences
|
| |
+ %{_datadir}/%{name}/programs
|
| |
+ %{_datadir}/%{name}/startup
|
| |
+ %{_datadir}/%{name}/taskbar
|
| |
+ %{_datadir}/%{name}/theme
|
| |
+ %{_datadir}/%{name}/themes/default
|
| |
+ %{_datadir}/%{name}/themes/IceClearlooks2-Magi
|
| |
+ %{_datadir}/%{name}/toolbar
|
| |
+ %{_datadir}/%{name}/winoptions
|
| |
+ %dir %{_datadir}/%{name}
|
| |
+ %dir %{_datadir}/%{name}/themes
|
| |
+
|
| |
+ %files themes -f %{name}.lang
|
| |
+ %{_datadir}/%{name}/themes/CrystalBlue
|
| |
+ %{_datadir}/%{name}/themes/Helix
|
| |
+ %{_datadir}/%{name}/themes/IceClearlooks2-Debish
|
| |
+ %{_datadir}/%{name}/themes/IceClearlooks2-Ningen
|
| |
+ %{_datadir}/%{name}/themes/IceClearlooks2-Scarlet
|
| |
+ %{_datadir}/%{name}/themes/icedesert
|
| |
+ %{_datadir}/%{name}/themes/Infadel2
|
| |
+ %{_datadir}/%{name}/themes/KDE-Core
|
| |
+ %{_datadir}/%{name}/themes/metal2
|
| |
+ %{_datadir}/%{name}/themes/motif
|
| |
+ %{_datadir}/%{name}/themes/NanoBlue
|
| |
+ %{_datadir}/%{name}/themes/win95
|
| |
+ %{_datadir}/%{name}/themes/Windows7ice1
|
| |
+ %dir %{_datadir}/%{name}
|
| |
+ %dir %{_datadir}/%{name}/themes
|
| |
+
|
| |
+ %files minimal-session
|
| |
+ %{_datadir}/xsessions/%{name}.desktop
|
| |
+
|
| |
+ %files wallpaper
|
| |
+ %{_datadir}/backgrounds/%{name}-wallpaper.png
|
| |
+
|
| |
+ %files fonts-settings
|
| |
+ %{_sysconfdir}/fonts/local.conf
|
| |
+ %{_sysconfdir}/gtk-2.0/gtkrc
|
| |
+ %{_sysconfdir}/gtk-3.0/settings.ini
|
| |
|
| |
%changelog
|
| |
+ * Fri Aug 02 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.5.5-28
|
| |
+ - Update to 1.5.5
|
| |
+
|
| |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-18
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
+ * Sun Jun 09 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.5.5-1
|
| |
+ - Update to 1.5.5
|
| |
+
|
| |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-17
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
Probably a little bit bloatware but most this packages optional. You need additional Source files and .srpm to build this.
Working COPR: https://copr.fedorainfracloud.org/coprs/atim/icewm/