]> git.pld-linux.org Git - packages/awesome.git/blame - awesome.spec
- added magnifier patch (de facto updated to git master)
[packages/awesome.git] / awesome.spec
CommitLineData
8f9978e2 1
6575d686 2%define _rc rc2
8f9978e2 3
441c252e 4Summary: awesome window manager
e66c95bd 5Summary(hu.UTF-8): awesome ablakkezelő
b6bb5576 6Summary(pl.UTF-8): Zarządca okien X - Awesome
e66c95bd 7Name: awesome
8f9978e2 8Version: 3.4
6babf97b 9Release: 0.%{_rc}.2
e66c95bd
ZU
10License: GPL v2
11Group: X11/Window Managers
8f9978e2 12Source0: http://awesome.naquadah.org/download/%{name}-%{version}-%{_rc}.tar.bz2
6575d686 13# Source0-md5: 6a9530faa2af8f1c244132a55a709e17
e66c95bd 14Source1: %{name}-xsession.desktop
e4a5b042 15Patch0: %{name}-3.0-lua-files.patch
8f9978e2 16Patch1: %{name}-xmlto.patch
6babf97b 17Patch2: %{name}-magnifier.patch
2692bda2 18URL: http://awesome.naquadah.org/
66cb08a4 19BuildRequires: ImageMagick-coder-png
e66c95bd
ZU
20BuildRequires: asciidoc
21BuildRequires: cairo-devel
22BuildRequires: cmake >= 2.6
23BuildRequires: dbus-devel
e519f8ed 24BuildRequires: doxygen
489fc5b2 25BuildRequires: glib-devel
26BuildRequires: glib2-devel
e66c95bd 27BuildRequires: gperf
166fff07 28BuildRequires: imlib2-devel
e66c95bd 29BuildRequires: libev-devel
d9035e77 30BuildRequires: libxcb-devel >= 1.4
82f625bc 31BuildRequires: libxdg-basedir-devel >= 1.0.1
e519f8ed 32BuildRequires: lua-doc
e66c95bd
ZU
33BuildRequires: lua51-devel
34BuildRequires: pango-devel
35BuildRequires: pkgconfig >= 0.9.0
ab20464d 36BuildRequires: readline-devel
e216db54 37BuildRequires: rpmbuild(macros) >= 1.293
e66c95bd 38BuildRequires: sed >= 4.0
82f625bc 39BuildRequires: startup-notification-devel >= 0.10
dc71363e 40BuildRequires: xcb-util-devel >= 0.3.6
e66c95bd
ZU
41BuildRequires: xmlto
42BuildRequires: xorg-lib-libICE-devel
43BuildRequires: xorg-lib-libXext-devel
44BuildRequires: xorg-lib-libXft-devel
45BuildRequires: xorg-lib-libXinerama-devel
46BuildRequires: xorg-lib-libXrandr-devel
d9035e77 47BuildRequires: xorg-proto-xproto-devel >= 7.0.15
66d00da9 48Requires: %{name}-client = %{version}-%{release}
3f79079d 49Requires: startup-notification >= 0.10
95cf139a 50Requires: xcb-util >= 0.3.6
e66c95bd
ZU
51BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
e216db54 53%define _sysconfdir /etc/X11
e66c95bd
ZU
54
55%description
56awesome is a highly configurable, next generation framework window
57manager for X. It is very fast, light and extensible. It is primarly
58targeted at power user, developer and any people dealing with every
59day computing tasks and want to have fine-grained control on its
60graphical environment.
61
62%description -l hu.UTF-8
63awesome egy végletekig beállítható, következő generációs ablakkezelő
64az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
65célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
66számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
67felületén.
68
2aea91b8 69%description -l pl.UTF-8
b6bb5576 70awesome jest zarządcą okien charakteryzującym się bardzo dużymi
441c252e 71możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając
b6bb5576
JB
72przy tym szybkim i lekkim. Cel ten został osiągnięty dzięki wbudowaniu
73w program języka skryptowego lua. Awesome został zaprojektowany z
74myślą o bardziej zaawansowanych użytkownikach: programistach oraz
75innych pracujących na codzień z komputerami, którzy chcą mieć dużą
2aea91b8 76kontrolę nad swoim środowiskiem graficznym.
77
66d00da9 78%package client
79Summary: awesome window manager command line client
7f7404e0 80Summary(hu.UTF-8): Parancssoros kliens az awesome ablakkezelőhöz
81Summary(pl.UTF-8): Klient zarządcy okien awesome
6349e542 82Group: X11/Window Managers/Tools
66d00da9 83Requires: dbus
84Requires: rlwrap
85
86%description client
df15ecc6
ZU
87awesome-client is command line utility (in fact shell script) for
88executing an arbitrary lua code in working awesome window manager
89instance.
90
91%description client -l hu.UTF-8
92awesome-client egy parancssoros eszköz (lényegében egy shell script)
93tetszőleges lua kód futtatásához egy működő awesome ablakkezelőben.
66d00da9 94
95%description client -l pl.UTF-8
96awesome-client to skrypt powłoki pozwalający wykonać dowolny kod lua w
97działającej instancji zarządcy okien awesome.
98
e519f8ed
ZU
99%package doc
100Summary: awesome window manager API documentation
101Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja
0d65962b 102Summary(pl.UTF-8): Dokumentacja API awesome
0f457278 103Group: Documentation
e519f8ed
ZU
104
105%description doc
2aea91b8 106awesome window manager API documentation.
e519f8ed
ZU
107
108%description doc -l hu.UTF-8
2aea91b8 109awesome ablakkezelő API dokumentációja.
e519f8ed 110
2aea91b8 111%description doc -l pl.UTF-8
b6bb5576 112Dokumentacja API zarządcy okien awesome.
e519f8ed 113
ab20464d
ZU
114%package example-config
115Summary: Example config for awesome window manager
116Summary(hu.UTF-8): Egy alap/példa konfig az awesome ablakkezelőhöz
b6bb5576 117Summary(pl.UTF-8): Przykładowy plik konfiguracyjny dla zarządcy okien awesome
0f457278 118Group: Documentation
70e12a76 119Requires: %{name} = %{version}-%{release}
0445c2b8
ER
120Requires: %{name}-plugin-awful = %{version}-%{release}
121Requires: %{name}-plugin-beautiful = %{version}-%{release}
6703f79f 122Requires: %{name}-themes = %{version}-%{release}
ab20464d
ZU
123
124%description example-config
860cb08a
JB
125Example config for awesome window manager. It can be a good starting
126point for those people, who have never used awesome window manager
127before.
ab20464d
ZU
128
129%description example-config -l hu.UTF-8
130Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
131használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
132
441c252e 133%description example-config -l pl.UTF-8
b6bb5576 134Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik
0445c2b8
ER
135jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome
1363.x.
441c252e 137
ab20464d
ZU
138%package plugin-awful
139Summary: awful plugin for awesome window manager
140Summary(hu.UTF-8): awful plugin az awesome ablakkezelőhöz
b6bb5576 141Summary(pl.UTF-8): Wtyczka awful dla zarządcy okien awesome
6349e542 142Group: X11/Window Managers/Tools
70e12a76 143Requires: %{name} = %{version}-%{release}
ab20464d
ZU
144
145%description plugin-awful
b6bb5576
JB
146AWesome Functions very UsefuL: awful plugin for awesome window
147manager.
ab20464d
ZU
148
149%description plugin-awful -l hu.UTF-8
b6bb5576 150AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz.
ab20464d 151
441c252e 152%description plugin-awful -l pl.UTF-8
b6bb5576
JB
153AWesome Functions very UsefuL: wtyczka awful dla zarządcy okien
154awesome.
441c252e 155
ab20464d 156%package plugin-beautiful
b6bb5576
JB
157Summary: Theme library for awesome window manager
158Summary(hu.UTF-8): Theme könyvtár az awesome ablakkezelőhöz
159Summary(pl.UTF-8): Biblioteka styli dla zarządcy okien awesome
6349e542 160Group: X11/Window Managers/Tools
70e12a76 161Requires: %{name} = %{version}-%{release}
e728b82d 162Suggests: WallpaperChanger
ab20464d
ZU
163
164%description plugin-beautiful
441c252e 165Theme library for awesome window manager.
ab20464d 166
441c252e 167%description plugin-beautiful -l hu.UTF-8
168Theme könyvtár az awesome ablakkezelőhöz.
169
170%description plugin-beautiful -l pl.UTF-8
b6bb5576 171Biblioteka styli dla zarządcy okien awesome.
ab20464d 172
f4579953 173%package plugin-naughty
441c252e 174Summary: Naughty is a lua library that implements popup notifications for awesome 3
f4579953 175Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban
441c252e 176Summary(pl.UTF-8): Powiadomienia w postaci wyskakujących okienek dla awesome 3
6349e542 177Group: X11/Window Managers/Tools
70e12a76 178Requires: %{name} = %{version}-%{release}
1e44500c 179Requires: %{name}-plugin-awful = %{version}-%{release}
180Requires: %{name}-plugin-beautiful = %{version}-%{release}
a6f79adc 181Provides: dbus(org.freedesktop.Notifications)
f4579953
ZU
182
183%description plugin-naughty
184Naughty is a lua library that implements popup notifications for
185awesome3.
186
187%description plugin-naughty -l hu.UTF-8
188Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé
189awesome3-ban.
190
441c252e 191%description plugin-naughty -l pl.UTF-8
b6bb5576 192Biblioteka lua dla zarządcy okien awesome 3 implementująca
441c252e 193powiadomienia w formie wyskakujących okienek.
194
6703f79f
ZU
195%package themes
196Summary: Themes for awesome window manager
197Summary(hu.UTF-8): Témák az awesome ablakkezelőhöz
dbffd21e 198Summary(pl.UTF-8): Tematy dla zarządcy okien awesome
6349e542 199Group: X11/Window Managers/Tools
6703f79f
ZU
200Requires: %{name} = %{version}-%{release}
201
202%description themes
203Themes for awesome window manager.
204
205%description themes -l hu.UTF-8
206Témák az awesome ablakkezelőhöz.
207
dbffd21e 208%description themes -l pl.UTF-8
209Dodatkowe "tematy" (definicje wyglądu) zarządcy okien awesome.
210
e66c95bd 211%prep
8f9978e2 212%setup -q -n %{name}-%{version}-%{_rc}
e66c95bd 213%patch0 -p1
dbffd21e 214%patch1 -p1
6babf97b 215%patch2 -p1
e66c95bd
ZU
216
217%build
a043f8d3
ER
218%cmake \
219 -DLUA_INC_DIR=%{_includedir}/lua51 \
220 -DPREFIX=%{_prefix} \
221 -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \
222 -DAWESOME_DATA_PATH=%{_datadir}/%{name} \
223 -DSYSCONFDIR=%{_sysconfdir}
e66c95bd
ZU
224%{__make}
225
226%install
227rm -rf $RPM_BUILD_ROOT
d746ca4e
ZU
228install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-%{version}}
229install AUTHORS BUGS README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
e66c95bd
ZU
230
231%{__make} install \
232 DESTDIR=$RPM_BUILD_ROOT
233install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
58290601 234
6703f79f
ZU
235for file in $(%{__find} $RPM_BUILD_ROOT%{_datadir}/%{name} -iname "*.in"); do
236 %{__rm} ${file}
237done
e66c95bd
ZU
238
239%clean
240rm -rf $RPM_BUILD_ROOT
241
242%files
243%defattr(644,root,root,755)
d746ca4e
ZU
244%doc %{_docdir}/%{name}-%{version}
245%exclude %{_docdir}/%{name}-%{version}/luadoc
e66c95bd 246%attr(755,root,root) %{_bindir}/%{name}
e66c95bd 247%attr(755,root,root) %{_bindir}/awsetbg
122893b8 248%dir %{_datadir}/%{name}
f4579953 249%dir %{_datadir}/%{name}/lib
ab20464d 250%{_datadir}/%{name}/icons
e66c95bd 251%{_datadir}/xsessions/%{name}.desktop
66d00da9 252%{_mandir}/man1/%{name}.1*
253%{_mandir}/man1/awsetbg.1*
254%{_mandir}/man5/awesomerc.5*
255
256%files client
257%defattr(644,root,root,755)
258%attr(755,root,root) %{_bindir}/%{name}-client
259%{_mandir}/man1/%{name}-client.1*
e519f8ed
ZU
260
261%files doc
262%defattr(644,root,root,755)
d746ca4e 263%doc %{_docdir}/%{name}-%{version}/luadoc
ab20464d 264
ab20464d
ZU
265%files example-config
266%defattr(644,root,root,755)
267%dir %{_sysconfdir}/xdg
268%dir %{_sysconfdir}/xdg/awesome
269%{_sysconfdir}/xdg/awesome/*
270
ab20464d
ZU
271%files plugin-awful
272%defattr(644,root,root,755)
f4579953
ZU
273%dir %{_datadir}/awesome/lib/awful
274%{_datadir}/awesome/lib/awful/*.lua
6703f79f 275%{_datadir}/awesome/lib/awful/layout
8f9978e2 276%{_datadir}/awesome/lib/awful/mouse
0e6d8b9d 277%{_datadir}/awesome/lib/awful/widget
ab20464d 278
ab20464d
ZU
279%files plugin-beautiful
280%defattr(644,root,root,755)
ab20464d
ZU
281%{_datadir}/awesome/lib/beautiful.lua
282%{_datadir}/awesome/themes
283
6703f79f
ZU
284%files themes
285%defattr(644,root,root,755)
286%dir %{_datadir}/awesome/themes
287%{_datadir}/awesome/themes/default
288%{_datadir}/awesome/themes/sky
289
f4579953
ZU
290%files plugin-naughty
291%defattr(644,root,root,755)
292%{_datadir}/awesome/lib/naughty.lua
This page took 0.095985 seconds and 4 git commands to generate.