--- /dev/null
+# 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
+Summary: Set of obvious awesome widgets
+Summary(pl.UTF-8): Zestaw oczywistych widgetów dla awesome
+Name: awesome-plugin-obvious
+Version: 0
+Release: 0.%{rel}.1
+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
+Requires: awesome-plugin-naughty
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Obvious is a set of awesome widgets like prompt, alsa volume control
+etc.
+
+%description -l pl.UTF-8
+Obvious jest zestawem widgetów dla awesome takich jak prompt, kontrola
+głośności alsa i tym podobne.
+
+%prep
+%setup -q -n obvious-%{rel}
+
+for I in */readme; do
+ mv $I readme-$(basename $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
+
+install -d $RPM_BUILD_ROOT%{_datadir}/awesome/lib/obvious
+install init.lua $RPM_BUILD_ROOT%{_datadir}/awesome/lib/obvious
+cp -a {lib,$SUBMODULES} $RPM_BUILD_ROOT%{_datadir}/awesome/lib/obvious
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CONTRIBUTING LICENSE TODO readme-*
+%{_datadir}/awesome/lib/obvious