%define majver %(echo %version | cut -d. -f1-2) Name: icewm Version: 1.3.8 Release: 1mamba Summary: A window manager for the X Window System Group: System/X11 Vendor: openmamba Distribution: openmamba Packager: Filippo Bedendo Bordon URL: http://www.icewm.org/ Source: http://downloads.sourceforge.net/project/icewm/icewm-%{majver}/%{version}/%{name}-%{version}.tar.gz Patch0: icewm-1.3.7-buildfix-deprecated.patch Patch1: icewm-1.3.7-gcc-4.7.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description IceWM is a window manager for the X Window System. %prep %setup -q #%patch0 -p1 #%patch1 -p1 %build %configure %make \ LFLAGS="-lfontconfig" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/* %{_datadir}/%{name}/* %doc AUTHORS COPYING #BUGS CHANGES COPYING README README.wm-session TODO %changelog * Tue Nov 19 2013 Automatic Build System 1.3.8-1mamba - automatic version update by autodist * Mon Mar 04 2013 Silvan Calarco 1.3.7-2mamba - specfile fixes - added gcc 4.7 plus another ftbfs patches * Wed Nov 16 2011 Filippo Bedendo Bordon 1.3.7-1mamba - package created by autospec