- kill extra nl
[packages/awesome.git] / awesome.spec
CommitLineData
2aea91b8 1#
e66c95bd
ZU
2Summary: Awesome Window Manager
3Summary(hu.UTF-8): awesome ablakkezelő
4Summary(pl.UTF-8): Zarządca okien X - Awesome
5Name: awesome
f4579953
ZU
6Version: 3.1
7Release: 0.1
e66c95bd
ZU
8License: GPL v2
9Group: X11/Window Managers
e4a5b042 10Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2
f4579953 11# Source0-md5: e687a9c0056437207cbdba2f64412624
e66c95bd 12Source1: %{name}-xsession.desktop
e4a5b042 13Patch0: %{name}-3.0-lua-files.patch
2692bda2 14URL: http://awesome.naquadah.org/
e66c95bd
ZU
15BuildRequires: asciidoc
16BuildRequires: cairo-devel
17BuildRequires: cmake >= 2.6
18BuildRequires: dbus-devel
e519f8ed 19BuildRequires: doxygen
e66c95bd 20BuildRequires: gperf
166fff07 21BuildRequires: imlib2-devel
e66c95bd 22BuildRequires: libev-devel
e519f8ed 23BuildRequires: lua-doc
e66c95bd
ZU
24BuildRequires: lua51-devel
25BuildRequires: pango-devel
26BuildRequires: pkgconfig >= 0.9.0
ab20464d 27BuildRequires: readline-devel
e216db54 28BuildRequires: rpmbuild(macros) >= 1.293
e66c95bd 29BuildRequires: sed >= 4.0
e4a5b042 30BuildRequires: xcb-util-devel >= 0.3
e66c95bd
ZU
31BuildRequires: xmlto
32BuildRequires: xorg-lib-libICE-devel
33BuildRequires: xorg-lib-libXext-devel
34BuildRequires: xorg-lib-libXft-devel
35BuildRequires: xorg-lib-libXinerama-devel
36BuildRequires: xorg-lib-libXrandr-devel
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
e216db54 39%define _sysconfdir /etc/X11
e66c95bd
ZU
40
41%description
42awesome is a highly configurable, next generation framework window
43manager for X. It is very fast, light and extensible. It is primarly
44targeted at power user, developer and any people dealing with every
45day computing tasks and want to have fine-grained control on its
46graphical environment.
47
48%description -l hu.UTF-8
49awesome egy végletekig beállítható, következő generációs ablakkezelő
50az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
51célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
52számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
53felületén.
54
2aea91b8 55%description -l pl.UTF-8
56awesome jest menedżerem okien charakteryzującym się bardzo dużymi
57możliwościami konfiguracji i rozszerzania fnkcjonalności, pozostając
58przy tym szybki i lekki. Cel ten został osiągnięty dzięki wbudowaniu w
0d65962b 59program języka skryptowego lua. Awesome został zaprojektowany z myślą
2aea91b8 60o bardziej zaawansowanych użytkonikach: programistach oraz innych
61ludziach pracujących na codzień z komputerami, którzy chcą mieć dużą
62kontrolę nad swoim środowiskiem graficznym.
63
e519f8ed
ZU
64%package doc
65Summary: awesome window manager API documentation
66Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja
0d65962b 67Summary(pl.UTF-8): Dokumentacja API awesome
e519f8ed
ZU
68Group: X11/Window Managers
69
70%description doc
2aea91b8 71awesome window manager API documentation.
e519f8ed
ZU
72
73%description doc -l hu.UTF-8
2aea91b8 74awesome ablakkezelő API dokumentációja.
e519f8ed 75
2aea91b8 76%description doc -l pl.UTF-8
77Dokumentacja API menedżera okien awesome.
e519f8ed 78
ab20464d
ZU
79%package example-config
80Summary: Example config for awesome window manager
81Summary(hu.UTF-8): Egy alap/példa konfig az awesome ablakkezelőhöz
82Group: X11/Window Managers
83Requires: awesome-plugin-awful
84Requires: awesome-plugin-beautiful
85Requires: awesome-plugin-tabulous
86
87%description example-config
88Example config for awesome window manager. If you never used before
89awesome 3.x window manager, it can be a good starting point.
90
91%description example-config -l hu.UTF-8
92Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
93használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
94
ab20464d
ZU
95%package plugin-awful
96Summary: awful plugin for awesome window manager
97Summary(hu.UTF-8): awful plugin az awesome ablakkezelőhöz
98Group: X11/Window Managers
99
100%description plugin-awful
101AWesome Functions very UsefuL: awful plugin for awesome window manager
102
103%description plugin-awful -l hu.UTF-8
104AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz
105
ab20464d
ZU
106%package plugin-beautiful
107Summary: theme library for awesome window manager
108Summary(hu.UTF-8): theme könyvtár az awesome ablakkezelőhöz
109Group: X11/Window Managers
e7c0290b 110Suggests: WallpaperChanger
ab20464d
ZU
111
112%description plugin-beautiful
113Theme library for awesome window manager
114
115%description plugin-beautiful
116Theme könyvtár az awesome ablakkezelőhöz
117
f4579953
ZU
118%package plugin-invaders
119Summary: Awesome Invaders game
120Summary(hu.UTF-8): Awesome Invaders játék
121Group: X11/Window Managers
122Requires: %{name}-plugin-awful
123Requires: %{name}-plugin-beautiful
124Requires: ImageMagick
125
126%description plugin-invaders
127Awesome Invaders is, as the name says, an implementation of Space
128Invaders using Awesome 3's Lua interface.
129
130%description plugin-invaders -l hu.UTF-8
131Awesome Invaders, ahogy a neve is mutatja, a Space Invaders
132megvalósítása az awesome 3 lua interfészét használva.
133
f4579953
ZU
134%package plugin-naughty
135Summary: Naughty is a lua library that implements popup notifications for awesome3
136Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban
137Group: X11/Window Managers
138Requires: %{name}-plugin-awful
139Requires: %{name}-plugin-beautiful
140
141%description plugin-naughty
142Naughty is a lua library that implements popup notifications for
143awesome3.
144
145%description plugin-naughty -l hu.UTF-8
146Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé
147awesome3-ban.
148
f4579953
ZU
149%package plugin-revelation
150Summary: Revelation brings up a view of all your open clients
151Summary(hu.UTF-8): Revelation egy nézetet hoz létre az összes megnyitott kliensről
152Group: X11/Window Managers
153
154%description plugin-revelation
155Revelation brings up a view of all your open clients; left-clicking a
156client pops to the first tag that client is visible on and
157raises/focuses the client. In addition, the Enter key pops to the
158currently focused client, and Escape aborts.
159
160%description plugin-revelation -l hu.UTF-8
161Revelation egy nézetet hoz létre az összes megnyitott kliensről; egy
162kliensre bal gombbal kattintva az első olyan cimkére ugorhatsz, ahol a
163kliens látható, és fókuszba hozza a klienst. Az Enter billentyűre a
164fókuszban levő kliensre ugrik, és az Escape billentyűvel megszakítható
165a művelet.
166
ab20464d
ZU
167%package plugin-tabulous
168Summary: Fabulous tabs for awesome
169Summary(hu.UTF-8): Tab-ok awesome-hoz
170Group: X11/Window Managers
171
172%description plugin-tabulous
173Fabulous tabs for awesome
174
175%description plugin-tabulous -l hu.UTF-8
176Tab-ok awesome-hoz
177
e66c95bd 178%prep
e4a5b042 179%setup -q
e66c95bd
ZU
180%patch0 -p1
181
182%build
a043f8d3
ER
183%cmake \
184 -DLUA_INC_DIR=%{_includedir}/lua51 \
185 -DPREFIX=%{_prefix} \
186 -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \
187 -DAWESOME_DATA_PATH=%{_datadir}/%{name} \
188 -DSYSCONFDIR=%{_sysconfdir}
e66c95bd
ZU
189%{__make}
190
191%install
192rm -rf $RPM_BUILD_ROOT
58290601 193install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-doc-%{version}}
e66c95bd
ZU
194
195%{__make} install \
196 DESTDIR=$RPM_BUILD_ROOT
197install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
58290601 198
199mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/luadoc $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/luadoc
e66c95bd
ZU
200
201%clean
202rm -rf $RPM_BUILD_ROOT
203
204%files
205%defattr(644,root,root,755)
e66c95bd
ZU
206%attr(755,root,root) %{_bindir}/%{name}
207%attr(755,root,root) %{_bindir}/%{name}-client
208%attr(755,root,root) %{_bindir}/awsetbg
f4579953
ZU
209%dir %{_datadir}/%{name}/lib
210%{_datadir}/%{name}/lib/capi.lua
ab20464d
ZU
211%dir %{_datadir}/%{name}
212%dir %{_datadir}/%{name}/icons
f4579953 213%dir %{_datadir}/%{name}/icons
ab20464d 214%{_datadir}/%{name}/icons
e66c95bd
ZU
215%{_datadir}/xsessions/%{name}.desktop
216%{_mandir}/man1/%{name}*
f4579953 217%{_mandir}/man1/awsetbg*
e66c95bd 218%{_mandir}/man5/%{name}*
58290601 219%doc AUTHORS BUGS README STYLE
e519f8ed
ZU
220
221%files doc
222%defattr(644,root,root,755)
58290601 223%{_docdir}/%{name}-doc-%{version}
ab20464d 224
ab20464d
ZU
225%files example-config
226%defattr(644,root,root,755)
227%dir %{_sysconfdir}/xdg
228%dir %{_sysconfdir}/xdg/awesome
229%{_sysconfdir}/xdg/awesome/*
230
ab20464d
ZU
231%files plugin-awful
232%defattr(644,root,root,755)
f4579953
ZU
233%dir %{_datadir}/awesome/lib/awful
234%{_datadir}/awesome/lib/awful/*.lua
ab20464d 235
ab20464d
ZU
236%files plugin-beautiful
237%defattr(644,root,root,755)
ab20464d
ZU
238%dir %{_datadir}/awesome/themes/*
239%{_datadir}/awesome/lib/beautiful.lua
240%{_datadir}/awesome/themes
241
f4579953
ZU
242%files plugin-invaders
243%defattr(644,root,root,755)
244%{_datadir}/awesome/lib/invaders.lua
245%dir %{_datadir}/awesome/icons/invaders
246%{_datadir}/awesome/icons/invaders/*.png
247
f4579953
ZU
248%files plugin-naughty
249%defattr(644,root,root,755)
250%{_datadir}/awesome/lib/naughty.lua
251
f4579953
ZU
252%files plugin-revelation
253%defattr(644,root,root,755)
254%{_datadir}/awesome/lib/revelation.lua
255
ab20464d
ZU
256%files plugin-tabulous
257%defattr(644,root,root,755)
ab20464d 258%{_datadir}/awesome/lib/tabulous.lua
This page took 0.074698 seconds and 4 git commands to generate.