9 |
|
|
10 |
Summary: GNOME Document viewer |
Summary: GNOME Document viewer |
11 |
Name: evince |
Name: evince |
12 |
Version: 3.1.2 |
Version: 3.1.90 |
13 |
Release: %mkrel 3 |
Release: %mkrel 1 |
14 |
License: GPLv2+ and GFDL+ |
License: GPLv2+ and GFDL+ |
15 |
Group: Graphical desktop/GNOME |
Group: Graphical desktop/GNOME |
16 |
URL: http://www.gnome.org |
URL: http://www.gnome.org |
17 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz |
18 |
Requires: ghostscript |
Requires: ghostscript |
19 |
Requires: ghostscript-module-X |
Requires: ghostscript-module-X |
20 |
BuildRequires: gtk+3-devel |
BuildRequires: pkgconfig(cairo) >= 1.10.0 |
21 |
BuildRequires: libgail-3.0-devel |
BuildRequires: pkgconfig(cairo-pdf) |
22 |
BuildRequires: libgnome-keyring-devel |
BuildRequires: pkgconfig(cairo-ps) |
23 |
BuildRequires: libxt-devel |
BuildRequires: pkgconfig(ddjvuapi) >= 3.5.17 |
24 |
BuildRequires: pkgconfig(poppler-glib) >= 0.14.0 |
BuildRequires: pkgconfig(gail-3.0) >= 3.0.2 |
25 |
BuildRequires: libspectre-devel |
BuildRequires: pkgconfig(gio-2.0) >= 2.25.11 |
26 |
BuildRequires: nautilus-devel |
BuildRequires: pkgconfig(gnome-icon-theme) >= 2.17.1 |
27 |
BuildRequires: libtiff-devel |
BuildRequires: pkgconfig(gnome-keyring-1) >= 2.22.0 |
28 |
BuildRequires: libxslt-proc |
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6 |
29 |
BuildRequires: gobject-introspection-devel |
BuildRequires: pkgconfig(gsettings-desktop-schemas) |
30 |
BuildRequires: glib2-devel >= 2.25.3 |
BuildRequires: pkgconfig(gthread-2.0) |
31 |
BuildRequires: cairo-devel |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.2 |
32 |
#BuildRequires: t1lib-devel |
BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= 3.0.2 |
33 |
BuildRequires: djvulibre-devel >= 3.5.17 |
BuildRequires: pkgconfig(gtk+-x11-3.0) |
34 |
BuildRequires: libgcrypt-devel |
BuildRequires: pkgconfig(ice) |
35 |
BuildRequires: scrollkeeper |
#fwang: n/a at the moment of 20110830 |
36 |
|
#BuildRequires: pkgconfig(libgxps) >= 0.0.1 |
37 |
|
BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4 |
38 |
|
BuildRequires: pkgconfig(libspectre) >= 0.2.0 |
39 |
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 |
40 |
|
BuildRequires: pkgconfig(poppler-glib) >= 0.16.0 |
41 |
|
BuildRequires: pkgconfig(sm) >= 1.0.0 |
42 |
|
BuildRequires: pkgconfig(x11) |
43 |
|
BuildRequires: tiff-devel |
44 |
BuildRequires: ghostscript |
BuildRequires: ghostscript |
45 |
BuildRequires: intltool |
BuildRequires: intltool |
46 |
#gw if we run autoconf |
#gw if we run autoconf |
48 |
BuildRequires: gnome-common |
BuildRequires: gnome-common |
49 |
BuildRequires: gnome-icon-theme |
BuildRequires: gnome-icon-theme |
50 |
BuildRequires: gtk-doc |
BuildRequires: gtk-doc |
|
Requires(post): scrollkeeper desktop-file-utils |
|
|
Requires(postun): scrollkeeper desktop-file-utils |
|
51 |
|
|
52 |
%description |
%description |
53 |
Evince is the GNOME Document viewer. It supports PDF, PostScript and other formats. |
Evince is the GNOME Document viewer. It supports PDF, PostScript and other formats. |
95 |
|
|
96 |
%prep |
%prep |
97 |
%setup -q |
%setup -q |
|
%apply_patches |
|
98 |
|
|
99 |
%build |
%build |
|
autoreconf -fi |
|
100 |
%configure2_5x \ |
%configure2_5x \ |
101 |
--enable-tiff \ |
--enable-tiff \ |
102 |
--enable-djvu \ |
--enable-djvu \ |
106 |
%endif |
%endif |
107 |
--enable-gtk-doc \ |
--enable-gtk-doc \ |
108 |
--enable-introspection \ |
--enable-introspection \ |
109 |
--disable-static |
--disable-static \ |
110 |
|
--disable-scrollkeeper --disable-schemas-compile |
111 |
|
|
112 |
%make GLIB_COMPILE_SCHEMAS=/usr/bin/glib-compile-schemas |
%make |
113 |
|
|
114 |
%install |
%install |
115 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
116 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std _ENABLE_SK=no GLIB_COMPILE_SCHEMAS=/usr/bin/glib-compile-schemas |
%makeinstall_std |
117 |
|
|
|
%find_lang Evince --with-gnome |
|
118 |
%find_lang %{name} --with-gnome |
%find_lang %{name} --with-gnome |
119 |
|
|
120 |
cat %{name}.lang >> Evince.lang |
find -name *.la | xargs rm |
|
|
|
|
rm -f %{buildroot}%{_libdir}/nautilus/extensions-*/libevince*a \ |
|
|
%{buildroot}%{_libdir}/evince/*/backends/lib*a \ |
|
|
%{buildroot}%{_libdir}/libev*.{a,la} \ |
|
|
%{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled |
|
121 |
|
|
122 |
%clean |
%clean |
123 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
124 |
|
|
125 |
%files -f Evince.lang |
%files -f %name.lang |
126 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
127 |
%doc NEWS AUTHORS TODO |
%doc NEWS AUTHORS TODO |
128 |
%{_bindir}/* |
%{_bindir}/* |