Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37790609
en ru br
Репозитории ALT
S:45.0-alt1
5.1: 2.28.2-alt0.M51.1
4.1: 2.22.2-alt0.M41.1
4.0: 2.19.92-alt1
3.0: 0.3.2-alt0.1
www.altlinux.org/Changes

Другие репозитории
Upstream:2.22.0

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

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

%define major 2.28
Name: evince
Version: %major.2
Release: alt0.M51.1
Summary: A document viewer
License: GPL
Group: Office
Url: http://www.gnome.org/projects/evince/
Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: lib%name = %version-%release

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires(Pre): libGConf-devel
BuildRequires: GConf gcc-c++ gnome-common gnome-doc-utils-xslt gtk-doc gnome-icon-theme intltool libSM-devel libdbus-glib-devel libdjvu-devel
BuildRequires: libgnome-keyring-devel libnautilus-devel libpoppler-glib-devel libspectre-devel libtiff-devel libxml2-devel libkpathsea-devel

%description
Evince is a document viewer capable of displaying multiple and single page
document formats like PDF and Postscript

%package dvi
Summary: Evince backend for dvi files
Group: Office
Requires: lib%name = %version-%release

%description dvi
A backend to let evince display dvi files

%package -n lib%name
Summary: Library for the %name project
Group: Office

%description -n lib%name
Library for %name project

%package -n lib%name-devel
Summary: Development tools for the %name
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Header files for %name library

%prep
%setup -q
%patch -p1

mkdir -p m4

%build
gnome-doc-prepare -f
gtkdocize
%autoreconf
%configure \
--disable-schemas-install \
--disable-scrollkeeper \
--enable-pdf \
--enable-tiff \
--enable-djvu \
--enable-dvi \
--enable-pixbuf \
--enable-comics \
--enable-impress \
--enable-pixbuf \
--enable-gtk-doc \
--enable-nautilus \
--enable-dbus \
--disable-introspection \
--disable-static
%make_build

%install
%make DESTDIR=%buildroot install

subst '/NoDisplay/d' %buildroot%_desktopdir/%name.desktop

%find_lang %name --with-gnome

%post
%gconf2_install %name

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%files -f %name.lang
%doc AUTHORS NEWS README
%_sysconfdir/gconf/schemas/*.schemas
%exclude %config %_sysconfdir/gconf/schemas/evince-thumbnailer-dvi.schemas
%_bindir/evince*
%_libdir/nautilus/extensions-2.0/libevince-properties-page.so
%_desktopdir/%name.desktop
%_datadir/%name
%_datadir/gtk-doc/html/%name
%_iconsdir/hicolor/*/apps/*
%_man1dir/*.1*

%files -n lib%name
%_libdir/libevdocument.so.*
%_libdir/libevview.so.*
%dir %_libdir/evince
%dir %_libdir/evince/1
%dir %_libdir/evince/1/backends
%_libdir/evince/1/backends/*.so
%_libdir/evince/1/backends/*.evince-backend
%exclude %_libdir/evince/1/backends/dvidocument.evince-backend
%exclude %_libdir/evince/1/backends/libdvidocument.so
%exclude %_sysconfdir/gconf/schemas/evince-thumbnailer-dvi.schemas

%files dvi
%_sysconfdir/gconf/schemas/evince-thumbnailer-dvi.schemas
%_libdir/evince/1/backends/dvidocument.evince-backend
%_libdir/evince/1/backends/libdvidocument.so

%files -n lib%name-devel
%_includedir/evince
%_libdir/libevdocument.so
%_libdir/libevview.so
%_pkgconfigdir/*.pc
%_datadir/gtk-doc/html/libevdocument
%_datadir/gtk-doc/html/libevview

%changelog

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

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