SPECS: devhelp.spec - rel.4, fixed summaries and descriptions, upd...

freetz freetz at pld-linux.org
Sat Aug 12 10:30:31 CEST 2006


Author: freetz                       Date: Sat Aug 12 08:30:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.4, fixed summaries and descriptions, update icon cache, use HEAD deps
  dropped obsolete mozilla 1.7.x support, remove unneeded files

---- Files affected:
SPECS:
   devhelp.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/devhelp.spec
diff -u SPECS/devhelp.spec:1.60 SPECS/devhelp.spec:1.61
--- SPECS/devhelp.spec:1.60	Thu Aug 10 09:26:32 2006
+++ SPECS/devhelp.spec	Sat Aug 12 10:30:21 2006
@@ -1,14 +1,9 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_without	mozilla_firefox # build with mozilla instead of mozilla-firefox
-#
-%define		minmozver	5:1.7
-Summary:	DevHelp is a developer's help program for GNOME
-Summary(pl):	Program pomocy dla programistów GNOME
+Summary:	API documentation browser for GNOME
+Summary(pl):	Przeglądarka dokumentacji API dla GNOME
 Name:		devhelp
 Version:	0.12
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.12/%{name}-%{version}.tar.gz
@@ -17,40 +12,34 @@
 Patch1:		%{name}-mozilla_includes.patch
 Patch2:		%{name}-desktop.patch
 URL:		http://www.imendio.com/projects/devhelp/
-BuildRequires:	GConf2-devel
+BuildRequires:	GConf2-devel >= 2.14.0
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	gnome-common >= 2.8.0
-BuildRequires:	gnome-vfs2-devel >= 2.10.0-2
-BuildRequires:	gtk+2-devel >= 2:2.6.4
-BuildRequires:	libglade2-devel >= 1:2.5.1
+BuildRequires:	gnome-common >= 2.12.0
+BuildRequires:	gnome-vfs2-devel >= 2.15.91
+BuildRequires:	gtk+2-devel >= 2:2.10.1
+BuildRequires:	libglade2-devel >= 1:2.6.0
 BuildRequires:	libtool
-%if %{with mozilla_firefox}
-BuildRequires:	mozilla-firefox-devel
-%else
-BuildRequires:	mozilla-devel >= %{minmozver}
-%endif
+BuildRequires:	libwnck-devel >= 2.15.91
+BuildRequires:	mozilla-firefox-devel >= 1.5.0.6
 BuildRequires:	pkgconfig
 BuildRequires:	python
-BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	zlib-devel
-Requires(post,preun):	GConf2
+Requires(post,preun):	GConf2 >= 2.14.0
+Requires(post,post):	gtk+2 >= 2.10.1
 Requires:	%{name}-libs = %{version}-%{release}
-%if %{with mozilla_firefox}
 %requires_eq	mozilla-firefox
-%else
-Requires:	mozilla = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla)
-%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # can be provided by mozilla or mozilla-embedded
 %define		_noautoreqdep	libgtkembedmoz.so libxpcom.so
 
 %description
-DevHelp is a developer's help program for GNOME.
+API documentation browser for GNOME.
 
 %description -l pl
-Program pomocy dla programistów GNOME.
+Przeglądarka dokumentacji API dla GNOME.
 
 %package libs
 Summary:	Library to embed Devhelp in other applications
@@ -58,10 +47,10 @@
 Group:		Libraries
 
 %description libs
-Library of Devhelp for embedding into other applications..
+Library of Devhelp for embedding into other applications.
 
 %description libs -l pl
-Biblioteka Devhelp do osadzania w innych aplikacjach..
+Biblioteka Devhelp do osadzania w innych aplikacjach.
 
 %package devel
 Summary:	Headers for Devhelp library
@@ -95,12 +84,10 @@
 Requires:	gedit2
 
 %description -n gedit2-plugin-devhelp
-This plugin enables GTK+ documentation browser using devhelp
-libraries.
+Allows to browse API documentation in Gedit.
 
 %description -n gedit2-plugin-devhelp -l pl
-Wtyczka umożliwiająca przeglądanie dokumentacji GTK+ przy pomocy
-bibliotek devhelpa.
+Umożliwia przeglądanie dokumentacji API w Gedit.
 
 %prep
 %setup -q
@@ -127,6 +114,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
+rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/%{name}/*.py
 
 %find_lang %{name}
 
@@ -135,10 +123,14 @@
 
 %post
 %gconf_schema_install devhelp.schemas
+%update_icon_cache hicolor
 
 %preun
 %gconf_schema_uninstall devhelp.schemas
 
+%postun
+%update_icon_cache hicolor
+
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
@@ -149,7 +141,7 @@
 %{_datadir}/%{name}
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*/apps/*
-%{_sysconfdir}/gconf/schemas/*
+%{_sysconfdir}/gconf/schemas/devhelp.schemas
 
 %files libs
 %defattr(644,root,root,755)
@@ -168,8 +160,8 @@
 
 %files -n gedit2-plugin-devhelp
 %defattr(644,root,root,755)
-%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin
 %dir %{_libdir}/gedit-2/plugins/%{name}
+%{_libdir}/gedit-2/plugins/%{name}.gedit-plugin
 %{_libdir}/gedit-2/plugins/%{name}/*.py[oc]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -178,6 +170,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2006/08/12 08:30:21  freetz
+- rel.4, fixed summaries and descriptions, update icon cache, use HEAD deps
+  dropped obsolete mozilla 1.7.x support, remove unneeded files
+
 Revision 1.60  2006/08/10 07:26:32  zboczuch
 - pl fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/devhelp.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list