icewm/icewm.spec

141 lines
4.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: icewm
Version: 2.1.1
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.git/%{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
Patch2: icewm-1.6.2-CMakeLists-fix-install.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
%patch2 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install lib/IceWM.jpg %{buildroot}%{_datadir}/%{name}/IceWM.jpg
%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/icehelp.1*
%{_mandir}/man1/icesh.1*
%{_mandir}/man1/icesound.1*
%{_mandir}/man1/icewm*.1*
%{_mandir}/man5/icewm*.5*
%doc AUTHORS COPYING
#BUGS CHANGES COPYING README README.wm-session TODO
%changelog
* Mon Feb 01 2021 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Mon Dec 21 2020 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Thu Nov 12 2020 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- automatic version update by autodist
* Thu Nov 05 2020 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Fri Oct 30 2020 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist
* Fri Sep 18 2020 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Mon Sep 14 2020 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Tue Sep 01 2020 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Fri Aug 28 2020 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Thu Jul 16 2020 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
- automatic version update by autodist
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
- automatic version update by autodist
* Mon Nov 25 2019 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Wed Aug 28 2019 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* 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