1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
%define gnome_python2_version 1.99.13
Name: gnome-blog
Summary: GNOME panel object for posting blog entries
Version: 0.8
Release: 1
License: GPL
Group: User Interface/Desktops
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gnome-python2-applet >= %{gnome_python2_version}
Requires: gnome-python2-gconf >= %{gnome_python2_version}
Requires: gnome-python2-gnomevfs >= %{gnome_python2_version}
Requires: pygtk2 >= %{gnome_python2_version}
Prereq: GConf2
Prereq: /usr/bin/gconftool-2
BuildRequires: pygtk2-devel >= %{gnome_python2_version}
BuildRequires: gettext
%description
GNOME panel object that allows convenient posting of blog entries to
any blog that supports the bloggerAPI.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang %name
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnomeblog.schemas > /dev/null;
%postun -p /sbin/ldconfig
%files -f %name.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/*
%{_libexecdir}/*
%{_sysconfdir}/gconf/schemas/gnomeblog.schemas
%{_datadir}/pixmaps/gnome-blog.png
%{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/applications/*.desktop
%{_libdir}/bonobo/servers/*.server
%dir %{_libdir}/python*/site-packages/gnomeblog/
%{_libdir}/python*/site-packages/gnomeblog/*.py
%{_libdir}/python*/site-packages/gnomeblog/gnome-blog-poster
%{_libdir}/python*/site-packages/gnomeblog/*.pyc
%ghost %{_libdir}/python*/site-packages/gnomeblog/*.pyo
%changelog
* Sat Apr 03 2004 Brian Pepple <bdpepple@ameritech.net>
- Removed INSTALL doc, since it's the generic file.
- Removed unneeded NEWS file.
- Ghosted *.pyo files.
- Added BuildRequires gettext.
* Sun Dec 21 2003 Rob Love <rml@ximian.com>
- Require gnome-python2-gnomevfs
* Thu Aug 14 2003 William Jon McCann <mccann@jhu.edu>
- Don't install Rhythmbox.h.
|