Author: wolf Date: Mon Aug 13 22:32:11 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: screenlets.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/screenlets.spec diff -u /dev/null SPECS/screenlets.spec:1.1 --- /dev/null Tue Aug 14 00:32:11 2007 +++ SPECS/screenlets.spec Tue Aug 14 00:32:06 2007 @@ -0,0 +1,63 @@ +# $Revision$, $Date$ +Summary: Small applications that are similar to OS X's widgets on the Dashboard +Summary(pl.UTF-8): Małe aplikacje podobne do widgetów na Dashboardzie w OS X +Name: screenlets +Version: 0.0.9 +Release: 1 +License: GPL +Group: X11/Applications +Source0: http://www.ryxperience.com/storage/screenlets-0.0.9.tar.bz2 +# Source0-md5: b8e1246dcdd47b2bfcb57b8db7ad28d7 +URL: http://forum.compiz-fusion.org/showthread.php?t=323 +BuildRequires: python-devel >= 1:2.5 +BuildRequires: rpm-pythonprov +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Small applications that are similar to OS X's widgets on the Dashboard. + +%description -l pl.UTF-8 +Małe aplikacje podobne do widgetów na Dashboardzie w OS X. + +%prep +%setup -q + +sed -i -e "s@'/usr/local'@'/usr'@g" src/lib/__init__.py setup.py + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python setup.py install \ + --optimize=2 \ + --root $RPM_BUILD_ROOT \ + --prefix %{_prefix} + +%py_postclean %{py_sitescriptdir}/%{name} + +rm $RPM_BUILD_ROOT%{_bindir}/screenletsd +rm $RPM_BUILD_ROOT%{_datadir}/screenlets/add-screenlet.py +rm $RPM_BUILD_ROOT%{_datadir}/screenlets/screenletsd.py + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG README TODO TODO-0.1.0 +%{py_sitescriptdir}/%{name} +%{py_sitescriptdir}/%{name}*.egg-info +%{_datadir}/screenlets + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/08/13 22:32:06 wolf +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
