]> git.pld-linux.org Git - packages/awesome.git/blobdiff - awesome.spec
- release 3
[packages/awesome.git] / awesome.spec
index 55218758b93bb88dbb970c996a2e06e8f3ba5b97..f8bb350c07e90d512551fb14ce7d0d43662d2666 100644 (file)
@@ -1,17 +1,18 @@
-#
 Summary:       awesome window manager
 Summary(hu.UTF-8):     awesome ablakkezelő
-Summary(pl.UTF-8):     Menedżer okien X - Awesome
+Summary(pl.UTF-8):     Zarządca okien X - Awesome
 Name:          awesome
-Version:       3.1.1
-Release:       1
+Version:       3.3.1
+Release:       3
 License:       GPL v2
 Group:         X11/Window Managers
 Source0:       http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 98de84b418c7646ae4c4aa44c3e6e149
+# Source0-md5: 4d3508b7c72bedc38cab4b6f9d2f68cf
 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
 BuildRequires: cairo-devel
 BuildRequires: cmake >= 2.6
@@ -22,6 +23,7 @@ BuildRequires:        glib2-devel
 BuildRequires: gperf
 BuildRequires: imlib2-devel
 BuildRequires: libev-devel
+BuildRequires: libxdg-basedir-devel >= 1.0.1
 BuildRequires: lua-doc
 BuildRequires: lua51-devel
 BuildRequires: pango-devel
@@ -29,13 +31,18 @@ BuildRequires:      pkgconfig >= 0.9.0
 BuildRequires: readline-devel
 BuildRequires: rpmbuild(macros) >= 1.293
 BuildRequires: sed >= 4.0
-BuildRequires: xcb-util-devel >= 0.3
+BuildRequires: startup-notification-devel >= 0.10
+BuildRequires: xcb-util-devel >= 0.3.5
 BuildRequires: xmlto
 BuildRequires: xorg-lib-libICE-devel
 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}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/X11
@@ -55,19 +62,40 @@ számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
 felületén.
 
 %description -l pl.UTF-8
-awesome jest menedżerem okien charakteryzującym się bardzo dużymi
+awesome jest zarządcą okien charakteryzującym się bardzo dużymi
 możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając
-przy tym szybki i lekki. Cel ten został osiągnięty dzięki wbudowaniu w
-program języka skryptowego lua. Awesome został zaprojektowany z myślą
-o bardziej zaawansowanych użytkonikach: programistach oraz innych
-ludziach pracujących na codzień z komputerami, którzy chcą mieć dużą
+przy tym szybkim i lekkim. Cel ten został osiągnięty dzięki wbudowaniu
+w program języka skryptowego lua. Awesome został zaprojektowany z
+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:         X11/Window Managers/Tools
+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
 Summary(pl.UTF-8):     Dokumentacja API awesome
-Group:         X11/Window Managers
+Group:         Documentation
 
 %description doc
 awesome window manager API documentation.
@@ -76,51 +104,57 @@ awesome window manager API documentation.
 awesome ablakkezelő API dokumentációja.
 
 %description doc -l pl.UTF-8
-Dokumentacja API menedżera okien awesome.
+Dokumentacja API zarządcy okien awesome.
 
 %package example-config
 Summary:       Example config for awesome window manager
 Summary(hu.UTF-8):     Egy alap/példa konfig az awesome ablakkezelőhöz
-Summary(pl.UTF-8):     Przykładowy plik konfiguracyjny dla menedżera okien awesome
-Group:         X11/Window Managers
-Requires:      awesome-plugin-awful
-Requires:      awesome-plugin-beautiful
-Requires:      awesome-plugin-tabulous
+Summary(pl.UTF-8):     Przykładowy plik konfiguracyjny dla zarządcy okien awesome
+Group:         Documentation
+Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-plugin-awful = %{version}-%{release}
+Requires:      %{name}-plugin-beautiful = %{version}-%{release}
+Requires:      %{name}-plugin-tabulous = %{version}-%{release}
+Requires:      %{name}-themes = %{version}-%{release}
 
 %description example-config
-Example config for awesome window manager. If you had never used
-awesome 3.x window manager before, it can be a good starting point.
+Example config for awesome window manager. It can be a good starting
+point for those people, who have never used awesome window manager
+before.
 
 %description example-config -l hu.UTF-8
 Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
 használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
 
 %description example-config -l pl.UTF-8
-Przykładowy plik konfiguracyjny dla menedżera okien awesome. Jeżeli
-nigdy wcześniej nie używałeś awesome 3.x, ten plik będzie dobrym
-punktem wyjścia.
+Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik
+jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome
+3.x.
 
 %package plugin-awful
 Summary:       awful plugin for awesome window manager
 Summary(hu.UTF-8):     awful plugin az awesome ablakkezelőhöz
-Summary(pl.UTF-8):     plugin awesome dla menedżera okien awesome
-Group:         X11/Window Managers
+Summary(pl.UTF-8):     Wtyczka awful dla zarządcy okien awesome
+Group:         X11/Window Managers/Tools
+Requires:      %{name} = %{version}-%{release}
 
 %description plugin-awful
-AWesome Functions very UsefuL: awful plugin for awesome window manager
+AWesome Functions very UsefuL: awful plugin for awesome window
+manager.
 
 %description plugin-awful -l hu.UTF-8
-AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz
+AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz.
 
 %description plugin-awful -l pl.UTF-8
-AWesome Functions very UsefuL: plugin awful dla menedżera okien
-awesome
+AWesome Functions very UsefuL: wtyczka awful dla zarządcy okien
+awesome.
 
 %package plugin-beautiful
