X-Git-Url: https://git.pld-linux.org/?p=packages%2Fawesome.git;a=blobdiff_plain;f=awesome.spec;h=bc6d556db590c65e9f12a2d2808a2f5a4ee50dff;hp=d147979e05ccd42b7a2e5476ca3bb123ce14986c;hb=e4a5b042f8131a0e8c934b68f0f2f9b0c20003c8;hpb=432f898ffdf066c59bb62d409d7b71e6a812c7d9 diff --git a/awesome.spec b/awesome.spec index d147979..bc6d556 100644 --- a/awesome.spec +++ b/awesome.spec @@ -1,26 +1,41 @@ -# $Revision $, $Date: 2008-03-15 16:08:03 $ -# +# TODO +# - lua-doc: spec file is created - OK +# - add luadoc and doxygen to BRs +# - move the generated html files (with luadoc) to correct place +# - split two subpackage: awesome and awesome-doc (htmls) +# - correct xsession.desktop file to appear in *dm +%define subver rc6 +%define rel 2 Summary: Awesome Window Manager +Summary(hu.UTF-8): awesome ablakkezelő Summary(pl.UTF-8): Zarządca okien X - Awesome Name: awesome -Version: 2.1 -Release: 0.1 +Version: 3.0 +Release: 1 License: GPL v2 Group: X11/Window Managers Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 -# Source0-md5: def20d92c1af0352fd027889890e5844 +# Source0-md5: 32bb9e94a63f421a7a8500f1041b6add Source1: %{name}-xsession.desktop -URL: http://awesome.naquadah.org/ +Patch0: %{name}-3.0-lua-files.patch +URL: http://awesome.naquadah.org +# BuildRequires: luadoc - it's ready but need to build luadoc (it exists in SPEC-file) BuildRequires: asciidoc -#BuildRequires: autoconf >= 2.59-9 -#BuildRequires: automake BuildRequires: cairo-devel -BuildRequires: doxygen -BuildRequires: libconfuse-devel -BuildRequires: libtool -BuildRequires: pkgconfig +BuildRequires: cmake >= 2.6 +BuildRequires: dbus-devel +# doxygen required when build source code reference - see TODO +# BuildRequires: doxygen +BuildRequires: gdk-pixbuf-devel +BuildRequires: gperf +BuildRequires: libev-devel +BuildRequires: lua51 +BuildRequires: lua51-devel +BuildRequires: pango-devel BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: rpmbuild(macros) >= 1.293 BuildRequires: sed >= 4.0 +BuildRequires: xcb-util-devel >= 0.3 BuildRequires: xmlto BuildRequires: xorg-lib-libICE-devel BuildRequires: xorg-lib-libXext-devel @@ -29,29 +44,33 @@ BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXrandr-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%{expand:%%define _sysconfdir %{_sysconfdir}/X11} -#%undefine __cxx +%define _sysconfdir /etc/X11 %description -awesome is a floating and tiling window manager initialy based on a -dwm code rewriting. It's extremely fast, small, dynamic and awesome. +awesome is a highly configurable, next generation framework window +manager for X. It is very fast, light and extensible. It is primarly +targeted at power user, developer and any people dealing with every +day computing tasks and want to have fine-grained control on its +graphical environment. -#%description -l pl.UTF-8 +%description -l hu.UTF-8 +awesome egy végletekig beállítható, következő generációs ablakkezelő +az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges +célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap +számítógéppel dolgozik és teljeskörű irányítást akar a grafikus +felületén. %prep %setup -q -#%patch0 -p1 +%patch0 -p1 %build -#%{__libtoolize} -#%{__aclocal} -I m4 -#%{__autoconf} -#%{__autoheader} -#%{__automake} -%configure \ - --disable-static - - +%cmake \ + -DLUA_INC_DIR=%{_includedir}/lua51 \ + -DPREFIX=%{_prefix} \ + -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \ + -DAWESOME_DATA_PATH=%{_datadir}/%{name} \ + -DSYSCONFDIR=%{_sysconfdir} %{__make} %install @@ -60,7 +79,6 @@ install -d $RPM_BUILD_ROOT%{_datadir}/xsessions %{__make} install \ DESTDIR=$RPM_BUILD_ROOT - install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop %clean @@ -68,9 +86,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS LICENSE README STYLE awesomerc +%doc AUTHORS LICENSE README STYLE %attr(755,root,root) %{_bindir}/%{name} %attr(755,root,root) %{_bindir}/%{name}-client +%attr(755,root,root) %{_bindir}/awsetbg %{_datadir}/%{name} %{_datadir}/xsessions/%{name}.desktop %{_mandir}/man1/%{name}* +%{_mandir}/man5/%{name}* +# XXX shouldn't this dir be in filesystem or xorg packages? +%dir %{_sysconfdir}/xdg +%dir %{_sysconfdir}/xdg/awesome +%{_sysconfdir}/xdg/awesome/*