]> git.pld-linux.org Git - packages/awesome.git/blame - awesome.spec
- added lua-doc and doxygen BRs
[packages/awesome.git] / awesome.spec
CommitLineData
a043f8d3 1# TODO
18cab4f3 2# - correct xsession.desktop file to appear in *dm
a043f8d3 3%define subver rc6
18cab4f3 4%define rel 2
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
e519f8ed 10Release: 2
e66c95bd
ZU
11License: GPL v2
12Group: X11/Window Managers
e4a5b042
ZU
13Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2
14# Source0-md5: 32bb9e94a63f421a7a8500f1041b6add
e66c95bd 15Source1: %{name}-xsession.desktop
e4a5b042 16Patch0: %{name}-3.0-lua-files.patch
e66c95bd 17URL: http://awesome.naquadah.org
e66c95bd
ZU
18BuildRequires: asciidoc
19BuildRequires: cairo-devel
20BuildRequires: cmake >= 2.6
21BuildRequires: dbus-devel
e519f8ed 22BuildRequires: doxygen
e66c95bd
ZU
23BuildRequires: gdk-pixbuf-devel
24BuildRequires: gperf
25BuildRequires: libev-devel
e519f8ed 26BuildRequires: lua-doc
ba2b0e1c 27BuildRequires: lua51
e66c95bd
ZU
28BuildRequires: lua51-devel
29BuildRequires: pango-devel
30BuildRequires: pkgconfig >= 0.9.0
e216db54 31BuildRequires: rpmbuild(macros) >= 1.293
e66c95bd 32BuildRequires: sed >= 4.0
e4a5b042 33BuildRequires: xcb-util-devel >= 0.3
e66c95bd
ZU
34BuildRequires: xmlto
35BuildRequires: xorg-lib-libICE-devel
36BuildRequires: xorg-lib-libXext-devel
37BuildRequires: xorg-lib-libXft-devel
38BuildRequires: xorg-lib-libXinerama-devel
39BuildRequires: xorg-lib-libXrandr-devel
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
e216db54 42%define _sysconfdir /etc/X11
e66c95bd
ZU
43
44%description
45awesome is a highly configurable, next generation framework window
46manager for X. It is very fast, light and extensible. It is primarly
47targeted at power user, developer and any people dealing with every
48day computing tasks and want to have fine-grained control on its
49graphical environment.
50
51%description -l hu.UTF-8
52awesome egy végletekig beállítható, következő generációs ablakkezelő
53az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
54célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
55számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
56felületén.
57
e519f8ed
ZU
58%package doc
59Summary: awesome window manager API documentation
60Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja
61Group: X11/Window Managers
62
63%description doc
64awesome window manager API documentation
65
66%description doc -l hu.UTF-8
67awesome ablakkezelő API dokumentációja
68
69
e66c95bd 70%prep
e4a5b042 71%setup -q
e66c95bd
ZU
72%patch0 -p1
73
74%build
a043f8d3
ER
75%cmake \
76 -DLUA_INC_DIR=%{_includedir}/lua51 \
77 -DPREFIX=%{_prefix} \
78 -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \
79 -DAWESOME_DATA_PATH=%{_datadir}/%{name} \
80 -DSYSCONFDIR=%{_sysconfdir}
e66c95bd
ZU
81%{__make}
82
83%install
84rm -rf $RPM_BUILD_ROOT
85install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
86
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
89install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
e519f8ed 90install AUTHORS LICENSE README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
e66c95bd
ZU
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%files
96%defattr(644,root,root,755)
e519f8ed
ZU
97%dir %{_docdir}/%{name}-%{version}
98%{_docdir}/%{name}-%{version}/[A-Z]*
e66c95bd
ZU
99%attr(755,root,root) %{_bindir}/%{name}
100%attr(755,root,root) %{_bindir}/%{name}-client
101%attr(755,root,root) %{_bindir}/awsetbg
102%{_datadir}/%{name}
103%{_datadir}/xsessions/%{name}.desktop
104%{_mandir}/man1/%{name}*
105%{_mandir}/man5/%{name}*
a043f8d3 106# XXX shouldn't this dir be in filesystem or xorg packages?
e519f8ed 107# XXX in my system there isn't until awesome won't installed - uzsolt
e66c95bd
ZU
108%dir %{_sysconfdir}/xdg
109%dir %{_sysconfdir}/xdg/awesome
110%{_sysconfdir}/xdg/awesome/*
e519f8ed
ZU
111
112%files doc
113%defattr(644,root,root,755)
114%dir %{_docdir}/%{name}-%{version}/luadoc
115%dir %{_docdir}/%{name}-%{version}/luadoc/files
116%dir %{_docdir}/%{name}-%{version}/luadoc/modules
117%{_docdir}/%{name}-%{version}/luadoc/*
118%{_docdir}/%{name}-%{version}/luadoc/files/*
119%{_docdir}/%{name}-%{version}/luadoc/modules/*
This page took 0.053693 seconds and 4 git commands to generate.