Version: 2.30.1 Release: 1%{?_dist_release} %define gtk_required 2.20.0 %define libwnck_required 2.30.0 Summary: API document browser Summary(ja): API ドキュメントブラウザ Name: devhelp License: GPL Group: Applications/Development Url: http://live.gnome.org/devhelp Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/2.30/%{name}-%{version}.tar.bz2 #Patch10: %{name}-0.19.1-xulrunner19.patch #Patch11: %{name}-webkit.patch #Patch: %{name}-r1265.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: yasumichi Requires(pre,preun,post): GConf2 Requires(post,postun): gtk2 >= %{gtk_required} BuildRequires: gtk2-devel >= %{gtk_required} BuildRequires: GConf2-devel >= 2.6.0 BuildRequires: libglade2-devel >= 2.4.0 BuildRequires: libwnck-devel >= %{libwnck_required} BuildRequires: zlib-devel BuildRequires: WebKit-gtk-devel >= 1.1.13 BuildRequires: libsoup-devel BuildRequires: unique-devel %description An API document browser for GNOME 2. %description -l ja GNOME2 用の API ブラウザです。 %package devel Summary: Library to embed Devhelp in other applications. Group: Development/Libraries Requires: %{name} = %{version} Requires: gtk2-devel >= %{gtk_required} Requires: GConf2-devel >= 2.6.0 Requires: libglade2-devel >= 2.4.0 Requires: libwnck-devel >= %{libwnck_required} Requires: WebKit-gtk-devel Requires: libsoup-devel Requires: unique-devel %description devel Library of Devhelp for embedding into other applications. %prep %setup -q #patch10 -p1 -b .xulrunner19 #%patch -p1 %build %configure --disable-static --disable-schemas-install make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # remove, not shipped rm -f $RPM_BUILD_ROOT%{_libdir}/libdevhelp-1.la #rm -f $RPM_BUILD_ROOT%{_libdir}/libdevhelp-1.so #rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig #rm -rf $RPM_BUILD_ROOT%{_includedir} rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache %find_lang %{name} %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || : fi %post /sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null ||: touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %postun /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README INSTALL %config %{_sysconfdir}/gconf/schemas/*.schemas %{_bindir}/devhelp %{_libdir}/lib*.so.* %{_datadir}/applications/devhelp.desktop %{_datadir}/devhelp %{_datadir}/icons/hicolor/scalable/apps/devhelp.svg %{_datadir}/icons/hicolor/*/apps/devhelp.png %{_libdir}/gedit-2/plugins/* %files devel %defattr(-,root,root) %{_includedir}/* #%{_libdir}/libdevhelp*.la %{_libdir}/libdevhelp*.so %{_libdir}/pkgconfig/* %changelog * Sat Jun 26 2010 Yoji TOYODA 2.30.1-1 - new upstream release * Sun Apr 18 2010 Yoji TOYODA 2.30.0-1 - new upstream release * Fri Nov 06 2009 Yasumichi Akahoshi 2.28.1-2 - add unique-devel to BR * Tue Nov 03 2009 Yasumichi Akahoshi 2.28.1-1 - New upstream release. - remove Patch - build with WebKit-1.1.15.3 - add Vendor, Distribution and Packager. * Mon Aug 10 2009 Yasumichi Akahoshi 0.23-4 - update Patch(See follow url) - http://git.gnome.org/cgit/devhelp/commit/?id=af67fbedccab5044808a489a9f3a5540d42adcf2 * Sat Aug 01 2009 Yasumichi Akahoshi 0.23-3 - update Url. - add Patch11(http://bugzilla.gnome.org/show_bug.cgi?id=586559) * Tue Jun 30 2009 Daisuke SUZUKI 0.23-2 - remove unneeded Requires: - remove Requires/BuildRequires to gecko. * Tue Apr 28 2009 Yasumichi Akahoshi 0.23-1 - new upstream release - added Requires: Webkit-gtk,libsoup BuildRequires: Webkit-gtk-devel,libsoup-devel * Tue Sep 30 2008 Ryoichi INAGAKI 0.21-1 - new upstream release (dropped Patch10) - updated BuildRequires: gecko-devel-unstable instead of gecko-devel - added Requires: gecko-libs instead of firefox * Thu Jul 03 2008 Daisuke SUZUKI 0.19.1-2 - add Patch10 to build with xulrunner-1.9 - add %%pre %%preun scripts to remove old gconf schemas - add %%postun to update icon cache - add unpackaged icons to %%files * Fri May 30 2008 Yasumichi Akahoshi 0.19.1 - new upstream version. * Tue May 13 2008 Yasumichi Akahoshi 0.16.1-2 - use macro for Release * Fri May 09 2008 Yasumichi Akahoshi - apply new virsioning policy. - remove *.la * Thu Jan 10 2008 Ryoichi INAGAKI 0.16.1-0vl2 - rebuilt with libwnck 2.20.2 * Fri Jan 04 2008 Shu KONNO 0.16.1-0vl1 - new upstream version - removed icon-theme.cache in %%install section * Sun Sep 02 2007 Ryoichi INAGAKI 0.15-0vl1 - new upstream release * Tue Apr 03 2007 Yasumichi Akahoshi 0.13-0vl2 - icon-theme.cache is not included. * Sun Apr 01 2007 Yasumichi Akahoshi 0.13-0vl1 - update to 0.13 * Sun Dec 17 2006 Yasumichi Akahoshi 0.12-0vl2 - build devel package * Sun Oct 29 2006 Ryoichi INAGAKI 0.12-0vl1 - updated to 0.12 - using firefox(gecko) instead of gtkhtml2 - disabled intltoolize before configure * Thu Aug 25 2005 MATSUBAYASHI Kohji 0.9.3-0vl2 - add "--force" to intltoolize * Sun Nov 14 2004 Ryoichi INAGAKI 0.9.3-0vl1 - build for Vine Linux - do not build devel package * Sun Jun 29 2003 Mikael Hallendal - Released 0.7