a2f0312
Name:		awesome
4be59cb
Version:	3.5.1
f10269e
Release:	5%{?dist}
a2f0312
Summary:	Highly configurable, framework window manager for X. Fast, light and extensible
a2f0312
Group:		User Interface/Desktops
a2f0312
# common/buffer.[ch]: BSD
a2f0312
License:	GPLv2+ and BSD
a2f0312
URL:		http://awesome.naquadah.org
a2f0312
Source0:	http://awesome.naquadah.org/download/%{name}-%{version}.tar.xz
11bafa6
Patch0:		awesome-3.4-libev-pkg-config.patch
ab5a340
Patch1:		awesome-3.5.1-lua-52.patch
6e3019f
Patch2:		awesome-3.5.1-use-vi-instead-of-nano.patch
a2f0312
a2f0312
BuildRequires:	cmake >= 2.8.0
a2f0312
a2f0312
BuildRequires:	ImageMagick
a2f0312
BuildRequires:	asciidoc
a2f0312
BuildRequires:	doxygen
a2f0312
BuildRequires:	graphviz
ab5a340
BuildRequires:	lua-devel >= 5.2
4be59cb
BuildRequires:	lua-ldoc
a2f0312
BuildRequires:	xmlto
4be59cb
a2f0312
BuildRequires:	pkgconfig(xcb) >= 1.6
a2f0312
BuildRequires:	pkgconfig(glib-2.0)
4be59cb
BuildRequires:	pkgconfig(libev)
4be59cb
BuildRequires:	pkgconfig(gdk-pixbuf-2.0)
4be59cb
BuildRequires:	pkgconfig(cairo)
a2f0312
BuildRequires:	pkgconfig(x11)
11bafa6
BuildRequires:	pkgconfig(x11-xcb)
4be59cb
BuildRequires:	pkgconfig(xcursor)
a2f0312
BuildRequires:	pkgconfig(xcb-randr)
a2f0312
BuildRequires:	pkgconfig(xcb-xtest)
4be59cb
BuildRequires:	pkgconfig(xcb-xinerama)
4be59cb
BuildRequires:	pkgconfig(xcb-shape)
4be59cb
BuildRequires:	pkgconfig(xcb-util) >= 0.3.8
4be59cb
BuildRequires:	pkgconfig(xcb-keysyms) >= 0.3.4
4be59cb
BuildRequires:	pkgconfig(xcb-icccm) >= 0.3.8
4be59cb
BuildRequires:	pkgconfig(xcb-image) >= 0.3.0
4be59cb
BuildRequires:	pkgconfig(cairo-xcb)
4be59cb
BuildRequires:	pkgconfig(libstartup-notification-1.0) >= 0.10
a2f0312
BuildRequires:	pkgconfig(xproto) >= 7.0.15
4be59cb
BuildRequires:	pkgconfig(libxdg-basedir) >= 1.0.0
4be59cb
BuildRequires:	pkgconfig(dbus-1)
4be59cb
4be59cb
BuildRequires:	lua-lgi
4be59cb
BuildRequires:	pkgconfig(pango) >= 1.19.3
4be59cb
BuildRequires:	pkgconfig(pangocairo) >= 1.19.3
87b59a9
Requires:	lua-lgi
f74a446
# next two loaded via lgi
f74a446
Requires:	pango%{?_isa} >= 1.19.3
f74a446
Requires:	cairo-gobject%{?_isa}
4be59cb
a2f0312
BuildRequires:	desktop-file-utils
a2f0312
Requires:	startup-notification >= 0.10
a2f0312
# terminal used in the default configuration
a2f0312
Requires:	xterm
a2f0312
# optional but useful
a2f0312
Requires:	rlwrap
4e5af4b
# default editor
4e5af4b
Requires:	vi
a2f0312
a2f0312
a2f0312
%description
b50b1d8
Awesome is a highly configurable, next generation framework window
a2f0312
manager for X. It is very fast, light and extensible.
a2f0312
b50b1d8
It is primary targeted at power users, developers and any people
b50b1d8
dealing with every day computing tasks and want to have fine-grained
a2f0312
control on its graphical environment.
a2f0312
a2f0312
b50b1d8
%package	doc
a2f0312
Summary:	API doc files
a2f0312
Group:		Documentation
a2f0312
Requires:	%{name} = %{version}-%{release}
a2f0312
a2f0312
%description	doc
a2f0312
API doc files for awesome generated by luadoc.
a2f0312
a2f0312
a2f0312
%prep
a2f0312
%setup -q
a2f0312
# Fedora specific patch - we provide pkgconfig support for libev
a2f0312
# so we also provide it's usage in awesome
11bafa6
%patch0 -p1
ab5a340
%patch1 -p1 -b .lua-52
6e3019f
%patch2 -p1
a2f0312
a2f0312
%build
4be59cb
mkdir build; pushd build
4be59cb
%cmake -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \
4be59cb
       -DXDG_CONFIG_DIR=%{_sysconfdir}/xdg \
