icewm/icewm.spec

82 lines
2.2 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: icewm
Version: 1.3.12
Release: 1mamba
Summary: A window manager for the X Window System
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Filippo Bedendo Bordon <michiamophil@libero.it>
URL: http://www.icewm.org/
Source: https://github.com/bbidulock/icewm/releases/download/%{version}/icewm-%{version}.tar.bz2
#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}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/xsessions/icewm*.desktop
%dir %{_docdir}/icewm
%{_docdir}/icewm/*
%{_mandir}/man1/icewm.1*
%doc AUTHORS COPYING
#BUGS CHANGES COPYING README README.wm-session TODO
%changelog
* Thu May 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.12-1mamba
- update to 1.3.12
* Tue Nov 19 2013 Automatic Build System <autodist@mambasoft.it> 1.3.8-1mamba
- automatic version update by autodist
* Mon Mar 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.7-2mamba
- specfile fixes
- added gcc 4.7 plus another ftbfs patches
* Wed Nov 16 2011 Filippo Bedendo Bordon <michiamophil@libero.it> 1.3.7-1mamba
- package created by autospec