diff --git a/gjots2.spec b/gjots2.spec index 9948cac..4892f49 100644 --- a/gjots2.spec +++ b/gjots2.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -# $Id: gjots2.spec,v 1.7 2008/07/21 17:31:23 spot Exp $ +# $Id: gjots2.spec,v 1.8 2008/08/28 22:22:28 mschwendt Exp $ # Copyright (C) 2002-2005 Robert Hepple # # This program is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ Summary: A note jotter - Organise your ideas, notes, facts in a hierarchy Name: gjots2 Version: 2.3.4 -Release: 9%{?dist} +Release: 10%{?dist} URL: http://bhepple.freeshell.org/gjots Source: http://bhepple.freeshell.org/gjots/%{name}-%{version}.tgz Source1: gjots.png @@ -30,7 +30,7 @@ License: GPLv2+ Group: Applications/Productivity BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: desktop-file-utils +BuildRequires: python desktop-file-utils Requires: python >= 2.3, pygtk2 >= 2.4.0, gnome-python2 >= 2.0.2 Requires: libglade2 >= 2.4, gnome-python2-gconf >= 2.6.0 @@ -48,6 +48,8 @@ manipulating the tree you can easily reorder your thoughts and structure them appropriately. %prep +%{!?python_sitelib: echo "We need python_sitelib!"; exit -1} + %setup -q %patch0 -p1 -b .lib @@ -114,8 +116,8 @@ desktop-file-install --vendor fedora \ %doc AUTHORS INSTALL README COPYING ChangeLog gjots2.gjots gjots2.en_US.gjots gjots2.fr.gjots gjots2.nb.gjots gjots2.no.gjots gjots2.ru.gjots %dir %{python_sitelib}/%{name} %{python_sitelib}/%{name}/*.py -#%{python_sitelib}/%{name}/*.pyc -#%{python_sitelib}/%{name}/*.pyo +%{python_sitelib}/%{name}/*.pyc +%{python_sitelib}/%{name}/*.pyo %{_bindir}/gjots2 %{_bindir}/gjots2html* %{_bindir}/gjots2docbook @@ -128,6 +130,10 @@ desktop-file-install --vendor fedora \ %{_mandir}/man1/docbook2gjots* %changelog +* Fri Aug 29 2008 Michael Schwendt 2.3.4-10 +- fix python_sitelib install +- BR python and readd pyc/pyo files + * Mon Jul 21 2008 Tom "spot" Callaway 2.3.4-9 - fix license tag