Репозитории ALT
5.1: | 0.9.11-alt1.1 |
4.1: | 0.9.11-alt1.1 |
4.0: | 0.9.8-alt0.1 |
3.0: | 0.9.5-alt0.1 |
Группа :: Офис
Пакет: gnochm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: gnochm
Version: 0.9.8
Release: alt0.1
Summary: A CHM file viewer for Gnome
Summary(ru_RU.KOI8-R): Программа просмотра файлов CHM для Gnome
License: GPL
Group: Office
Url: http://gnochm.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/gnochm/%name-%version.tar.bz2
#Source1: %name.ru.po
Patch: %name-0.9.5.patch
BuildArch: noarch
PreReq: python = %__python_version
BuildPreReq: python-devel = %__python_version
Requires: python%__python_version(libglade)
Requires: python%__python_version(bonobo)
# Typical environment for GNOME program
Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: libGConf-devel
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
# manually removed: eric hostinfo
# Automatically added by buildreq on Mon Nov 29 2004
BuildRequires: GConf2 glib2 perl-XML-Parser python-base python-modules-encodings scrollkeeper shared-mime-info
%description
A CHM file viewer for Gnome. Features are:
* Full text search
* Bookmarks
* Support for external ms-its links
* Configurable support for http links
* Internationalisation
* Displays HTML page source
%prep
%setup -q
%patch -p0
%__subst "s|\$(SHAREDMIME_TOOL)|true \$(SHAREDMIME_TOOL)|" data/Makefile.in
#cp #SOURCE1 po/ru.po
%build
%configure --disable-schemas-install
%make
%install
%makeinstall
# due draft state of python policy
mv %buildroot%_bindir/%name %buildroot%_bindir/%name.py
ln -s %name.py %buildroot%_bindir/%name
%__subst "s,/usr/bin/python,/usr/bin/env python," %buildroot%_bindir/%name.py
mkdir -p %buildroot%_menudir
freedesktop2menu.pl %name "Applications/Text tools" \
%buildroot%_desktopdir/%name.desktop \
%buildroot%_menudir/%name
%find_lang %name --with-gnome
%__rm -rf %buildroot%_localstatedir/scrollkeeper
%post
%gconf2_install %name
%update_menus
%update_scrollkeeper
%update_desktopdb
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%postun
%clean_menus
%clean_scrollkeeper
%clean_desktopdb
%files -f %name.lang
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README
%_man1dir/*
%config %_sysconfdir/gconf/schemas/*.schemas
%_bindir/*
%_menudir/*
%_datadir/application-registry/gnochm.*
%_desktopdir/gnochm.desktop
%_datadir/gnochm/
%_datadir/mime/packages/gnochm.xml
%_datadir/mime-info/gnochm.*
%_pixmapsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.9.8
Release: alt0.1
Summary: A CHM file viewer for Gnome
Summary(ru_RU.KOI8-R): Программа просмотра файлов CHM для Gnome
License: GPL
Group: Office
Url: http://gnochm.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/gnochm/%name-%version.tar.bz2
#Source1: %name.ru.po
Patch: %name-0.9.5.patch
BuildArch: noarch
PreReq: python = %__python_version
BuildPreReq: python-devel = %__python_version
Requires: python%__python_version(libglade)
Requires: python%__python_version(bonobo)
# Typical environment for GNOME program
Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: libGConf-devel
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
# manually removed: eric hostinfo
# Automatically added by buildreq on Mon Nov 29 2004
BuildRequires: GConf2 glib2 perl-XML-Parser python-base python-modules-encodings scrollkeeper shared-mime-info
%description
A CHM file viewer for Gnome. Features are:
* Full text search
* Bookmarks
* Support for external ms-its links
* Configurable support for http links
* Internationalisation
* Displays HTML page source
%prep
%setup -q
%patch -p0
%__subst "s|\$(SHAREDMIME_TOOL)|true \$(SHAREDMIME_TOOL)|" data/Makefile.in
#cp #SOURCE1 po/ru.po
%build
%configure --disable-schemas-install
%make
%install
%makeinstall
# due draft state of python policy
mv %buildroot%_bindir/%name %buildroot%_bindir/%name.py
ln -s %name.py %buildroot%_bindir/%name
%__subst "s,/usr/bin/python,/usr/bin/env python," %buildroot%_bindir/%name.py
mkdir -p %buildroot%_menudir
freedesktop2menu.pl %name "Applications/Text tools" \
%buildroot%_desktopdir/%name.desktop \
%buildroot%_menudir/%name
%find_lang %name --with-gnome
%__rm -rf %buildroot%_localstatedir/scrollkeeper
%post
%gconf2_install %name
%update_menus
%update_scrollkeeper
%update_desktopdb
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi
%postun
%clean_menus
%clean_scrollkeeper
%clean_desktopdb
%files -f %name.lang
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README
%_man1dir/*
%config %_sysconfdir/gconf/schemas/*.schemas
%_bindir/*
%_menudir/*
%_datadir/application-registry/gnochm.*
%_desktopdir/gnochm.desktop
%_datadir/gnochm/
%_datadir/mime/packages/gnochm.xml
%_datadir/mime-info/gnochm.*
%_pixmapsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь