X-Git-Url: https://git.pld-linux.org/?p=packages%2Fawesome.git;a=blobdiff_plain;f=awesome.spec;h=329545f9f13cdf7e6df3a3a128239d799dcf53e0;hp=d4310758f6f8cb60a64637697023e09863c877e8;hb=df15ecc6fcc15a42e094d101a4b12feb33ef7734;hpb=3f79079d3c69a24361b22caadae1b318dd072a24 diff --git a/awesome.spec b/awesome.spec index d431075..329545f 100644 --- a/awesome.spec +++ b/awesome.spec @@ -3,13 +3,14 @@ Summary(hu.UTF-8): awesome ablakkezelő Summary(pl.UTF-8): Zarządca okien X - Awesome Name: awesome Version: 3.3 -Release: 2 +Release: 6 License: GPL v2 Group: X11/Window Managers Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 # Source0-md5: 0dc5574dc551c6356d8cddc6ce91739c Source1: %{name}-xsession.desktop Patch0: %{name}-3.0-lua-files.patch +Patch1: %{name}-client-bashizm.patch URL: http://awesome.naquadah.org/ BuildRequires: ImageMagick-coder-png BuildRequires: asciidoc @@ -38,6 +39,7 @@ BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXft-devel BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXrandr-devel +Requires: %{name}-client = %{version}-%{release} Requires: startup-notification >= 0.10 Requires: xcb-util >= 0.3.5 Suggests: %{name}-plugin-awful = %{version}-%{release} @@ -68,6 +70,27 @@ myślą o bardziej zaawansowanych użytkownikach: programistach oraz innych pracujących na codzień z komputerami, którzy chcą mieć dużą kontrolę nad swoim środowiskiem graficznym. +%package client +Summary: awesome window manager command line client +Summary(hu.UTF-8): parancssoros kliens az awesome ablakkezelőhöz +Summary(pl.UTF-8): klient zarządcy okien awesome +Group: Applications +Requires: dbus +Requires: rlwrap + +%description client +awesome-client is command line utility (in fact shell script) for +executing an arbitrary lua code in working awesome window manager +instance. + +%description client -l hu.UTF-8 +awesome-client egy parancssoros eszköz (lényegében egy shell script) +tetszőleges lua kód futtatásához egy működő awesome ablakkezelőben. + +%description client -l pl.UTF-8 +awesome-client to skrypt powłoki pozwalający wykonać dowolny kod lua w +działającej instancji zarządcy okien awesome. + %package doc Summary: awesome window manager API documentation Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja @@ -186,33 +209,6 @@ awesome3-ban. Biblioteka lua dla zarządcy okien awesome 3 implementująca powiadomienia w formie wyskakujących okienek. -%package plugin-revelation -Summary: Plugin that allows to bring a view of all your open clients -Summary(hu.UTF-8): Revelation egy nézetet hoz létre az összes megnyitott kliensről -Summary(pl.UTF-8): Wtyczka do awesome 3 dająca widok wszystkich otwartych okien -Group: X11/Window Managers -Requires: %{name} = %{version}-%{release} - -%description plugin-revelation -Revelation brings up a view of all your open clients; left-clicking a -client pops to the first tag that client is visible on and -raises/focuses the client. In addition, the Enter key pops to the -currently focused client, and Escape aborts. - -%description plugin-revelation -l hu.UTF-8 -Revelation egy nézetet hoz létre az összes megnyitott kliensről; egy -kliensre bal gombbal kattintva az első olyan cimkére ugorhatsz, ahol a -kliens látható, és fókuszba hozza a klienst. Az Enter billentyűre a -fókuszban levő kliensre ugrik, és az Escape billentyűvel megszakítható -a művelet. - -%description plugin-revelation -l pl.UTF-8 -Revelation umożliwia podgląd wszystkich otwartych okien. Kliknięcie -prawym przyciskiem myszy na okienko przełącza na pierwszy znacznik, na -którym okno jest widoczne i przywołuje okno na pierwszy plan. -Dodatkowo klawisz Enter przełącza fokus mięszy oknami a klawisz Esc -przerywa podgląd okien. - %package plugin-tabulous Summary: Fabulous tabs for awesome window manager Summary(hu.UTF-8): Tab-ok awesome-hoz @@ -232,6 +228,7 @@ Zakładki dla zarządcy okien awesome. %package plugin-telak Summary: Root window image display library Summary(hu.UTF-8): Root ablak kezeléséhez könyvtár +Summary(pl.UTF-8): Biblioteka pozwlająca ustawić tapetę w głównym oknie Group: X11/Window Managers Requires: %{name} = %{version}-%{release} Requires: lua-socket @@ -242,9 +239,13 @@ Root window image display library. %description plugin-telak -l hu.UTF-8 Root ablak kezeléséhez könyvtár. +%description plugin-telak -l pl.UTF-8 +Biblioteka pozwalająca ustawić tapetę wyświetlaną na głównym oknie. + %package themes Summary: Themes for awesome window manager Summary(hu.UTF-8): Témák az awesome ablakkezelőhöz +Summary(pl.UTF-8): Tematy dla zarządcy okien awesome Group: X11/Window Managers Requires: %{name} = %{version}-%{release} @@ -254,9 +255,13 @@ Themes for awesome window manager. %description themes -l hu.UTF-8 Témák az awesome ablakkezelőhöz. +%description themes -l pl.UTF-8 +Dodatkowe "tematy" (definicje wyglądu) zarządcy okien awesome. + %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %cmake \ @@ -269,13 +274,13 @@ Témák az awesome ablakkezelőhöz. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-doc-%{version}} +install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-%{version}} +install AUTHORS BUGS README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop -mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/luadoc $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/luadoc for file in $(%{__find} $RPM_BUILD_ROOT%{_datadir}/%{name} -iname "*.in"); do %{__rm} ${file} done @@ -285,22 +290,27 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS BUGS README STYLE +%doc %{_docdir}/%{name}-%{version} +%exclude %{_docdir}/%{name}-%{version}/luadoc %attr(755,root,root) %{_bindir}/%{name} -%attr(755,root,root) %{_bindir}/%{name}-client %attr(755,root,root) %{_bindir}/awsetbg %dir %{_datadir}/%{name}/lib %{_datadir}/%{name}/lib/capi.lua %dir %{_datadir}/%{name} %{_datadir}/%{name}/icons %{_datadir}/xsessions/%{name}.desktop -%{_mandir}/man1/%{name}* -%{_mandir}/man1/awsetbg* -%{_mandir}/man5/%{name}* +%{_mandir}/man1/%{name}.1* +%{_mandir}/man1/awsetbg.1* +%{_mandir}/man5/awesomerc.5* + +%files client +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/%{name}-client +%{_mandir}/man1/%{name}-client.1* %files doc %defattr(644,root,root,755) -%{_docdir}/%{name}-doc-%{version} +%doc %{_docdir}/%{name}-%{version}/luadoc %files example-config %defattr(644,root,root,755) @@ -336,10 +346,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %{_datadir}/awesome/lib/naughty.lua -# %files plugin-revelation -# %defattr(644,root,root,755) -# %{_datadir}/awesome/lib/revelation.lua - %files plugin-tabulous %defattr(644,root,root,755) %{_datadir}/awesome/lib/tabulous.lua