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