Update to 3.7.3

Adapt for the GConf to gsettings conversion.
This commit is contained in:
Kalev Lember 2012-12-21 00:14:22 +01:00
parent 409b7ae0c3
commit 81e43e97f3
3 changed files with 13 additions and 38 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ devhelp-2.90.5.tar.bz2
/devhelp-3.5.92.tar.xz /devhelp-3.5.92.tar.xz
/devhelp-3.6.0.tar.xz /devhelp-3.6.0.tar.xz
/devhelp-3.6.1.tar.xz /devhelp-3.6.1.tar.xz
/devhelp-3.7.3.tar.xz

View File

@ -1,7 +1,7 @@
### Abstract ### ### Abstract ###
Name: devhelp Name: devhelp
Version: 3.6.1 Version: 3.7.3
Release: 1%{?dist} Release: 1%{?dist}
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
@ -9,13 +9,10 @@ Group: Development/Tools
Summary: API documention browser Summary: API documention browser
URL: http://developer.imendio.com/projects/devhelp URL: http://developer.imendio.com/projects/devhelp
#VCS: git:git://git.gnome.org/devhelp #VCS: git:git://git.gnome.org/devhelp
Source: http://download.gnome.org/sources/devhelp/3.6/devhelp-%{version}.tar.xz Source: http://download.gnome.org/sources/devhelp/3.7/devhelp-%{version}.tar.xz
### Dependencies ### ### Dependencies ###
Requires(pre): GConf2 >= 2.14
Requires(preun): GConf2 >= 2.14
Requires(post): GConf2 >= 2.14
Requires(post): /usr/bin/gtk-update-icon-cache Requires(post): /usr/bin/gtk-update-icon-cache
Requires(postun): /usr/bin/gtk-update-icon-cache Requires(postun): /usr/bin/gtk-update-icon-cache
@ -27,9 +24,6 @@ BuildRequires: intltool
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
BuildRequires: webkitgtk3-devel BuildRequires: webkitgtk3-devel
BuildRequires: GConf2-devel BuildRequires: GConf2-devel
BuildRequires: unique3-devel
BuildRequires: autoconf automake libtool
BuildRequires: gnome-common
%description %description
Devhelp is an API documentation browser for the GNOME desktop. Devhelp is an API documentation browser for the GNOME desktop.
@ -48,63 +42,38 @@ into other applications such as IDEs.
%prep %prep
%setup -q -n devhelp-%{version} %setup -q -n devhelp-%{version}
# force regeneration
rm data/devhelp.schemas
libtoolize -f
aclocal
autoconf
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing"
%install %install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome \ desktop-file-install --vendor gnome \
--delete-original \ --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop $RPM_BUILD_ROOT%{_datadir}/applications/devhelp.desktop
rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books
%find_lang devhelp %find_lang devhelp
%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 %post
/sbin/ldconfig /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 >&/dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%postun %postun
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
fi fi
%posttrans %posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%files -f devhelp.lang %files -f devhelp.lang
@ -115,7 +84,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/devhelp %{_datadir}/devhelp
%{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/GConf/gsettings/devhelp.convert
%{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
%{_datadir}/icons/hicolor/16x16/apps/devhelp.png %{_datadir}/icons/hicolor/16x16/apps/devhelp.png
%{_datadir}/icons/hicolor/22x22/apps/devhelp.png %{_datadir}/icons/hicolor/22x22/apps/devhelp.png
%{_datadir}/icons/hicolor/24x24/apps/devhelp.png %{_datadir}/icons/hicolor/24x24/apps/devhelp.png
@ -133,6 +103,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.7.3-1
- Update to 3.7.3
- Adapt for the GConf to gsettings conversion
* Wed Nov 14 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.6.1-1 * Wed Nov 14 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.6.1-1
- Update to 3.6.1 - Update to 3.6.1
- Drop manual requires from -devel package; these are all picked up - Drop manual requires from -devel package; these are all picked up

View File

@ -1 +1 @@
56c03dfc591f4a1a7b975291338bf12f devhelp-3.6.1.tar.xz ef6d0c98ef461b406c96a678262e9033 devhelp-3.7.3.tar.xz