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