]> git.pld-linux.org Git - packages/awesome.git/blame - awesome.spec
- added lua51 BR
[packages/awesome.git] / awesome.spec
CommitLineData
e66c95bd
ZU
1## Todo: lua-doc
2%define _MainVersion 3.0
3%define _RC rc6
4Summary: Awesome Window Manager
5Summary(hu.UTF-8): awesome ablakkezelő
6Summary(pl.UTF-8): Zarządca okien X - Awesome
7Name: awesome
8Version: %{_MainVersion}%{_RC}
9Release: 0.1
10License: GPL v2
11Group: X11/Window Managers
12Source0: http://awesome.naquadah.org/download/%{name}-%{_MainVersion}-%{_RC}.tar.bz2
13Source1: %{name}-xsession.desktop
14Patch0: %{name}-lua-files.patch
15# Source0-md5: cc5588184a3f77f21af3deb5180f704f
16URL: http://awesome.naquadah.org
17# BuildRequires: luadoc - this is very difficult, because of luadoc reqs :(
18BuildRequires: asciidoc
19BuildRequires: cairo-devel
20BuildRequires: cmake >= 2.6
21BuildRequires: dbus-devel
22# doxygen required when build source code reference, but without luadoc...
23# BuildRequires: doxygen
24BuildRequires: gdk-pixbuf-devel
25BuildRequires: gperf
26BuildRequires: libev-devel
ba2b0e1c 27BuildRequires: lua51
e66c95bd
ZU
28BuildRequires: lua51-devel
29BuildRequires: pango-devel
30BuildRequires: pkgconfig >= 0.9.0
31BuildRequires: sed >= 4.0
32BuildRequires: xcb-util-devel >= 0.2.1
33BuildRequires: xmlto
34BuildRequires: xorg-lib-libICE-devel
35BuildRequires: xorg-lib-libXext-devel
36BuildRequires: xorg-lib-libXft-devel
37BuildRequires: xorg-lib-libXinerama-devel
38BuildRequires: xorg-lib-libXrandr-devel
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%{expand:%%define _sysconfdir %{_sysconfdir}/X11}
42
43%description
44awesome is a highly configurable, next generation framework window
45manager for X. It is very fast, light and extensible. It is primarly
46targeted at power user, developer and any people dealing with every
47day computing tasks and want to have fine-grained control on its
48graphical environment.
49
50%description -l hu.UTF-8
51awesome egy végletekig beállítható, következő generációs ablakkezelő
52az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
53célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
54számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
55felületén.
56
57%prep
58%setup -q -n %{name}-%{_MainVersion}-%{_RC}
59%patch0 -p1
60
61%build
62cmake -DLUA_INC_DIR=%{_includedir}/lua51/ -DPREFIX=%{_prefix} -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} -DAWESOME_DATA_PATH=%{_datadir}/%{name} -DSYSCONFDIR=%{_sysconfdir}
63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
78%doc AUTHORS LICENSE README STYLE
79%attr(755,root,root) %{_bindir}/%{name}
80%attr(755,root,root) %{_bindir}/%{name}-client
81%attr(755,root,root) %{_bindir}/awsetbg
82%{_datadir}/%{name}
83%{_datadir}/xsessions/%{name}.desktop
84%{_mandir}/man1/%{name}*
85%{_mandir}/man5/%{name}*
86%dir %{_sysconfdir}/xdg
87%dir %{_sysconfdir}/xdg/awesome
88%{_sysconfdir}/xdg/awesome/*
This page took 0.108515 seconds and 4 git commands to generate.