]>
Commit | Line | Data |
---|---|---|
432f898f BZ |
1 | # $Revision $, $Date: 2008-03-15 16:08:03 $ |
2 | # | |
3 | Summary: Awesome Window Manager | |
4 | Summary(pl.UTF-8): Zarządca okien X - Awesome | |
5 | Name: awesome | |
6 | Version: 2.1 | |
7 | Release: 0.1 | |
8 | License: GPL v2 | |
9 | Group: X11/Window Managers | |
10 | Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: def20d92c1af0352fd027889890e5844 | |
12 | Source1: %{name}-xsession.desktop | |
13 | URL: http://awesome.naquadah.org/ | |
14 | BuildRequires: asciidoc | |
15 | #BuildRequires: autoconf >= 2.59-9 | |
16 | #BuildRequires: automake | |
17 | BuildRequires: cairo-devel | |
18 | BuildRequires: doxygen | |
19 | BuildRequires: libconfuse-devel | |
20 | BuildRequires: libtool | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: pkgconfig >= 0.9.0 | |
23 | BuildRequires: sed >= 4.0 | |
24 | BuildRequires: xmlto | |
25 | BuildRequires: xorg-lib-libICE-devel | |
26 | BuildRequires: xorg-lib-libXext-devel | |
27 | BuildRequires: xorg-lib-libXft-devel | |
28 | BuildRequires: xorg-lib-libXinerama-devel | |
29 | BuildRequires: xorg-lib-libXrandr-devel | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %{expand:%%define _sysconfdir %{_sysconfdir}/X11} | |
33 | #%undefine __cxx | |
34 | ||
35 | %description | |
36 | awesome is a floating and tiling window manager initialy based on a | |
37 | dwm code rewriting. It's extremely fast, small, dynamic and awesome. | |
38 | ||
39 | #%description -l pl.UTF-8 | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | #%patch0 -p1 | |
44 | ||
45 | %build | |
46 | #%{__libtoolize} | |
47 | #%{__aclocal} -I m4 | |
48 | #%{__autoconf} | |
49 | #%{__autoheader} | |
50 | #%{__automake} | |
51 | %configure \ | |
52 | --disable-static | |
53 | ||
54 | ||
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | install -d $RPM_BUILD_ROOT%{_datadir}/xsessions | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS LICENSE README STYLE awesomerc | |
72 | %attr(755,root,root) %{_bindir}/%{name} | |
73 | %attr(755,root,root) %{_bindir}/%{name}-client | |
74 | %{_datadir}/%{name} | |
75 | %{_datadir}/xsessions/%{name}.desktop | |
76 | %{_mandir}/man1/%{name}* |