Name: jwm Version: 2.3.6 Release: 3%{?dist} Summary: Joe's Window Manager License: GPLv2+ URL: http://joewing.net/projects/jwm/ Source0: %{url}/releases/%{name}-%{version}.tar.xz Source1: %{name}.desktop Patch0: 01-jwmrc.patch Requires: libX11 Requires: hicolor-icon-theme Requires: gnome-icon-theme Requires: gnome-icon-theme-extras Requires: centos-logos Requires: jwmtools-appmenugen BuildRequires: gcc BuildRequires: pkgconfig(libpng) %if 0%{?fedora} > 24 BuildRequires: pkgconfig(libjpeg) %else BuildRequires: libjpeg-devel %endif BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(fribidi) BuildRequires: libXpm-devel BuildRequires: libXmu-devel BuildRequires: libXinerama-devel BuildRequires: gettext #Recommends: /usr/bin/xterm #Recommends: /usr/bin/xlock %description JWM is a window manager for the X11 Window System. It's written in C and uses only Xlib at a minimum. The following libraries can also be used if available: * cairo and librsvg2 for SVG icons and backgrounds. * fribidi for bi-directional text support. * libjpeg for JPEG icons and backgrounds. * libpng for PNG icons and backgrounds. * libXext for the shape extension. * libXrender for the render extension. * libXmu for rounded corners. * libXft for anti-aliased and true type fonts. * libXinerama for multiple head support. * libXpm for XPM icons and backgrounds. JWM supports MWM and Extended Window Manager Hints (EWMH). Note that Fedora package is built with all supported features enabled. %prep %autosetup #%patch0 -p1 # Preserve timestamps in installation sed -i -e 's|install -m|install -pm|g' Makefile.in %build %configure %make_build %install %make_install mkdir -p %{buildroot}%{_datadir}/xsessions install -Dpm0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/ %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %license LICENSE %doc ChangeLog README.md %doc %{_mandir}/man1/%{name}.1* %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/system.jwmrc %{_datadir}/xsessions/%{name}.desktop %{_datadir}/%{name}/ %changelog * Wed Apr 18 2018 Aram Minasyan - 2.3.6-3 - Make menu dynamic with added several Icon paths & dependencies of icon/appmenugen * Mon Mar 19 2018 Aram Minasyan - 2.3.6-2 - Update to default jwmrc configuration * Sat Aug 13 2016 Igor Gnatenko - 2.3.6-1 - Update to 2.3.6 (RHBZ #1366603) * Wed Jun 22 2016 Igor Gnatenko - 2.3.5-1 - Update to 2.3.5 - Update BRs * Thu Feb 04 2016 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Sep 14 2015 Christopher Meng - 2.3.2-1 - Update to 2.3.2 * Wed Jun 17 2015 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Sep 17 2014 Christopher Meng - 2.2.2-1 - Update to 2.2.2 * Sat Aug 16 2014 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Feb 12 2014 Germán A. Racca - 2.2.0-1 - Updated to new upstream version 2.2.0 - Cleaned spec file - Changed tarball format (from bz2 to xz) - Recreated patches jwm-nostrip and jwm-timestamps - Dropped patch jwm-destdir - Added translations - Added gettext as BR * Sat Aug 03 2013 Fedora Release Engineering - 2.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jan 18 2013 Adam Tkac - 2.1.0-4 - rebuild due to "jpeg8-ABI" feature drop * Fri Dec 21 2012 Adam Tkac - 2.1.0-3 - rebuild against new libjpeg * Thu Jul 19 2012 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Apr 09 2012 Germán A. Racca - 2.1.0-1 - Updated from snapshot to new release - Rearranged spec file * Fri Jan 13 2012 Fedora Release Engineering - 2.0.1-8.svn500 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 2.0.1-7.svn500 - Rebuild for new libpng * Tue Aug 30 2011 Germán A. Racca 2.0.1-6.svn500 - Added patch to remove strip from makefile - Recreated the other patches and changed order of application - Removed optflags from make line * Mon Aug 22 2011 Germán A. Racca 2.0.1-5.svn500 - Added optflags to the make line - Replaced libjpeg-devel by libjpeg-turbo-devel in BR - Added freetype-devel as BR * Fri Aug 19 2011 Germán A. Racca 2.0.1-4.svn500 - Added xterm as requires - Modified release tag format * Sun Jan 09 2011 Germán A. Racca 2.0.1-3.20110108svn - Updated to snapshot 20110108 - Removed some patches because they were fixed by upstream * Thu Jun 17 2010 German A. Racca 2.0.1-2.20100616svn - Rebuild for Fedora 13 - Updated to snapshot 20100616 * Wed May 19 2010 German A. Racca 2.0.1-1.20100503svn - Initial release of RPM package