Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f86daeb9427f9cd43a64ceeb6c85982d > files > 2

specto-0.4.1-2.mga3.src.rpm

Name:		specto
Version:	0.4.1
Release:	%mkrel 2
Summary:	An desktop application that will watch configurable events
Group:		Networking/Other 
License:	GPLv2+
URL:		http://specto.sourceforge.net/
Source0:	http://specto.googlecode.com/files/%{name}-%{version}.tar.gz

BuildRequires:	python-devel
BuildRequires:	intltool

Requires:	librsvg2
Requires:	%{mklibname gnome-keyring0}
Requires:	gnome-python
Requires:	gnome-python-extras
Requires:	gnome-python-gconf
Requires:	pygtk2 >= 2.10
Requires:	python-numpy
Requires:	python-libxml2
Requires:	python-dbus
Requires:	python-notify
Requires:	xdg-utils

%description

Specto is a desktop application that will watch configurable events 
(such as website updates, emails, file and folder changes, 
system processes, etc) and then trigger notifications.

Specto can watch a website for updates (or a syndication feed, 
or an image, etc), and notify you when there is activity 
(otherwise, Specto will just stay out of the way).
This changes the way you work, because you can be informed 
of events instead of having to look out for them.


%prep
%setup -q

%build
%{__python} setup.py build
%__rm -f data/icons/*.~?~ data/icons/scalable/*.~?~


%install
%__rm -rf %{buildroot}
%{__python} setup.py install --root %{buildroot}

%__rm -rf %{buildroot}%{_datadir}/doc/%{name}
%__install -d %{buildroot}%{_sysconfdir}/xdg/autostart
%__cp %{buildroot}%{_datadir}/applications/%{name}.desktop %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop
%__cat <<EOF >>%{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop
OnlyShowIn=GNOME;
X-GNOME-Autostart-Phase=Applications
X-GNOME-Autostart-enabled=false
EOF

%find_lang %{name}


%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_bindir}/%{name}
%dir %{py_puresitedir}/spectlib
%{py_puresitedir}/spectlib/*.py
%dir %{py_puresitedir}/spectlib/plugins
%{py_puresitedir}/spectlib/plugins/*.py
%dir %{py_puresitedir}/spectlib/tools
%{py_puresitedir}/spectlib/tools/*.py
%{py_puresitedir}/%{name}-%{version}-py%{pyver}.egg-info
%{_datadir}/applications/%{name}.desktop
%{_sysconfdir}/xdg/autostart/%{name}.desktop
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
%{_datadir}/indicators/messages/applications/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/icons
%{_datadir}/%{name}/uis


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.4.1-2.mga3
+ Revision: 382461
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Mar 07 2012 lmenut <lmenut> 0.4.1-1.mga2
+ Revision: 220799
- update to 0.4.1
  + add BuildRequires intltool
  + remove unneeded requires bzr & pygtk2.0-libglade
  + fix files list
- clean spec

* Sun Mar 20 2011 lmenut <lmenut> 0.3.1-5.mga1
+ Revision: 74932
- Clean spec file
  - remove buildroot
  - remove --no-compile
- imported package specto