Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37827265
en ru br
Репозитории ALT
5.1: 2.26.2-alt3.M51.1
4.1: 2.22.2-alt0.M41.1
4.0: 2.20.1-alt0.M40.5
+backports:2.20.1-alt0.M40.6
www.altlinux.org/Changes

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

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

%define major 2.26
%define oname evince
Name: evince-gtk
Version: %major.2
Release: alt3.M51.1
Summary: A document viewer
License: GPL
Group: Office
Url: http://www.gnome.org/projects/evince/
Packager: Lenar Shakirov <snejok at altlinux.org>

Requires: lib%name = %version-%release

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

Conflicts: %oname

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: libpoppler-glib-devel libspectre-devel libtiff-devel libxml2-devel

%description
Evince is a document viewer capable of displaying multiple and single page
document formats like PDF and Postscript. (version without GNOME)

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

%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
Conflicts: lib%oname-devel

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

%prep
%setup -q
%patch -p1

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

%install
%make DESTDIR=%buildroot install

subst '/NoDisplay/d' %buildroot%_desktopdir/%oname.desktop
sed 's/Categories=.*/Categories=Viewer;Office;GTK;/' -i %buildroot%_desktopdir/%oname.desktop

%find_lang %oname --with-gnome

%post
%gconf2_install %oname

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

%files -f %oname.lang
%doc AUTHORS NEWS README
%_sysconfdir/gconf/schemas/*.schemas
%_bindir/evince
%_bindir/evince-thumbnailer
%_desktopdir/%oname.desktop
%_datadir/%oname
%_datadir/gtk-doc/html/%oname
%_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

%files -n lib%name-devel
%_includedir/evince
%_libdir/libevdocument.so
%_libdir/libevview.so
%_pkgconfigdir/*
%_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