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