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