rpms/grnotify/F-9 grnotify.desktop, NONE, 1.1 grnotify.spec, NONE, 1.1 import.log, NONE, 1.1 setup.py, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Guillaume Kulakowski
llaumgui at fedoraproject.org
Tue Feb 24 23:56:28 UTC 2009
Author: llaumgui
Update of /cvs/pkgs/rpms/grnotify/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1285/F-9
Modified Files:
.cvsignore sources
Added Files:
grnotify.desktop grnotify.spec import.log setup.py
Log Message:
Initial import branch F9
--- NEW FILE grnotify.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Terminal=false
Name[en_US]=GrNotify
Name[fr_FR]=GrNotify
Exec=grnotify
Comment[en_US]=A Google Reader Notifier
Comment[fr_FR]=Un notificateur pour Google Reader
Name=GrNotify
Comment=A Google Reader Notifier
Icon=grnotify
Categories=Network;
GenericName=GrNotify
--- NEW FILE grnotify.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: grnotify
Version: 1.1.2
Release: 4%{?dist}
Summary: Google Reader Notifier
Group: Applications/Internet
License: GPLv2+
URL: http://grnotify.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}_%{version}.tar.gz
Source1: %{name}.desktop
Source2: setup.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
BuildRequires: python-devel
BuildRequires: desktop-file-utils
Requires: gtk2 > 2.0
Requires: python >= 2.2
Requires: pygtk2 >= 2.0
Requires: PyXML >= 0.8.3
Requires: gnome-python2-extras
Requires: notify-python >= 0.1
Requires: pygtk2-libglade
%description
GrNotify is a simple Python written tray application that will allow you to
know when there are new items in the Google Reader.
%prep
%setup -q
cp -p %{SOURCE2} ./
# rpmlint : "grnotify.noarch: E: non-executable-script /usr/lib/python2.5/site-packages/grnotify/GoogleReader.py 0644"
sed -i -e "s@#!/usr/bin/python@@" GoogleReader.py
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm %{buildroot}%{_datadir}/applications/*.desktop
install -d %{buildroot}%{_datadir}/applications
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE1}
desktop-file-install \
--dir %{buildroot}%{_sysconfdir}/xdg/autostart \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS CREDITS LICENSE README
%{_bindir}/%{name}
%{python_sitelib}/GoogleReader.py
%{python_sitelib}/GoogleReader.pyc
%{python_sitelib}/GoogleReader.pyo
%{python_sitelib}/%{name}-%{version}-*.egg-info
%{_datadir}/%{name}/*.glade
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/pixmaps/%{name}/*
%{_datadir}/applications/%{name}.desktop
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop
%changelog
* Sat Feb 22 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.1.2-4
- Fix vendor tag in desktop file
* Wed Feb 18 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.1.2-3
- New setup.py (Source2) proposed to the author
* Sat Feb 07 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.1.2-2
- Fix in install.py
* Thu Feb 03 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.1.2-1
- Update to 1.1.2
- Use install.py
* Thu Jan 29 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.1.1-1
- Update to 1.1.1
* Wed Jan 21 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.0.2-2
- Add an autostart
* Sun Jan 18 2009 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.0.2-1
- Initial package
--- NEW FILE import.log ---
grnotify-1_1_2-4_fc10:F-9:grnotify-1.1.2-4.fc10.src.rpm:1235519721
--- NEW FILE setup.py ---
#/usr/bin/python
"""Copyright (C) 2009 Kristof Bamps
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
from distutils.core import setup
from os import path
import sys
DATA_DIR = path.join('share')
PIXMAPS_DIR = path.join(DATA_DIR , 'pixmaps')
APP_DIR = path.join(DATA_DIR , 'applications')
setup(
name='grnotify',
version='1.1.2',
author='Kristof Bamps',
author_email='bamps DOT kristof AT gmail.com',
url='https://sourceforge.net/projects/grnotify/',
license='GPLv2+',
description='A Google Reader in python',
platforms='Any',
py_modules=['GoogleReader'],
scripts=['grnotify'],
data_files=[
(PIXMAPS_DIR + "/grnotify",
['pixmaps/broken.gif', 'pixmaps/new.gif', 'pixmaps/nonew.gif']),
(PIXMAPS_DIR,
['pixmaps/grnotify.xpm']),
(DATA_DIR + "/grnotify",
['share/about.glade', 'share/config.glade', 'share/feed.glade']),
(APP_DIR,
['share/grnotify.desktop'])
]
)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/grnotify/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Feb 2009 20:59:51 -0000 1.1
+++ .cvsignore 24 Feb 2009 23:55:58 -0000 1.2
@@ -0,0 +1 @@
+grnotify_1.1.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/grnotify/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Feb 2009 20:59:51 -0000 1.1
+++ sources 24 Feb 2009 23:55:58 -0000 1.2
@@ -0,0 +1 @@
+1c3d4900dacc87c6e0c23edb515d0852 grnotify_1.1.2.tar.gz
More information about the fedora-extras-commits
mailing list