2010-01-11 09:40:52 +00:00
|
|
|
%global pkg_name xmonad
|
|
|
|
|
2011-04-22 08:35:41 +00:00
|
|
|
%global without_haddock 1
|
2011-03-11 11:48:36 +00:00
|
|
|
|
2011-05-17 09:19:12 +00:00
|
|
|
%global common_summary xmonad tiling window manager
|
2010-01-11 09:40:52 +00:00
|
|
|
|
|
|
|
%global common_description xmonad is a tiling window manager for X. Windows are arranged\
|
|
|
|
automatically to tile the screen without gaps or overlap, maximising\
|
|
|
|
screen use. All features of the window manager are accessible from\
|
|
|
|
the keyboard: a mouse is strictly optional. xmonad is written and\
|
|
|
|
extensible in Haskell. Custom layout algorithms, and other\
|
|
|
|
extensions, may be written by the user in config files. Layouts are\
|
|
|
|
applied dynamically, and different layouts may be used on each\
|
|
|
|
workspace. Xinerama is fully supported, allowing windows to be tiled\
|
|
|
|
on several screens.
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
2011-01-15 18:51:19 +00:00
|
|
|
Version: 0.9.2
|
2011-06-22 08:02:51 +00:00
|
|
|
Release: 9%{?dist}
|
2009-05-06 21:19:58 +00:00
|
|
|
Summary: A tiling window manager
|
|
|
|
|
|
|
|
Group: User Interface/X
|
|
|
|
License: BSD
|
2010-11-26 12:47:02 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{name}
|
2009-05-06 21:19:58 +00:00
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
|
2010-09-12 12:42:04 +00:00
|
|
|
Source1: xmonad-session.desktop
|
2009-05-06 21:19:58 +00:00
|
|
|
Source2: xmonad-start
|
2010-09-12 12:42:04 +00:00
|
|
|
Source3: xmonad.desktop
|
|
|
|
Source4: README.fedora
|
2011-04-22 09:18:40 +00:00
|
|
|
Source5: xmonad-gnome-session.desktop
|
|
|
|
Source6: xmonad.session
|
2010-09-12 12:42:04 +00:00
|
|
|
Patch1: xmonad-dynamic-link.patch
|
2011-06-22 08:02:51 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2011-05-12 09:53:28 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2010-09-04 10:28:48 +00:00
|
|
|
BuildRequires: hscolour
|
2011-04-22 09:18:40 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2011-05-12 09:53:28 +00:00
|
|
|
BuildRequires: ghc-mtl-prof, ghc-X11-prof
|
2011-05-17 09:19:12 +00:00
|
|
|
Requires: %{pkg_name}-core = %{version}-%{release}
|
|
|
|
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
|
|
|
Requires: ghc-xmonad-contrib-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
This is a meta-package that installs xmonad-core and ghc-xmonad-contrib-devel,
|
|
|
|
allowing xmonad to be configured with "~/.xmonad/xmonad.hs".
|
|
|
|
|
|
|
|
|
|
|
|
%package core
|
|
|
|
Summary: A tiling window manager
|
2010-09-12 12:42:04 +00:00
|
|
|
# required until there is a command to open a system-default xterminal
|
2009-05-06 21:19:58 +00:00
|
|
|
Requires: xterm
|
|
|
|
# for xmessage
|
|
|
|
Requires: xorg-x11-apps
|
|
|
|
|
2011-05-17 09:19:12 +00:00
|
|
|
%description core
|
|
|
|
This package contains the core xmonad window manager.
|
|
|
|
|
|
|
|
If you want to configure xmonad please also install either xmonad or xmonad-gnome.
|
|
|
|
|
|
|
|
|
|
|
|
%package gnome
|
|
|
|
Summary: xmonad GNOME session
|
2011-06-22 08:02:51 +00:00
|
|
|
Requires: %{pkg_name}-core = %{version}-%{release}
|
2011-05-17 09:19:12 +00:00
|
|
|
Requires: ghc-xmonad-contrib-devel
|
|
|
|
Requires: gnome-session, gnome-terminal
|
|
|
|
|
|
|
|
%description gnome
|
|
|
|
This package adds a "xmonad-gnome" X session configuration
|
|
|
|
so that xmonad can be started easily from GDM to run
|
|
|
|
in a GNOME session.
|
2009-05-06 21:19:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-09-12 12:42:04 +00:00
|
|
|
%patch1 -p1 -b .orig
|
|
|
|
cp -p %SOURCE4 .
|
2009-05-06 21:19:58 +00:00
|
|
|
|
2010-09-04 10:28:48 +00:00
|
|
|
|
2009-05-06 21:19:58 +00:00
|
|
|
%build
|
2010-09-04 10:28:48 +00:00
|
|
|
%ghc_lib_build
|
2009-05-06 21:19:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2010-09-04 10:28:48 +00:00
|
|
|
%ghc_lib_install
|
2009-05-06 21:19:58 +00:00
|
|
|
|
2011-01-15 18:12:51 +00:00
|
|
|
install -p -m 0644 -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
install -p -m 0644 -D %SOURCE1 %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
install -p -m 0755 -D %SOURCE2 %{buildroot}%{_bindir}/%{name}-start
|
2011-04-01 05:33:58 +00:00
|
|
|
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
|
2011-04-22 09:18:40 +00:00
|
|
|
install -p -m 0644 -D %SOURCE5 %{buildroot}%{_datadir}/xsessions/%{name}-gnome.desktop
|
|
|
|
install -p -m 0644 -D %SOURCE6 %{buildroot}%{_datadir}/gnome-session/sessions/%{name}.session
|
2009-11-15 11:42:20 +00:00
|
|
|
|
2011-01-15 18:12:51 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{name}-%{version}/man/xmonad.hs
|
2009-05-06 21:19:58 +00:00
|
|
|
|
|
|
|
|
2010-06-25 12:22:45 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2011-05-17 09:19:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files core
|
|
|
|
%defattr(-,root,root,-)
|
2010-09-12 12:42:04 +00:00
|
|
|
%doc CONFIG LICENSE README man/%{name}.hs README.fedora
|
2010-06-25 12:22:45 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/%{name}
|
|
|
|
%attr(755,root,root) %{_bindir}/%{name}-start
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
2010-09-12 12:42:04 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2011-05-17 09:19:12 +00:00
|
|
|
%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%files gnome
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/xsessions/%{name}-gnome.desktop
|
2011-04-22 09:18:40 +00:00
|
|
|
%{_datadir}/gnome-session/sessions/%{name}.session
|
2010-06-25 12:22:45 +00:00
|
|
|
|
|
|
|
|
2010-11-26 12:47:02 +00:00
|
|
|
%ghc_binlib_package
|
2010-09-04 10:28:48 +00:00
|
|
|
|
|
|
|
|
2009-05-06 21:19:58 +00:00
|
|
|
%changelog
|
2011-06-22 08:02:51 +00:00
|
|
|
* Thu Jun 16 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-9
|
|
|
|
- ignore user configured packages when recompiling user xmonad.hs
|
|
|
|
to avoid linking errors (#713035)
|
|
|
|
- don't display README.fedora initially on startup anymore
|
|
|
|
- drop the ghc-xmonad requires from xmonad-core
|
|
|
|
- update to cabal2spec-0.23.2
|
|
|
|
|
2011-05-17 09:19:12 +00:00
|
|
|
* Fri May 13 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-8
|
|
|
|
- add a core subpackage and let the base package can pull in ghc-xmonad*-devel
|
|
|
|
- add a gnome subpackage for the gnome session
|
2011-06-22 08:02:51 +00:00
|
|
|
- more README.fedora improvements
|
2011-05-17 09:19:12 +00:00
|
|
|
- xmonad-start: quote the xterm commands and support ~/.xmonad/session
|
|
|
|
- fix doc files conflicts by having xmonad-core require ghc-xmonad
|
|
|
|
|
2011-05-12 09:53:28 +00:00
|
|
|
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-7
|
|
|
|
- xmonad-start no longer execs xmonad not to confuse gnome-session
|
|
|
|
- xmonad-start now tries to setup a new xmonad.hs for GNOME desktop
|
|
|
|
if running a xmonad-gnome session with xmonad-contrib installed
|
|
|
|
- improvements to README.fedora
|
|
|
|
|
2011-04-22 08:35:41 +00:00
|
|
|
* Fri Apr 22 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-6
|
|
|
|
- drop explicit requires on ghc-xmonad-devel for lighter installs
|
|
|
|
- update readme to mention gsettings for gnome3
|
|
|
|
- enable ppc64 build
|
2011-04-22 09:18:40 +00:00
|
|
|
- buildrequires desktop-file-utils
|
|
|
|
- add an xsession file for a gnome-session too
|
|
|
|
- add a gnome-session-3 .session file
|
2011-04-22 08:35:41 +00:00
|
|
|
|
2011-04-01 05:33:58 +00:00
|
|
|
* Fri Apr 1 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-5
|
|
|
|
- use desktop-file-install to install xmonad.desktop correctly
|
2011-04-01 07:04:30 +00:00
|
|
|
- update the desktop files for desktop-file-validate
|
2011-04-01 05:33:58 +00:00
|
|
|
|
2011-03-11 11:48:36 +00:00
|
|
|
* Fri Mar 11 2011 Jens Petersen <petersen@redhat.com> - 0.9.2-4
|
2011-04-22 08:35:41 +00:00
|
|
|
- disable haddock for now to build
|
2011-03-11 11:48:36 +00:00
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.9.2-3
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-08 05:47:49 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-17 07:50:09 +00:00
|
|
|
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 0.9.2-1
|
2011-01-15 18:51:19 +00:00
|
|
|
- Update to 0.9.2
|
|
|
|
|
2011-01-15 18:12:51 +00:00
|
|
|
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 0.9.1-12
|
|
|
|
- Update to cabal2spec-0.22.4
|
|
|
|
- Rebuild
|
|
|
|
- Use %%{buildroot}
|
|
|
|
|
2010-12-05 09:34:08 +00:00
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-11
|
|
|
|
- rebuild
|
|
|
|
|
2010-11-26 12:47:02 +00:00
|
|
|
* Fri Nov 26 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-10
|
2010-11-26 13:45:53 +00:00
|
|
|
- backport exceptions changes from upstream darcs for ghc7 base4
|
2010-11-26 12:47:02 +00:00
|
|
|
- update url and drop -o obsoletes
|
|
|
|
|
2010-11-07 17:54:59 +00:00
|
|
|
* Sun Nov 07 2010 Ben Boeckel <mathstuf@gmail.com> - 0.9.1-9
|
|
|
|
- Rebuild
|
|
|
|
|
2010-09-30 00:56:04 +00:00
|
|
|
* Wed Sep 29 2010 jkeating - 0.9.1-8
|
|
|
|
- Rebuilt for gcc bug 634757
|
|
|
|
|
2010-09-23 04:29:13 +00:00
|
|
|
* Thu Sep 23 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-7
|
|
|
|
- xmonad-start should run xterm in background
|
|
|
|
- improve README.fedora more
|
|
|
|
|
2010-09-12 12:42:04 +00:00
|
|
|
* Sun Sep 12 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-6
|
|
|
|
- add application desktop file for gnome-session to find xmonad
|
|
|
|
so setting /desktop/gnome/session/required_components/windowmanager now works
|
|
|
|
- add xmonad-dynamic-link.patch to dynamically link customized xmonad
|
|
|
|
- move display of manpage for new users from xmonad.hs to xmonad-start
|
|
|
|
and only display it when no ~/.xmonad/
|
|
|
|
- drop skel file and dont create ~/.xmonad by default
|
|
|
|
|
2010-09-04 10:28:48 +00:00
|
|
|
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-5
|
|
|
|
- update to ghc-rpm-macros-0.8.1, hscolour and drop doc pkg (cabal2spec-0.22.2)
|
|
|
|
|
2010-06-25 12:22:45 +00:00
|
|
|
* Fri Jun 25 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-4
|
|
|
|
- strip dynamic files (cabal2spec-0.21.4)
|
|
|
|
|
2010-04-27 04:18:56 +00:00
|
|
|
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-3
|
|
|
|
- rebuild against ghc-6.12.2
|
|
|
|
|
2010-01-13 01:14:26 +00:00
|
|
|
* Wed Jan 13 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-2
|
|
|
|
- rebuild against ghc-mtl package
|
|
|
|
|
2010-01-11 09:40:52 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.9.1-1
|
|
|
|
- update to 0.9.1
|
|
|
|
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
|
|
|
|
- drop doc and prof bcond
|
|
|
|
- use common_summary and common_description
|
|
|
|
- use ghc_name, ghc_binlib_package and ghc_pkg_deps
|
|
|
|
- build shared library
|
|
|
|
- drop X11_minver for now: it breaks macros
|
|
|
|
- drop redundant buildroot and its install cleaning
|
|
|
|
|
2009-12-08 03:41:51 +00:00
|
|
|
* Tue Dec 8 2009 Jens Petersen <petersen@redhat.com> - 0.9-4
|
2010-01-11 09:40:52 +00:00
|
|
|
- drop the ppc build cabal workaround
|
2009-12-08 03:41:51 +00:00
|
|
|
|
2009-11-16 14:04:07 +00:00
|
|
|
* Tue Nov 17 2009 Jens Petersen <petersen@redhat.com> - 0.9-3
|
|
|
|
- use %%ghc_pkg_ver for requires
|
|
|
|
|
2009-11-15 12:12:32 +00:00
|
|
|
* Sun Nov 15 2009 Jens Petersen <petersen@redhat.com> - 0.9-2
|
|
|
|
- also buildrequires and requires ghc-X11-doc
|
|
|
|
|
2009-11-15 11:42:20 +00:00
|
|
|
* Sun Nov 15 2009 Jens Petersen <petersen@redhat.com> - 0.9-1
|
|
|
|
- update to 0.9 (requires ghc-X11 >= 1.4.6.1)
|
|
|
|
- drop superfluous X11_version from ghc-X11 requires
|
|
|
|
- rename X11_version to X11_minver
|
|
|
|
- remove extra xmonad.hs under datadir
|
|
|
|
|
2009-07-30 11:57:59 +00:00
|
|
|
* Thu Jul 30 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-15
|
|
|
|
- rebuild against newer packages from the mass rebuild
|
|
|
|
|
2009-07-27 08:19:32 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-16 01:24:39 +00:00
|
|
|
* Sat May 16 2009 Jens Petersen <petersen@redhat.com> - 0.8.1-13
|
|
|
|
- buildrequires ghc-rpm-macros (cabal2spec-0.16)
|
|
|
|
- rebuild for ghc-6.10.3
|
|
|
|
|
2009-05-06 21:48:56 +00:00
|
|
|
* Wed May 6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-12
|
|
|
|
- applies changes from jens' patch
|
|
|
|
- renames xmonad.desktop entry
|
|
|
|
- adds .orig of the xmonad default config
|
|
|
|
- modifies manpage patch to use 'better' filenames
|
|
|
|
- renames manpage patch
|
|
|
|
|
2009-05-06 21:19:58 +00:00
|
|
|
* Mon Apr 27 2009 Yaakov M. Nemoy <yankee@localhost.localdomain> - 0.8.1-11
|
|
|
|
- adds runghc hack taken from haddock
|
|
|
|
|
|
|
|
* Mon Apr 27 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-10
|
|
|
|
- converts the sample config into a patch on the upstream source
|
|
|
|
- renumbers down the source lines
|
|
|
|
|
|
|
|
* Mon Apr 20 2009 Jens Petersen <petersen@redhat.com> - 0.8.1-9
|
|
|
|
- update to latest macros.ghc without ghc_version (cabal2spec-0.15)
|
|
|
|
- require xorg-x11-apps for xmessage
|
|
|
|
|
|
|
|
* Mon Apr 6 2009 Jens Petersen <petersen@redhat.com>
|
|
|
|
- merge xmonad-session into xmonad-start
|
|
|
|
- fix with_prof configure test
|
|
|
|
|
|
|
|
* Thu Apr 02 2009 Till Maas <opensource@till.name> - 0.8.1-8
|
|
|
|
- remove tabs in spec
|
|
|
|
- rename start-xmonad to xmonad-start for consistency with xmonad-session
|
|
|
|
- add directory creation and exec of xmonad to start-xmonad
|
|
|
|
- install xmonad.hs that only displays manpage in /etc/skel/.xmonad/xmonad.hs
|
|
|
|
- add xterm dependency
|
|
|
|
|
|
|
|
* Tue Mar 31 2009 Yaakov M. Nemoy <yankee@localhost.localdomain> - 0.8.1-7
|
|
|
|
- added session and start scripts
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Till Maas <opensource@till.name> - 0.8.1-6
|
|
|
|
- add desktop file
|
|
|
|
- install man page
|
|
|
|
- include sample config file (xmonad.hs)
|
|
|
|
- include other documentation files
|
|
|
|
|
|
|
|
* Tue Mar 17 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-5
|
|
|
|
- refixes permissions after doing it wrong the first time
|
|
|
|
|
|
|
|
* Fri Mar 13 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-4
|
|
|
|
- fixed license to BSD
|
|
|
|
- fixed version of X11 to be a tad more flexible
|
|
|
|
- fixes permissions of /usr/bin/xmonad
|
|
|
|
|
|
|
|
* Mon Mar 2 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-3
|
|
|
|
- updated to newest cabal2spec 0.12
|
|
|
|
- this includes the shiny new devel package
|
|
|
|
|
|
|
|
* Tue Feb 24 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.8.1-2
|
|
|
|
- updated spec to meet new guidelines ala cabal2spec 0.7
|
|
|
|
|
|
|
|
* Wed Jan 21 2009 ynemoy <ynemoy@fedoraproject.org> - 0.8.1-1
|
|
|
|
- initial packaging for Fedora created by cabal2spec
|