74 lines
2.5 KiB
RPMSpec
74 lines
2.5 KiB
RPMSpec
Name: 9wm
|
|
Summary: Emulation of the Plan 9 window manager 8 1/2
|
|
Version: 1.2
|
|
Release: 9%{?dist}
|
|
License: MIT
|
|
Group: User Interface/Desktops
|
|
Source0: http://unauthorised.org/dhog/9wm/pre-9wm-%{version}.tar.gz
|
|
Source1: 9wm.desktop
|
|
# Patch from Debian, minor cleanups
|
|
Patch0: 9wm_1.2-9.diff
|
|
URL: http://unauthorised.org/dhog/9wm.html
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: imake, libXext-devel, libX11-devel, desktop-file-utils
|
|
# It needs this to open a terminal.
|
|
Requires: xterm
|
|
|
|
%description
|
|
9wm is an X window manager which attempts to emulate the Plan 9 window
|
|
manager 8-1/2 as far as possible within the constraints imposed by X.
|
|
It provides a simple yet comfortable user interface, without garish
|
|
decorations or title-bars. Or icons. And it's click-to-type.
|
|
|
|
%prep
|
|
%setup -q -n pre-9wm-%{version}
|
|
%patch0 -p1 -b .cleanups
|
|
|
|
%build
|
|
xmkmf
|
|
make %{?_smp_mflags} CDEBUGFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install install.man
|
|
desktop-file-install \
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/xsessions/ \
|
|
%{SOURCE1}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
%{_bindir}/9wm
|
|
%{_datadir}/xsessions/9wm.desktop
|
|
%{_mandir}/man1/9wm.*
|
|
|
|
%changelog
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Oct 8 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2
|
|
- fix defattr invocation
|
|
|
|
* Tue Oct 6 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1
|
|
- Initial package for Fedora
|