-# Note:
-# - tested with awesome 3.4 only. Please, test it with awesome 3.3, or do not
-# send to builders until 3.4 is stable.
-%define rel 20090910
+%define rel 20100925
Summary: Set of obvious awesome widgets
Summary(hu.UTF-8): Alapvető awesome widget-ek gyűjteménye
Summary(pl.UTF-8): Zestaw oczywistych widgetów dla awesome
Name: awesome-plugin-obvious
Version: 0
-Release: 0.%{rel}.1
+Release: 0.%{rel}.3
License: MIT
Group: X11/Window Managers
# git clone git://git.mercenariesguild.net/obvious.git
-Source0: http://xatka.net/~z/PLD/obvious-%{rel}.tar.bz2
-# Source0-md5: 623a976b2fe3f3f2a688d3af0d6e09ef
-Requires: awesome-plugin-awful
-Requires: awesome-plugin-beautiful
+Source0: http://carme.pld-linux.org/~uzsolt/sources/obvious-%{rel}.tar.bz2
+# Source0-md5: a3f4b58138e446cddd28b87ab6dc86b0
+URL: http://awesome.naquadah.org/wiki/Obvious
+Requires: awesome
Requires: awesome-plugin-naughty
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q -n obvious-%{rel}
+for I in $(find -name *.md); do
+ mv $I $(echo $I | sed "s@\.md\$@@")
+done
for I in */readme; do
mv $I readme-$(dirname $I)
done
%install
rm -rf $RPM_BUILD_ROOT
-SUBMODULES=battery,fs_usage,io,net,wlan,basic_mpd,clock,cpu,mem,popup_run_prompt,volume_alsa
+SUBMODULES=battery,fs_usage,io,net,wlan,basic_mpd,clock,cpu,mem,popup_run_prompt,volume_alsa,keymap_switch
install -d $RPM_BUILD_ROOT%{_datadir}/awesome/lib/obvious
install init.lua $RPM_BUILD_ROOT%{_datadir}/awesome/lib/obvious