Репозиторий Sisyphus
Последнее обновление: 16 октября 2019 | Пакетов: 17499 | Посещений: 15274236
en ru br
Репозитории ALT
S:0.9.11-alt1.2.qa1.1
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
www.altlinux.org/Changes

Группа :: Офис
Пакет: gnochm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: gnochm
Version: 0.9.11
Release: alt1.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


%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/*
%_datadir/application-registry/gnochm.*
%_desktopdir/gnochm.desktop
%_datadir/gnochm/
%_datadir/mime/packages/gnochm.xml
%_datadir/mime-info/gnochm.*
%_pixmapsdir/*.png

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin