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