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