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