rpms/gtg/F-10 gtg.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Yanko Kaneti yaneti at fedoraproject.org
Thu Jul 16 08:24:42 UTC 2009


Author: yaneti

Update of /cvs/pkgs/rpms/gtg/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2110/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	gtg.spec import.log 
Log Message:
Initial import on branch F-10



--- NEW FILE gtg.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           gtg
Version:        0.1.2
Release:        3%{?dist}
Summary:        Personal organizer for the GNOME desktop

Group:          Applications/Productivity
License:        GPLv3+
URL:            http://gtg.fritalk.com
BuildArch:      noarch
Source0:        http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  gettext
BuildRequires:  desktop-file-utils
Requires:       pygtk2 pygtk2-libglade python-configobj pyxdg pycairo gnome-python2-gnome

%description
Getting Things GNOME! (GTG) is a personal organizer for the GNOME desktop
environment inspired by the Getting Things Done (GTD) methodology. GTG is
designed with flexibility, adaptability, and ease of use in mind so it can be
used as more than just GTD software.


%prep
%setup -q
# patch up setup.py, which otherwise requires a running X server
sed -e 's/import GTG//' \
    -e "s|GTG.VERSION|'%{version}'|" \
    -e 's|GTG.URL|"http://gtg.fritalk.com"|' \
    -e 's|GTG.EMAIL|"gtg at lists.launchpad.net"|' \
    -i.bak setup.py
sed -i -e "s|#!/usr/bin/env python||" GTG/gtg.py


%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{python_sitelib}/*
%{_mandir}/man1/%{name}.1.gz


%changelog
* Tue Jul 14 2009 Yanko Kaneti <yaneti at declera.com> 0.1.2-3
- Use %%{__python} instead of python

* Mon Jul 13 2009 Yanko Kaneti <yaneti at declera.com> 0.1.2-2
- Implement review feedback
  https://bugzilla.redhat.com/show_bug.cgi?id=510994#c1

* Mon Jul 13 2009 Yanko Kaneti <yaneti at declera.com> 0.1.2-1
- Initial packaging


--- NEW FILE import.log ---
gtg-0_1_2-3_fc12:F-10:gtg-0.1.2-3.fc12.src.rpm:1247732673


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gtg/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	16 Jul 2009 05:38:19 -0000	1.1
+++ .cvsignore	16 Jul 2009 08:24:11 -0000	1.2
@@ -0,0 +1 @@
+gtg-0.1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gtg/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Jul 2009 05:38:19 -0000	1.1
+++ sources	16 Jul 2009 08:24:12 -0000	1.2
@@ -0,0 +1 @@
+276d5dbad074e4f50283a61bb569e9d4  gtg-0.1.2.tar.gz




More information about the fedora-extras-commits mailing list