1 |
cjw |
119125 |
%define build_dvi 1 |
2 |
pterjan |
35314 |
|
3 |
juancho |
260677 |
%define major 4 |
4 |
|
|
%define major_evdocument 4 |
5 |
ovitters |
225747 |
%define major_evview 3 |
6 |
|
|
%define api 3.0 |
7 |
|
|
%define gir_major 3.0 |
8 |
ovitters |
225667 |
|
9 |
ovitters |
225747 |
%define devname %mklibname -d %{name} |
10 |
|
|
%define libname_evdocument %mklibname evdocument 3 %{major_evdocument} |
11 |
|
|
%define libname_evview %mklibname evview 3 %{major_evview} |
12 |
|
|
%define girname %mklibname %{name}-gir %{gir_major} |
13 |
ovitters |
225667 |
|
14 |
wally |
155852 |
%define url_ver %(echo %{version}|cut -d. -f1,2) |
15 |
|
|
|
16 |
wally |
114165 |
Summary: GNOME Document viewer |
17 |
|
|
Name: evince |
18 |
ovitters |
614044 |
Version: 3.12.1 |
19 |
wally |
619792 |
Release: %mkrel 2 |
20 |
vaci0 |
338403 |
License: GPLv2+ |
21 |
wally |
114165 |
Group: Graphical desktop/GNOME |
22 |
|
|
URL: http://www.gnome.org |
23 |
ovitters |
484928 |
Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz |
24 |
wally |
619792 |
Patch0: evince-3.12.1-adwaita-icon-theme.patch |
25 |
ovitters |
149358 |
BuildRequires: pkgconfig(cairo) >= 1.10.0 |
26 |
|
|
BuildRequires: pkgconfig(cairo-pdf) |
27 |
|
|
BuildRequires: pkgconfig(cairo-ps) |
28 |
|
|
BuildRequires: pkgconfig(ddjvuapi) >= 3.5.17 |
29 |
fwang |
468995 |
BuildRequires: pkgconfig(gail-3.0) >= 3.8.0 |
30 |
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0 |
31 |
wally |
619792 |
BuildRequires: pkgconfig(adwaita-icon-theme) >= 2.17.1 |
32 |
ovitters |
149358 |
BuildRequires: pkgconfig(gnome-keyring-1) >= 2.22.0 |
33 |
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6 |
34 |
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) |
35 |
|
|
BuildRequires: pkgconfig(gthread-2.0) |
36 |
fwang |
468995 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.0 |
37 |
ovitters |
149358 |
BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= 3.0.2 |
38 |
|
|
BuildRequires: pkgconfig(gtk+-x11-3.0) |
39 |
|
|
BuildRequires: pkgconfig(ice) |
40 |
fwang |
171133 |
BuildRequires: pkgconfig(libgxps) >= 0.2.0 |
41 |
ovitters |
149358 |
BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4 |
42 |
|
|
BuildRequires: pkgconfig(libspectre) >= 0.2.0 |
43 |
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 |
44 |
ovitters |
461327 |
BuildRequires: pkgconfig(poppler-glib) >= 0.24.0 |
45 |
ovitters |
149358 |
BuildRequires: pkgconfig(sm) >= 1.0.0 |
46 |
|
|
BuildRequires: pkgconfig(x11) |
47 |
fwang |
468995 |
BuildRequires: pkgconfig(libsecret-1) >= 0.5 |
48 |
ovitters |
149358 |
BuildRequires: tiff-devel |
49 |
wally |
114165 |
BuildRequires: ghostscript |
50 |
|
|
BuildRequires: intltool |
51 |
tv |
282899 |
BuildRequires: itstool |
52 |
wally |
114165 |
BuildRequires: gnome-doc-utils |
53 |
|
|
BuildRequires: gtk-doc |
54 |
wally |
184547 |
Requires: ghostscript |
55 |
|
|
Requires: ghostscript-module-X |
56 |
wally |
449921 |
Requires: gsettings-desktop-schemas |
57 |
vaci0 |
611251 |
Requires: shared-mime-info |
58 |
pterjan |
35314 |
|
59 |
|
|
%description |
60 |
vaci0 |
338403 |
Evince is the GNOME Document viewer. It supports PDF, PostScript and |
61 |
|
|
other formats. |
62 |
pterjan |
35314 |
|
63 |
wally |
449921 |
To view .dvi files as produced by TeX in evince, install the %{name}-dvi |
64 |
|
|
package. |
65 |
|
|
|
66 |
cjw |
119125 |
%if %build_dvi |
67 |
|
|
%package dvi |
68 |
|
|
Summary: TeX DVI document support for evince |
69 |
|
|
Group: Graphical desktop/GNOME |
70 |
|
|
BuildRequires: kpathsea-devel |
71 |
|
|
#gw just like xdvi, needed for rendering the fonts |
72 |
|
|
Requires: texlive |
73 |
|
|
Requires: texlive-texmf |
74 |
|
|
Requires: %{name} = %{version}-%{release} |
75 |
|
|
|
76 |
|
|
%description dvi |
77 |
wally |
449921 |
This package adds support for displaying .dvi files to evince. These files are |
78 |
cjw |
119125 |
produced by TeX, often using a macro package like LaTeX. |
79 |
|
|
%endif |
80 |
|
|
|
81 |
ovitters |
225747 |
%package -n %{libname_evdocument} |
82 |
wally |
114165 |
Group: System/Libraries |
83 |
|
|
Summary: GNOME Document viewer library |
84 |
ovitters |
225752 |
Obsoletes: %{mklibname %{name} 3} < 3.3.92 |
85 |
pterjan |
35314 |
|
86 |
ovitters |
225747 |
%description -n %{libname_evdocument} |
87 |
pterjan |
35314 |
This is the GNOME Document viewer library, the shared parts of evince. |
88 |
|
|
|
89 |
ovitters |
225667 |
%package -n %{libname_evview} |
90 |
|
|
Group: System/Libraries |
91 |
|
|
Summary: GNOME Document viewer library |
92 |
|
|
|
93 |
|
|
%description -n %{libname_evview} |
94 |
|
|
This is the GNOME Document viewer library, the shared parts of evince. |
95 |
|
|
|
96 |
wally |
114165 |
%package -n %{devname} |
97 |
|
|
Group: Development/C |
98 |
|
|
Summary: GNOME Document viewer library |
99 |
ovitters |
225747 |
Requires: %{libname_evdocument} = %{version}-%{release} |
100 |
ovitters |
225667 |
Requires: %{libname_evview} = %{version}-%{release} |
101 |
wally |
114165 |
Provides: lib%{name}-devel = %{version}-%{release} |
102 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
103 |
pterjan |
35314 |
|
104 |
wally |
114165 |
%description -n %{devname} |
105 |
pterjan |
35314 |
This is the GNOME Document viewer library, the shared parts of evince. |
106 |
|
|
|
107 |
wally |
114165 |
%package -n %{girname} |
108 |
|
|
Summary: GObject Introspection interface description for %{name} |
109 |
|
|
Group: System/Libraries |
110 |
ovitters |
225747 |
Requires: %{libname_evdocument} = %{version}-%{release} |
111 |
ovitters |
225667 |
Requires: %{libname_evview} = %{version}-%{release} |
112 |
wally |
114165 |
|
113 |
|
|
%description -n %{girname} |
114 |
|
|
GObject Introspection interface description for %{name}. |
115 |
|
|
|
116 |
pterjan |
35314 |
%prep |
117 |
|
|
%setup -q |
118 |
wally |
619792 |
%apply_patches |
119 |
pterjan |
35314 |
|
120 |
|
|
%build |
121 |
wally |
619792 |
autoreconf -vfi |
122 |
wally |
114165 |
%configure2_5x \ |
123 |
|
|
--enable-tiff \ |
124 |
|
|
--enable-djvu \ |
125 |
|
|
--enable-comics \ |
126 |
pterjan |
35314 |
%if %build_dvi |
127 |
ovitters |
149358 |
--enable-dvi \ |
128 |
pterjan |
35314 |
%endif |
129 |
fwang |
300873 |
--disable-gtk-doc \ |
130 |
wally |
114165 |
--enable-introspection \ |
131 |
fwang |
136165 |
--disable-static \ |
132 |
wally |
184547 |
--disable-scrollkeeper \ |
133 |
|
|
--disable-schemas-compile |
134 |
fwang |
136165 |
%make |
135 |
pterjan |
35314 |
|
136 |
|
|
%install |
137 |
fwang |
136165 |
%makeinstall_std |
138 |
pterjan |
35314 |
|
139 |
ovitters |
282912 |
%find_lang %{name} --with-gnome --with-help |
140 |
pterjan |
35314 |
|
141 |
wally |
270765 |
find %{buildroot} -name "*.la" -delete |
142 |
wally |
114165 |
|
143 |
fwang |
136165 |
%files -f %name.lang |
144 |
pterjan |
35314 |
%doc NEWS AUTHORS TODO |
145 |
|
|
%{_bindir}/* |
146 |
|
|
%{_datadir}/evince |
147 |
|
|
%{_datadir}/applications/* |
148 |
cjw |
113251 |
%{_datadir}/icons/hicolor/*/apps/evince* |
149 |
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml |
150 |
|
|
%{_datadir}/GConf/gsettings/evince.convert |
151 |
|
|
%{_mandir}/man1/evince.1* |
152 |
|
|
%{_libdir}/nautilus/extensions-3.0/libevince*so* |
153 |
|
|
%dir %{_libdir}/evince/%{major}/ |
154 |
|
|
%dir %{_libdir}/evince/%{major}/backends |
155 |
cjw |
119125 |
%{_libdir}/evince/%{major}/backends/libcomicsdocument.so |
156 |
cjw |
113251 |
%{_libdir}/evince/%{major}/backends/comicsdocument.evince-backend |
157 |
cjw |
119125 |
%{_libdir}/evince/%{major}/backends/libdjvudocument.so |
158 |
cjw |
113251 |
%{_libdir}/evince/%{major}/backends/djvudocument.evince-backend |
159 |
cjw |
119125 |
%{_libdir}/evince/%{major}/backends/libpdfdocument.so |
160 |
cjw |
113251 |
%{_libdir}/evince/%{major}/backends/pdfdocument.evince-backend |
161 |
cjw |
119125 |
%{_libdir}/evince/%{major}/backends/libpsdocument.so |
162 |
cjw |
113251 |
%{_libdir}/evince/%{major}/backends/psdocument.evince-backend |
163 |
cjw |
119125 |
%{_libdir}/evince/%{major}/backends/libtiffdocument.so |
164 |
cjw |
113251 |
%{_libdir}/evince/%{major}/backends/tiffdocument.evince-backend |
165 |
fwang |
171136 |
%{_libdir}/evince/%{major}/backends/libxpsdocument.so |
166 |
|
|
%{_libdir}/evince/%{major}/backends/xpsdocument.evince-backend |
167 |
cjw |
113251 |
%{_libexecdir}/evinced |
168 |
|
|
%{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service |
169 |
|
|
%{_datadir}/thumbnailers/evince.thumbnailer |
170 |
pterjan |
35314 |
|
171 |
cjw |
119125 |
%if %build_dvi |
172 |
|
|
%files dvi |
173 |
|
|
%{_libdir}/evince/%{major}/backends/libdvidocument.so |
174 |
|
|
%{_libdir}/evince/%{major}/backends/dvidocument.evince-backend |
175 |
|
|
%endif |
176 |
|
|
|
177 |
ovitters |
225747 |
%files -n %{libname_evdocument} |
178 |
|
|
%{_libdir}/libevdocument3.so.%{major_evdocument}* |
179 |
pterjan |
35314 |
|
180 |
ovitters |
225667 |
%files -n %{libname_evview} |
181 |
|
|
%{_libdir}/libevview3.so.%{major_evview}* |
182 |
|
|
|
183 |
wally |
114165 |
%files -n %{girname} |
184 |
|
|
%{_libdir}/girepository-1.0/EvinceDocument-%{gir_major}.typelib |
185 |
|
|
%{_libdir}/girepository-1.0/EvinceView-%{gir_major}.typelib |
186 |
|
|
|
187 |
|
|
%files -n %{devname} |
188 |
pterjan |
35314 |
%doc ChangeLog |
189 |
cjw |
113251 |
%{_datadir}/gtk-doc/html/evince |
190 |
|
|
%{_datadir}/gtk-doc/html/libevdocument-%{api} |
191 |
|
|
%{_datadir}/gtk-doc/html/libevview-%{api} |
192 |
|
|
%{_libdir}/libevdocument3.so |
193 |
|
|
%{_libdir}/libevview3.so |
194 |
|
|
%{_libdir}/pkgconfig/evince*pc |
195 |
|
|
%{_includedir}/evince* |
196 |
wally |
114165 |
%{_datadir}/gir-1.0/EvinceDocument-%{gir_major}.gir |
197 |
|
|
%{_datadir}/gir-1.0/EvinceView-%{gir_major}.gir |