4be59cb
       -DLDOC_EXECUTABLE=%{_bindir}/ldoc \
4be59cb
       ..
4be59cb
popd
4be59cb
make -C build VERBOSE=1 %{?_smp_mflags} awesome
a2f0312
a2f0312
a2f0312
%install
b50b1d8
make -C build DESTDIR="%{buildroot}" INSTALL="install -p" install
a2f0312
a2f0312
# verify desktop file
a2f0312
desktop-file-validate %{buildroot}%{_datadir}/xsessions/%{name}.desktop
a2f0312
4be59cb
# move HTML docs
4be59cb
mv %{buildroot}%{_docdir}/%{name}-%{version}/doc \
4be59cb
   %{buildroot}%{_docdir}/%{name}
4be59cb
a2f0312
a2f0312
%files
4be59cb
%doc %{_docdir}/%{name}-%{version}/*
a2f0312
%dir %{_sysconfdir}/xdg/%{name}
a2f0312
%config(noreplace) %{_sysconfdir}/xdg/%{name}/rc.lua
a2f0312
%{_bindir}/awesome
a2f0312
%{_bindir}/awesome-client
a2f0312
%{_datadir}/%{name}
a2f0312
%{_mandir}/man?/*
a2f0312
%{_mandir}/*/man1/*
a2f0312
%{_mandir}/*/man5/*
a2f0312
%{_datadir}/xsessions/%{name}.desktop
a2f0312
a2f0312
a2f0312
%files doc
4be59cb
%doc %{_docdir}/%{name}
a2f0312
a2f0312
a2f0312
%changelog
f74a446
* Tue May 28 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.5.1-6
4e5af4b
- Add vi as explicit requirement.
f74a446
- Add requirement on cairo-gobject, should fix rhbz#959169.
f74a446
f10269e
* Sat May 25 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.5.1-5
f10269e
- Remove obsolete BR on gperf.
f10269e
6e3019f
* Mon May 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.1-4
6e3019f
- Set default editor to vi
6e3019f
- Resolves: rhbz#964945
6e3019f
ab5a340
* Mon May 13 2013 Tom Callaway <spot@fedoraproject.org> - 3.5.1-3
ab5a340
- rebuild for lua 5.2
ab5a340
87b59a9
* Thu Apr  4 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.5.1-2
87b59a9
- The Lua GObject introspection package is needed at runtime.
87b59a9
4be59cb
* Wed Apr  3 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.5.1-1
4be59cb
- Update to 3.5.1.
4be59cb
- Rework BR section:
4be59cb
  - Replace imlib2 with gdk-pixbuf-2.0.
4be59cb
  - Replace luadoc with lua-ldoc.
4be59cb
  - Add lua-lgi.
4be59cb
a5df332
* Sat Mar 16 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.15-1
a5df332
- Update to 3.4.15.
a5df332
- Add patch from upstream to fix rhbz#901434.
a5df332
eb8d528
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.14-2
eb8d528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eb8d528
11bafa6
* Fri Jan  4 2013 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.14-1
11bafa6
- Update to 3.4.14.
11bafa6
- Update buildrequires.
11bafa6
Stanislav Ochotnicky 71fc66b
* Tue Aug 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.4.13-2
Stanislav Ochotnicky 71fc66b
- Rebuilt for libxcb-util soname bump
Stanislav Ochotnicky 71fc66b
c4c82f9
* Wed Jul 18 2012 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.13-1
c4c82f9
- Update to 3.4.13.
c4c82f9
a95273b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.12-2
a95273b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a95273b
a80df5c
* Sat Jun 16 2012 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.12-1
a80df5c
- Update to 3.4.12.
a80df5c
- Remove patches applied upstream.
a80df5c
a2f0312
* Wed May 30 2012 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.11-5
a2f0312
- Update License tag.
a2f0312
- Fix permissions of generated HTML docs.
a2f0312
- Patch and validate the .desktop file.
a2f0312
a2f0312
* Thu May 24 2012 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.11-4
a2f0312
- Specfile cleanups.
a2f0312
a2f0312
* Fri Apr  6 2012 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.11-3
a2f0312
- Rebuilt.
a2f0312
a2f0312
* Wed Dec 14 2011 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.11-2
a2f0312
- Add patch to build against glib2 2.31.0 and later.
a2f0312
a2f0312
* Mon Dec  5 2011 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.11-1
a2f0312
- Update to 3.4.11, add patch for older Fedora releases.
a2f0312
- Add dependencies on xterm and rlwrap.
a2f0312
- Rework BR section.
a2f0312
a2f0312
* Tue Sep 27 2011 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.10-3
a2f0312
- Remove dependency on xsri.
a2f0312
a2f0312
* Mon Sep 26 2011 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.10-2
a2f0312
- Rebuilt for newer cairo rpm.
a2f0312
a2f0312
* Sun May 22 2011 Thomas Moschny <thomas.moschny@gmx.de> - 3.4.10-1
a2f0312
- Update to 3.4.10.
a2f0312
- Add dependencies to ease installation.
a2f0312
a2f0312
* Mon Jan 17 2011 Michal Nowak <mnowak@redhat.com> 3.4.9-1
a2f0312
- 3.4.9
a2f0312
- require cmake >= 2.8.0
a2f0312
a2f0312
* Mon Oct 18 2010 Michal Nowak <mnowak@redhat.com> 3.4.8-1
a2f0312
- 3.4.8
a2f0312
a2f0312
* Thu Aug 26 2010 Michal Nowak <mnowak@redhat.com> 3.4.7-1
a2f0312
- 3.4.7
a2f0312
a2f0312
* Fri Jul 23 2010 Michal Nowak <mnowak@redhat.com> 3.4.6-1
a2f0312
- 3.4.6
a2f0312
a2f0312
* Mon May 17 2010 Michal Nowak <mnowak@redhat.com> 3.4.5-1
a2f0312
- 3.4.5
a2f0312
- we ship non-English man pages with this release
a2f0312
a2f0312
* Thu Mar  4 2010 Michal Nowak <mnowak@redhat.com> 3.4.4-1
a2f0312
- 3.4.4
a2f0312
a2f0312
* Mon Jan  4 2010 Michal Nowak <mnowak@redhat.com> 3.4.3-1
a2f0312
- 3.4.3
a2f0312
- .in files are finally not installed anymore
a2f0312
a2f0312
* Wed Dec  2 2009 Michal Nowak <mnowak@redhat.com> 3.4.2-1
a2f0312
- 3.4.2
a2f0312
- use xz instead of bz2
a2f0312
a2f0312
* Sun Nov 22 2009 Michal Nowak <mnowak@redhat.com> 3.4.1-1
a2f0312
- 3.4.1
a2f0312
a2f0312
* Thu Oct 22 2009 Michal Nowak <mnowak@redhat.com> 3.4-1
a2f0312
- 3.4
a2f0312
a2f0312
* Mon Oct 12 2009 Michal Nowak <mnowak@redhat.com> 3.4-0.3.rc3
a2f0312
- 3.4~rc3
a2f0312
a2f0312
* Tue Oct  6 2009 Michal Nowak <mnowak@redhat.com> 3.4-0.2.rc2
a2f0312
- remove .in files in build root rather in source dir
a2f0312
a2f0312
* Mon Oct  5 2009 Michal Nowak <mnowak@redhat.com> 3.4-0.1.rc2
a2f0312
- 3.4-rc2
a2f0312
a2f0312
* Fri Sep 18 2009 Jens Petersen <petersen@redhat.com> - 3.3.4-3
a2f0312
- integrate rctag macro
a2f0312
- simplify removal of .in files and filelist
a2f0312
a2f0312
* Wed Sep 16 2009 Michal Nowak <mnowak@redhat.com> 3.3.4-2
a2f0312
- libxdg-basedir-devel as BR
a2f0312
a2f0312
* Wed Sep 16 2009 Michal Nowak <mnowak@redhat.com> 3.3.4-1
a2f0312
- 3.3.4
a2f0312
- BuildRequire: ImageMagick, libxdg-basedir
a2f0312
a2f0312
* Sat Aug 29 2009 Michal Nowak <mnowak@redhat.com> 3.3.3-1
a2f0312
- 3.3.3
a2f0312
a2f0312
* Sat Aug  1 2009 Michal Nowak <mnowak@redhat.com> 3.3.2-1
a2f0312
- 3.3.2
a2f0312
a2f0312
* Mon Jun 22 2009 Michal Nowak <mnowak@redhat.com> 3.3.1-1
a2f0312
- 3.3.1
a2f0312
a2f0312
* Fri Jun 12 2009 Michal Nowak <mnowak@redhat.com> 3.3-1
a2f0312
- 3.3
a2f0312
a2f0312
* Thu May 28 2009 Michal Nowak <mnowak@redhat.com> 3.3-0.4.rc4
a2f0312
- 3.3-rc4
a2f0312
a2f0312
* Tue May 19 2009 Michal Nowak <mnowak@redhat.com> 3.3-0.3.rc3
a2f0312
- 3.3-rc3
a2f0312
a2f0312
* Thu May 13 2009 Michal Nowak <mnowak@redhat.com> 3.3-0.2.rc2
a2f0312
- 3.3-rc2
a2f0312
a2f0312
* Thu May  7 2009 Michal Nowak <mnowak@redhat.com> 3.3-0.1.rc1
a2f0312
- 3.3-rc1
a2f0312
a2f0312
* Mon Mar 16 2009 Michal Nowak <mnowak@redhat.com> 3.2-1
a2f0312
- 3.2
a2f0312
a2f0312
* Mon Mar  2 2009 Michal Nowak <mnowak@redhat.com> 3.2-0.2.rc4
a2f0312
- 3.2-rc4
a2f0312
a2f0312
* Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> 3.2-0.1.rc3
a2f0312
- 3.2-rc3
a2f0312
- more docs files
a2f0312
a2f0312
* Tue Jan 13 2009 Michal Nowak <mnowak@redhat.com> 3.1.1-1
a2f0312
- 3.1.1
a2f0312
a2f0312
* Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> 3.1-2
a2f0312
- minor SPEC-file changes
a2f0312
a2f0312
* Sun Dec 14 2008 Michal Nowak <mnowak@redhat.com> 3.1-1
a2f0312
- 3.1
a2f0312
a2f0312
* Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> 3.0-1
a2f0312
- bump to 3.0
a2f0312
a2f0312
* Sat Sep 06 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.8.rc6
a2f0312
- bump to RC6
a2f0312
- /usr/share/awesome/themes/default is now, again, config file
a2f0312
a2f0312
* Fri Aug 29 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.7.rc5
a2f0312
- bump to RC5
a2f0312
a2f0312
* Sun Aug 24 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.6.rc4
a2f0312
- bump to RC4
a2f0312
- rejecting awesome-3.0-rc3-enhance-wallpaper-cmd.patch -- solved
a2f0312
  upstream via awsetbg script
a2f0312
- using imlib2 instead of GTK+ pixbuf
a2f0312
a2f0312
* Mon Aug 18 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.5.rc3
a2f0312
- buildepend on readline-devel, glib2-devel, gtk2-devel, luadoc
a2f0312
- install via "install -p"
a2f0312
- %%{_datadir}/%%{name}/themes/default is not a config file no more,
a2f0312
  having config file in /usr is kinda weird
a2f0312
- added sub-package awesome-doc to handle API doc files
a2f0312
a2f0312
* Sat Aug 16 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.4.rc3
a2f0312
- awesome-3.0-rc3-enhance-wallpaper-cmd.patch: enhance setting of wallpaper
a2f0312
- new dep: xsri
a2f0312
- %%{_datadir}/%%{name}/themes/default is now handled configfile
a2f0312
a2f0312
* Thu Aug 15 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.3.rc3
a2f0312
- bump to RC3
a2f0312
- xsession desktop file is now provided by upstream
a2f0312
- dumped patches
a2f0312
	awesome-3.0-rc1-fedora-doc-path.patch
a2f0312
	awesome-3.0-rc2-fedora-xsession-path.patch
a2f0312
  both are now in upstream
a2f0312
- cmake is now need >2.6 (present in rawhide)
a2f0312
a2f0312
* Thu Aug 11 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.2.rc2
a2f0312
- bump to RC2
a2f0312
a2f0312
* Thu Aug 04 2008 Michal Nowak <mnowak@redhat.com> 3.0-0.1.rc1
a2f0312
- bump to awesome v3-the new generation
a2f0312
a2f0312
* Thu Jul 28 2008 Michal Nowak <mnowak@redhat.com> 2.3.3-1
a2f0312
- version bump fixes two bugs
a2f0312
- give floating dialogs of maximized windows focus
a2f0312
- awesomerc: fix xterm -e in case of others terms
a2f0312
a2f0312
* Thu Jul 17 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-7
a2f0312
- after some discussion I removed explicit dependency on libconfuse >= 2.6;
b50b1d8
  the thing is that awesome runs fine with libconfuse-2.5 but does not
a2f0312
  build with < 2.6. Some build-time hack might be possible but I am obviously
a2f0312
  not going to be involved in this auto*magic. (thx Hans Ulrich Niedermann)
a2f0312
a2f0312
* Wed Jul 16 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-6
a2f0312
- added libXinerama-devel, hopefully last BuildRequire
a2f0312
a2f0312
* Wed Jul 16 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-5
b50b1d8
- by mistake I removed BuildRequire on libconfuse-devel,
a2f0312
  now is back again (thanks Mamoru Tasaka)
a2f0312
a2f0312
* Tue Jul 15 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-4
a2f0312
- small polishing in %%doc line
a2f0312
a2f0312
* Mon Jul 14 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-3
a2f0312
- removed redundant libconfuse-devel in BuildRequires
a2f0312
- %%{__install} .desktop file instead of install via desktop-file-install
a2f0312
- changed the license to GPLv2+
a2f0312
- changes in .desktop file
a2f0312
- updated --docdir to include %%{version} too
a2f0312
a2f0312
* Thu Jul 10 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-2
a2f0312
- bumped libconfuse BuildDependency to insist on version 2.6
a2f0312
- changed buildroot to not to have random one
a2f0312
- enhanced %%description
a2f0312
a2f0312
* Thu Jul 3 2008 Michal Nowak <mnowak@redhat.com> 2.3.2-1
a2f0312
- version bump
a2f0312
- add libconfuse-devel as a build dep.
a2f0312
- removed Fedora as a vendor from .desktop file
a2f0312
a2f0312
* Sun Jun 22 2008 Michal Nowak <mnowak@redhat.com> 2.3.1-1
a2f0312
- Initial package