Summary: A CHM file viewer for Gnome Summary(pl): Przeglądarka plików CHM dla Gnome Name: gnochm Version: 0.9.3 Release: 4 License: GPL Group: Applications/Publishing Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # Source0-md5: 8b5b8c16337e93366dda6667c11821b2 Patch0: %{name}-desktop.patch URL: http://gnochm.sourceforge.net/ BuildRequires: GConf2-devel BuildRequires: autoconf BuildRequires: automake %pyrequires_eq python BuildRequires: chmlib-devel BuildRequires: libtool BuildRequires: python-devel >= 2.2.1 BuildRequires: rpm-pythonprov BuildRequires: scrollkeeper Requires(post): %{_bindir}/gconftool-2 Requires(post): scrollkeeper Requires(postun): scrollkeeper Requires: python-chm >= 0.8.0 Requires: python-gnome Requires: python-gnome-gconf Requires: python-gnome-gtkhtml >= 2.0 Requires: python-gnome-ui BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 %description -l pl Przeglądarka plików CHM dla Gnome charakteryzująca się: - Pełnym wyszukiwaniem tekstu - Zakładkami - Obsługą zewnętrznych powiązań ms-its - Konfigurowalnym wsparciem dla powiązań HTTP - Obsługą języków narodowych %prep %setup -q %patch0 -p1 %build %{__aclocal} %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ SHAREDMIME_TOOL=no %find_lang %{name} --with-gnome %clean rm -rf $RPM_BUILD_ROOT %post umask 022 %{_bindir}/scrollkeeper-update %gconf_schema_install update-mime-database %{_datadir}/mime [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: %postun umask 022 %{_bindir}/scrollkeeper-update update-mime-database %{_datadir}/mime [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: %files -f %{name}.lang %defattr(644,root,root,755) %doc ABOUT-NLS AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/gnochm %{_datadir}/%{name} %{_datadir}/omf/gnochm %{_pixmapsdir}/* %{_datadir}/applications/gnochm.desktop %{_datadir}/mime-info/gnochm.* %{_datadir}/mime/packages/gnochm.* %{_datadir}/application-registry/gnochm.* %{_mandir}/man?/* %{_sysconfdir}/gconf/schemas/gnochm.schemas