SPECS: screenlets.spec - 0.0.12
patrys
patrys at pld-linux.org
Thu Mar 6 17:21:56 CET 2008
Author: patrys Date: Thu Mar 6 16:21:56 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.0.12
---- Files affected:
SPECS:
screenlets.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/screenlets.spec
diff -u SPECS/screenlets.spec:1.2 SPECS/screenlets.spec:1.3
--- SPECS/screenlets.spec:1.2 Sun Aug 26 13:38:09 2007
+++ SPECS/screenlets.spec Thu Mar 6 17:21:51 2008
@@ -2,16 +2,18 @@
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
+Version: 0.0.12
Release: 1
License: GPL
Group: X11/Applications
-Source0: http://www.ryxperience.com/storage/%{name}-%{version}.tar.bz2
-# Source0-md5: b8e1246dcdd47b2bfcb57b8db7ad28d7
-URL: http://forum.compiz-fusion.org/showthread.php?t=323
+Source0: https://code.launchpad.net/screenlets/trunk/0.0.12/+download/%{name}-%{version}.tar.gz
+# Source0-md5: dafcffd3a1441e910d60ebfb227ed189
+URL: http://www.screenlets.org/
BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
+Requires(post,postun): desktop-file-utils
+Requires: python-pyxdg
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,9 +25,7 @@
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
+%setup -q -n %{name}
%build
python setup.py build
@@ -40,19 +40,29 @@
%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
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
%files
%defattr(644,root,root,755)
%doc CHANGELOG README TODO TODO-0.1.0
+%{_bindir}/screenlets-manager
+%{_bindir}/screenlets-packager
+%{_bindir}/screenletsd
+%{_desktopdir}/screenlets-manager.desktop
+%{_iconsdir}/screenlets.svg
%{py_sitescriptdir}/%{name}
%{py_sitescriptdir}/%{name}*.egg-info
%{_datadir}/screenlets
+%dir %{_datadir}/screenlets-manager
+%{_datadir}/screenlets-manager/*.svg
+%attr(755,root,root) %{_datadir}/screenlets-manager/*.py
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -60,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008-03-06 16:21:51 patrys
+- 0.0.12
+
Revision 1.2 2007-08-26 11:38:09 qboosh
- formatting, macros in Source URL
- rpm macros 1.219 for py_postclean
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/screenlets.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list