File gnome-blog.spec of Package gnome-blog
#
# spec file for package gnome-blog (Version 0.9.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-blog
BuildRequires: fdupes intltool python-devel python-gnome-devel python-gobject2-devel update-desktop-files
Version: 0.9.1
Release: 271
License: GPL v2 or later
Group: Productivity/Networking/Web/Utilities
Requires: python-gnome python-gnome-extras gnome-python-desktop
Summary: A GNOME Panel Applet for Posting to bloggerAPI-Compatible Blogs
Url: http://www.gnome.org/~seth/gnome-blog/
Source: %{name}-%{version}.tar.bz2
Patch: gnome-blog-deprecation-warning.patch
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%gconf_schemas_prereq
%description
gnome-blog is a panel object (applet) that can post to bloggerAPI
compatible blogs including blogger.com, pyblosxom, and moveable-type.
Authors:
--------
Seth Nickell <seth@gnome.org>
%lang_package
%prep
%setup -q
%patch
# This should not be disted, it contains a hardcoded path
# Correct one is GNOME_BlogApplet.server.in.in
rm GNOME_BlogApplet.server.in
%build
%configure\
--libexecdir=%{_prefix}/lib/gnome-blog
make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file gnome-blog Utility TextEditor
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
# Some sites use different partitions for /usr/(lib|lib64) and /usr/share. Since you
# can't create hardlinks across partitions, we'll do this more than once.
%fdupes $RPM_BUILD_ROOT/%{_libdir}
%fdupes $RPM_BUILD_ROOT/%{_datadir}
%fdupes $RPM_BUILD_ROOT/%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/gnome-blog-poster
%{_libdir}/bonobo/servers/GNOME_BlogApplet.server
%{_datadir}/applications/gnome-blog.desktop
%{_datadir}/gnome-2.0/ui/GNOME_BlogApplet.xml
%{_datadir}/pixmaps/gnome-blog.png
%{_prefix}/lib/gnome-blog
%{py_sitedir}/gnomeblog
%files lang -f %{name}.lang
%changelog
* Sun Sep 28 2008 aj@suse.de
- Cleanup buildrequires.
* Fri Sep 07 2007 maw@suse.de
- Fix last change. Duh.
* Thu Sep 06 2007 maw@suse.de
- Don't run %%fdupes on directories where multiple partitions
are liable to be mounted.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Thu Mar 22 2007 sbrabec@suse.cz
- Fixed gconf scriptlets.
* Thu Jan 25 2007 ro@suse.de
- GNOME moved to /usr
* Fri Nov 17 2006 jhargadon@suse.de
- applied a patch from upstream cvs that corrects some deprecation
errors. Now the About... menu item works as intended.
* Tue Nov 14 2006 jhargadon@suse.de
- corrected the desktop category from Applet to TextEditor to
resolve bug #219794
* Tue Oct 31 2006 jhargadon@suse.de
- added gnome-python-desktop to Requires
* Wed Aug 16 2006 cthiel@suse.de
- buildrequire python-gnome-devel instead of python-gnome
* Wed Aug 16 2006 ro@suse.de
- added python-gobject2-devel to BuildRequires
* Thu Jun 22 2006 jpr@suse.de
- Update to 0.9.1
* Make add link dialog stay near and above the blog window
(Tommi Komulainen)
* Do not crash when gtkspell is installed but lack a dictionary
(Jan Alonzo)
* Ensure window looks sane when resized (Olav Vitters)
* Ensure blog applet window receives focus with newer metacity
versions and make it stay on top (Olav Vitters)
* Correctly position blog window beside the applet when using a
vertical panel (Olav Vitters)
* Make sure CTRL-B (bold), CTRL-I (italic) work when using the
applet
(Olav Vitters)
* Fix blogs.gnome.org XML-RPC URL (Olav Vitters)
* Translation updates
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 12 2005 jpr@suse.de
- Remove nautilus requires, looks like leftover cruft
- Specify the libexecdir to use something relevant to gnome-blog
- Remove GNOME_BlogApplet.server.in so that the correct directory
propogates through to the .server file (114325)
* Tue Jun 14 2005 gekker@suse.de
- Update to version 0.9
- Add Requires python-gnome-extras
* Thu Feb 17 2005 gekker@suse.de
- Add gnome-blog-poster.patch to fix gconf problems
- Add _makefile patch
- Fix to install in correct directories
* Tue Feb 15 2005 ro@suse.de
- ok, currently nautilus uses libdir ...
* Tue Feb 15 2005 ro@suse.de
- fix build on lib64
* Sat Feb 12 2005 gekker@suse.de
- Initial import of package, version 0.8