]> git.pld-linux.org Git - packages/awesome.git/blame - awesome.spec
- fix the name of lua-files
[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
27BuildRequires: lua51-devel
28BuildRequires: pango-devel
29BuildRequires: pkgconfig >= 0.9.0
30BuildRequires: sed >= 4.0
31BuildRequires: xcb-util-devel >= 0.2.1
32BuildRequires: xmlto
33BuildRequires: xorg-lib-libICE-devel
34BuildRequires: xorg-lib-libXext-devel
35BuildRequires: xorg-lib-libXft-devel
36BuildRequires: xorg-lib-libXinerama-devel
37BuildRequires: xorg-lib-libXrandr-devel
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%{expand:%%define _sysconfdir %{_sysconfdir}/X11}
41
42%description
43awesome is a highly configurable, next generation framework window
44manager for X. It is very fast, light and extensible. It is primarly
45targeted at power user, developer and any people dealing with every
46day computing tasks and want to have fine-grained control on its
47graphical environment.
48
49%description -l hu.UTF-8
50awesome egy végletekig beállítható, következő generációs ablakkezelő
51az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
52célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
53számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
54felületén.
55
56%prep
57%setup -q -n %{name}-%{_MainVersion}-%{_RC}
58%patch0 -p1
59
60%build
61cmake -DLUA_INC_DIR=%{_includedir}/lua51/ -DPREFIX=%{_prefix} -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} -DAWESOME_DATA_PATH=%{_datadir}/%{name} -DSYSCONFDIR=%{_sysconfdir}
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc AUTHORS LICENSE README STYLE
78%attr(755,root,root) %{_bindir}/%{name}
79%attr(755,root,root) %{_bindir}/%{name}-client
80%attr(755,root,root) %{_bindir}/awsetbg
81%{_datadir}/%{name}
82%{_datadir}/xsessions/%{name}.desktop
83%{_mandir}/man1/%{name}*
84%{_mandir}/man5/%{name}*
85%dir %{_sysconfdir}/xdg
86%dir %{_sysconfdir}/xdg/awesome
87%{_sysconfdir}/xdg/awesome/*
This page took 0.049667 seconds and 4 git commands to generate.