-Summary:       theme library for awesome window manager
-Summary(hu.UTF-8):     theme könyvtár az awesome ablakkezelőhöz
-Summary(pl.UTF-8):     biblioteka styli dla menedżera okien awesome
-Group:         X11/Window Managers
+Summary:       Theme library for awesome window manager
+Summary(hu.UTF-8):     Theme könyvtár az awesome ablakkezelőhöz
+Summary(pl.UTF-8):     Biblioteka styli dla zarządcy okien awesome
+Group:         X11/Window Managers/Tools
+Requires:      %{name} = %{version}-%{release}
 Suggests:      WallpaperChanger
 
 %description plugin-beautiful
@@ -130,15 +164,16 @@ Theme library for awesome window manager.
 Theme könyvtár az awesome ablakkezelőhöz.
 
 %description plugin-beautiful -l pl.UTF-8
-Biblioteka styli dla menedżera okien awesome.
+Biblioteka styli dla zarządcy okien awesome.
 
 %package plugin-invaders
 Summary:       Awesome Invaders game
 Summary(hu.UTF-8):     Awesome Invaders játék
 Summary(pl.UTF-8):     Gra Awesome Invaders
-Group:         X11/Window Managers
-Requires:      %{name}-plugin-awful
-Requires:      %{name}-plugin-beautiful
+Group:         X11/Window Managers/Tools
+Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-plugin-awful = %{version}-%{release}
+Requires:      %{name}-plugin-beautiful = %{version}-%{release}
 Requires:      ImageMagick
 
 %description plugin-invaders
@@ -151,15 +186,17 @@ megvalósítása az awesome 3 lua interfészét használva.
 
 %description plugin-invaders -l pl.UTF-8
 Awesome Invaders jest grą Space Invaders zaimplementowaną w intefejsie
-Lua menedżera okien awesome 3.
+Lua zarządcy okien awesome 3.
 
 %package plugin-naughty
 Summary:       Naughty is a lua library that implements popup notifications for awesome 3
 Summary(hu.UTF-8):     Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban
 Summary(pl.UTF-8):     Powiadomienia w postaci wyskakujących okienek dla awesome 3
-Group:         X11/Window Managers
-Requires:      %{name}-plugin-awful
-Requires:      %{name}-plugin-beautiful
+Group:         X11/Window Managers/Tools
+Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-plugin-awful = %{version}-%{release}
+Requires:      %{name}-plugin-beautiful = %{version}-%{release}
+Provides:      dbus(org.freedesktop.Notifications)
 
 %description plugin-naughty
 Naughty is a lua library that implements popup notifications for
@@ -170,40 +207,15 @@ Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé
 awesome3-ban.
 
 %description plugin-naughty -l pl.UTF-8
-Biblioteka lua dla menedżera okien awesome 3 implementująca
+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):     Plugin dla awesome 3 dający widok wszystkich otwartych okien
-Group:         X11/Window Managers
-
-%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. Kliknicia
-prawym przyciskiem myszy na okienko przełącza na pierwszy tag, na
-którym okno jest widoczne i przywołuje okno na pierwszy plan.
-Dodatkowo przycisk Enter przełącza fokus mięszy oknami a przycisk
-Escape przerywa podgląd okien.
-
 %package plugin-tabulous
 Summary:       Fabulous tabs for awesome window manager
 Summary(hu.UTF-8):     Tab-ok awesome-hoz
-Summary(pl.UTF-8):     Zakładki dla menedżera okien awesome
-Group:         X11/Window Managers
+Summary(pl.UTF-8):     Zakładki dla zarządcy okien awesome
+Group:         X11/Window Managers/Tools
+Requires:      %{name} = %{version}-%{release}
 
 %description plugin-tabulous
 Fabulous tabs for awesome.
@@ -212,11 +224,45 @@ Fabulous tabs for awesome.
 Tab-ok awesome-hoz.
 
 %description plugin-tabulous -l pl.UTF-8
-Zakładki dla menedżera okien awesome.
+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/Tools
+Requires:      %{name} = %{version}-%{release}
+Requires:      lua-socket
+
+%description plugin-telak
+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/Tools
+Requires:      %{name} = %{version}-%{release}
+
+%description themes
+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 \
@@ -229,37 +275,43 @@ Zakładki dla menedżera okien awesome.
 
 %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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%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}
 %dir %{_datadir}/%{name}/lib
 %{_datadir}/%{name}/lib/capi.lua
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/icons
-%dir %{_datadir}/%{name}/icons
 %{_datadir}/%{name}/icons
 %{_datadir}/xsessions/%{name}.desktop
-%{_mandir}/man1/%{name}*
-%{_mandir}/man1/awsetbg*
-%{_mandir}/man5/%{name}*
-%doc AUTHORS BUGS README STYLE
+%{_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)
@@ -271,13 +323,20 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %dir %{_datadir}/awesome/lib/awful
 %{_datadir}/awesome/lib/awful/*.lua
+%{_datadir}/awesome/lib/awful/layout
+%{_datadir}/awesome/lib/awful/widget
 
 %files plugin-beautiful
 %defattr(644,root,root,755)
-%dir %{_datadir}/awesome/themes/*
 %{_datadir}/awesome/lib/beautiful.lua
 %{_datadir}/awesome/themes
 
+%files themes
+%defattr(644,root,root,755)
+%dir %{_datadir}/awesome/themes
+%{_datadir}/awesome/themes/default
+%{_datadir}/awesome/themes/sky
+
 %files plugin-invaders
 %defattr(644,root,root,755)
 %{_datadir}/awesome/lib/invaders.lua
@@ -288,10 +347,10 @@ 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
+
+%files plugin-telak
+%defattr(644,root,root,755)
+%{_datadir}/awesome/lib/telak.lua
This page took 0.053447 seconds and 4 git commands to generate.