2005-10-18 19:11:13 +00:00
|
|
|
%define mozver 37:1.7.12
|
2004-09-09 04:11:34 +00:00
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
Summary: API document browser
|
|
|
|
Name: devhelp
|
2005-12-18 19:42:43 +00:00
|
|
|
Version: 0.11
|
2006-02-07 11:22:32 +00:00
|
|
|
Release: 1.1
|
2004-09-09 04:10:14 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Development/Tools
|
2004-09-09 04:12:19 +00:00
|
|
|
Url: http://ftp.gnome.org/pub/gnome/sources/devhelp/
|
2004-09-09 04:10:40 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2004-09-09 04:10:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
Requires: gtk2 >= 2.2.0
|
|
|
|
Requires: libgnomeui >= 2.2.0
|
|
|
|
Requires: gnome-vfs2 >= 2.2.0
|
2004-09-09 04:11:34 +00:00
|
|
|
Requires: libglade2 >= 2.2.0
|
2004-09-24 21:26:23 +00:00
|
|
|
Requires: mozilla = %mozver
|
2004-09-29 08:59:42 +00:00
|
|
|
BuildRequires: desktop-file-utils >= 0.3
|
2004-09-09 04:10:14 +00:00
|
|
|
|
|
|
|
BuildRequires: gtk2-devel >= 2.2.0
|
|
|
|
BuildRequires: libgnomeui-devel >= 2.2.0
|
|
|
|
BuildRequires: gnome-vfs2-devel >= 2.2.0
|
2004-09-09 04:11:34 +00:00
|
|
|
BuildRequires: libglade2-devel >= 2.2.0
|
2005-07-31 17:45:50 +00:00
|
|
|
BuildRequires: mozilla-devel = %mozver
|
2004-09-09 04:10:14 +00:00
|
|
|
BuildRequires: intltool
|
2004-09-09 04:10:40 +00:00
|
|
|
BuildRequires: gettext
|
2004-09-09 04:10:14 +00:00
|
|
|
|
|
|
|
%description
|
2005-07-21 23:11:24 +00:00
|
|
|
An API document browser for GNOME 2.
|
2004-09-09 04:10:14 +00:00
|
|
|
|
2004-09-09 04:10:40 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Library to embed Devhelp in other applications.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{PACKAGE_VERSION}
|
|
|
|
Requires: gtk2-devel >= 2.2.0
|
|
|
|
Requires: libgnomeui-devel >= 2.2.0
|
|
|
|
Requires: gnome-vfs2-devel >= 2.2.0
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Library of Devhelp for embedding into other applications.
|
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
2005-03-10 22:05:33 +00:00
|
|
|
export gt_cv_func_dgettext_libc=yes # Temporary fix
|
|
|
|
|
2005-08-18 02:43:17 +00:00
|
|
|
intltoolize --force
|
2004-09-09 04:12:19 +00:00
|
|
|
%configure
|
2004-09-09 04:10:14 +00:00
|
|
|
|
2005-03-10 21:26:18 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 04:10:14 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 04:11:34 +00:00
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
2004-09-09 04:10:14 +00:00
|
|
|
%makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install
|
2004-09-09 04:11:34 +00:00
|
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
2004-09-09 04:10:14 +00:00
|
|
|
|
|
|
|
desktop-file-install --vendor gnome \
|
|
|
|
--delete-original \
|
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
--add-category X-Red-Hat-Base \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop
|
|
|
|
|
2004-09-09 04:10:40 +00:00
|
|
|
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
|
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 04:11:34 +00:00
|
|
|
%post
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
SCHEMAS="devhelp.schemas"
|
|
|
|
for S in $SCHEMAS; do
|
|
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
|
|
|
|
done
|
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README INSTALL
|
|
|
|
|
|
|
|
%{_bindir}/devhelp
|
2004-09-09 04:10:40 +00:00
|
|
|
%{_libdir}/libdevhelp*.so.*
|
2004-09-09 04:10:14 +00:00
|
|
|
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/devhelp
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
%{_datadir}/mime-info/devhelp.mime
|
|
|
|
%{_datadir}/mime-info/devhelp.keys
|
2004-09-09 04:11:34 +00:00
|
|
|
%{_sysconfdir}/gconf/schemas/*.schemas
|
2004-09-09 04:10:14 +00:00
|
|
|
|
2004-09-09 04:10:40 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_prefix}/include/devhelp-1.0
|
|
|
|
%{_libdir}/libdevhelp*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
%changelog
|
2006-02-07 11:22:32 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.11-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-18 19:42:43 +00:00
|
|
|
* Sun Dec 18 2005 Ray Strode <rstrode@redhat.com> - 0.11-1
|
|
|
|
- Update to 0.11
|
|
|
|
|
2005-12-09 22:40:10 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-10-18 19:11:13 +00:00
|
|
|
* Tue Oct 18 2005 Christopher Aillon <caillon@redhat.com> - 0.10-6
|
|
|
|
- Build on ppc64
|
|
|
|
|
2005-08-18 02:43:17 +00:00
|
|
|
* Wed Aug 17 2005 Jeremy Katz <katzj@redhat.com> - 0.10-5
|
|
|
|
- fix the build
|
|
|
|
|
2005-08-17 12:57:21 +00:00
|
|
|
* Wed Aug 17 2005 Ray Strode <rstrode@redhat.com> 0.10.0-4
|
|
|
|
- rebuild
|
|
|
|
|
2005-07-31 17:45:50 +00:00
|
|
|
* Sun Jul 31 2005 Christopher Aillon <caillon@redhat.com> 0.10.0-3
|
|
|
|
- Rebuild against new mozilla
|
|
|
|
|
2005-07-20 03:26:01 +00:00
|
|
|
* Tue Jul 19 2005 Christopher Aillon <caillon@redhat.com> 0.10.0-2
|
|
|
|
- Rebuild against new mozilla
|
|
|
|
- Add builds for ia64 s390 s390x
|
|
|
|
|
2005-05-19 15:55:42 +00:00
|
|
|
* Thu May 19 2005 Ray Strode <rstrode@redhat.com> 0.10.0-1
|
|
|
|
- Update to 0.10.0 (bug #157753)
|
|
|
|
|
2005-05-13 16:14:06 +00:00
|
|
|
* Fri May 13 2005 Christopher Aillon <caillon@redhat.com> 0.9.3-7
|
|
|
|
- Depend on mozilla 1.7.8
|
|
|
|
|
2005-04-16 22:53:05 +00:00
|
|
|
* Sat Apr 16 2005 Christopher Aillon <caillon@redhat.com> 0.9.3-6
|
|
|
|
- Depend on mozilla 1.7.7
|
|
|
|
|
2005-04-14 19:49:35 +00:00
|
|
|
* Thu Apr 14 2005 Ray Strode <rstrode@redhat.com> 0.9.3-5
|
|
|
|
- Don't crash on typeahead (bug #154398)
|
|
|
|
|
2005-03-10 05:06:49 +00:00
|
|
|
* Wed Mar 9 2005 Christopher Aillon <caillon@redhat.com> 0.9.3-4
|
|
|
|
- Depend on mozilla 1.7.6
|
|
|
|
|
2005-03-05 09:13:23 +00:00
|
|
|
* Sat Mar 5 2005 Christopher Aillon <caillon@redhat.com> 0.9.3-3
|
|
|
|
- Rebuild against GCC 4.0
|
|
|
|
|
2004-12-20 02:15:23 +00:00
|
|
|
* Sun Dec 19 2004 Christopher Aillon <caillon@redhat.com> 0.9.3-2
|
|
|
|
- Require mozilla 1.7.5
|
|
|
|
|
2004-12-20 02:03:46 +00:00
|
|
|
* Sun Dec 19 2004 Christopher Aillon <caillon@redhat.com> 0.9.3-1
|
|
|
|
- Update to 0.9.3
|
|
|
|
|
2004-10-14 06:53:07 +00:00
|
|
|
* Mon Oct 11 2004 Christopher Aillon <caillon@redhat.com> 0.9.2-2
|
|
|
|
- Rebuild to add ppc once again.
|
|
|
|
|
2004-09-29 08:59:42 +00:00
|
|
|
* Wed Sep 29 2004 Christopher Aillon <caillon@redhat.com> 0.9.2-1
|
|
|
|
- Update to 0.9.2
|
|
|
|
- Remove accel patch; its upstreamed now.
|
|
|
|
|
2004-09-26 18:03:27 +00:00
|
|
|
* Sun Sep 26 2004 Christopher Blizzard <blizzard@redhat.com> 0.9.1-6
|
|
|
|
- Rebuild without explicit mozilla release
|
|
|
|
|
2004-09-24 21:26:23 +00:00
|
|
|
* Fri Sep 24 2004 Christopher Blizzard <blizzard@redhat.com> 0.9.1-5
|
|
|
|
- Rebuild with explicit Mozilla version requires
|
|
|
|
|
2004-09-23 07:26:01 +00:00
|
|
|
* Wed Sep 22 2004 Christopher Aillon <caillon@redhat.com> 0.9.1-4
|
|
|
|
- Rebuilt to pick up new mozilla changes
|
|
|
|
- Drop ppc from the build since mozilla doesn't build there anymore.
|
|
|
|
|
2004-09-09 04:12:28 +00:00
|
|
|
* Wed Aug 25 2004 Christopher Aillon <caillon@redhat.com> 0.9.1-3
|
|
|
|
- Add Johan Svedberg's patch to add accelerators for back and forward
|
|
|
|
|
2004-09-09 04:12:22 +00:00
|
|
|
* Mon Aug 09 2004 Christopher Aillon <caillon@redhat.com>
|
|
|
|
- Rebuild
|
|
|
|
|
2004-09-09 04:12:19 +00:00
|
|
|
* Wed Aug 04 2004 Christopher Aillon <caillon@redhat.com>
|
|
|
|
- Update to 0.9.1
|
|
|
|
- Remove ld-library patch. It is upstream now.
|
|
|
|
|
2004-09-09 04:11:47 +00:00
|
|
|
* Wed Jun 23 2004 Christopher Aillon <caillon@redhat.com>
|
|
|
|
- Update ExclusiveArch
|
|
|
|
|
|
|
|
* Tue Jun 22 2004 Christopher Aillon <caillon@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:11:34 +00:00
|
|
|
* Wed Apr 21 2004 Colin Walters <walters@redhat.com> 0.9-3
|
|
|
|
- Update patch to avoid (unlikely) security issue noticed
|
|
|
|
by Jeremy Katz.
|
|
|
|
|
|
|
|
* Mon Apr 15 2004 Colin Walters <walters@redhat.com> 0.9-2
|
|
|
|
- Apply patch from George Karabin <gkarabin@pobox.com> to
|
|
|
|
export LD_LIBRARY_PATH (closes bug 120220).
|
|
|
|
|
|
|
|
* Fri Apr 2 2004 Mark McLoughlin <markmc@redhat.com> 0.9-1
|
|
|
|
- Update to 0.9
|
|
|
|
- Install the schemas correctly
|
|
|
|
- Package /usr/bin/devhelp-bin
|
|
|
|
- Update requires/buildrequires
|
|
|
|
- Only build on platforms where mozilla is available
|
|
|
|
|
2004-09-09 04:10:40 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Feb 26 2004 Alexander Larsson <alexl@redhat.com> 0.8.1-1
|
|
|
|
- update to 0.8.1
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Dec 1 2003 Jonathan Blandford <jrb@redhat.com> 0.7.0-1
|
|
|
|
- new version
|
|
|
|
- Remove .la and .a files.
|
|
|
|
|
2004-09-09 04:10:14 +00:00
|
|
|
* Wed Jul 30 2003 Jonathan Blandford <jrb@redhat.com>
|
|
|
|
- remove original devhelp desktop file.
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat May 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add find_lang
|