/[packages]/cauldron/evince/current/SPECS/evince.spec
ViewVC logotype

Contents of /cauldron/evince/current/SPECS/evince.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 619792 - (show annotations) (download)
Sat May 3 11:52:38 2014 UTC (6 years, 5 months ago) by wally
File size: 6208 byte(s)
- add patch from upstream to build with adwaita-icon-theme
1 %define build_dvi 1
2
3 %define major 4
4 %define major_evdocument 4
5 %define major_evview 3
6 %define api 3.0
7 %define gir_major 3.0
8
9 %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
14 %define url_ver %(echo %{version}|cut -d. -f1,2)
15
16 Summary: GNOME Document viewer
17 Name: evince
18 Version: 3.12.1
19 Release: %mkrel 2
20 License: GPLv2+
21 Group: Graphical desktop/GNOME
22 URL: http://www.gnome.org
23 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
24 Patch0: evince-3.12.1-adwaita-icon-theme.patch
25 BuildRequires: pkgconfig(cairo) >= 1.10.0
26 BuildRequires: pkgconfig(cairo-pdf)
27 BuildRequires: pkgconfig(cairo-ps)
28 BuildRequires: pkgconfig(ddjvuapi) >= 3.5.17
29 BuildRequires: pkgconfig(gail-3.0) >= 3.8.0
30 BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
31 BuildRequires: pkgconfig(adwaita-icon-theme) >= 2.17.1
32 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 BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.0
37 BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= 3.0.2
38 BuildRequires: pkgconfig(gtk+-x11-3.0)
39 BuildRequires: pkgconfig(ice)
40 BuildRequires: pkgconfig(libgxps) >= 0.2.0
41 BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4
42 BuildRequires: pkgconfig(libspectre) >= 0.2.0
43 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
44 BuildRequires: pkgconfig(poppler-glib) >= 0.24.0
45 BuildRequires: pkgconfig(sm) >= 1.0.0
46 BuildRequires: pkgconfig(x11)
47 BuildRequires: pkgconfig(libsecret-1) >= 0.5
48 BuildRequires: tiff-devel
49 BuildRequires: ghostscript
50 BuildRequires: intltool
51 BuildRequires: itstool
52 BuildRequires: gnome-doc-utils
53 BuildRequires: gtk-doc
54 Requires: ghostscript
55 Requires: ghostscript-module-X
56 Requires: gsettings-desktop-schemas
57 Requires: shared-mime-info
58
59 %description
60 Evince is the GNOME Document viewer. It supports PDF, PostScript and
61 other formats.
62
63 To view .dvi files as produced by TeX in evince, install the %{name}-dvi
64 package.
65
66 %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 This package adds support for displaying .dvi files to evince. These files are
78 produced by TeX, often using a macro package like LaTeX.
79 %endif
80
81 %package -n %{libname_evdocument}
82 Group: System/Libraries
83 Summary: GNOME Document viewer library
84 Obsoletes: %{mklibname %{name} 3} < 3.3.92
85
86 %description -n %{libname_evdocument}
87 This is the GNOME Document viewer library, the shared parts of evince.
88
89 %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 %package -n %{devname}
97 Group: Development/C
98 Summary: GNOME Document viewer library
99 Requires: %{libname_evdocument} = %{version}-%{release}
100 Requires: %{libname_evview} = %{version}-%{release}
101 Provides: lib%{name}-devel = %{version}-%{release}
102 Provides: %{name}-devel = %{version}-%{release}
103
104 %description -n %{devname}
105 This is the GNOME Document viewer library, the shared parts of evince.
106
107 %package -n %{girname}
108 Summary: GObject Introspection interface description for %{name}
109 Group: System/Libraries
110 Requires: %{libname_evdocument} = %{version}-%{release}
111 Requires: %{libname_evview} = %{version}-%{release}
112
113 %description -n %{girname}
114 GObject Introspection interface description for %{name}.
115
116 %prep
117 %setup -q
118 %apply_patches
119
120 %build
121 autoreconf -vfi
122 %configure2_5x \
123 --enable-tiff \
124 --enable-djvu \
125 --enable-comics \
126 %if %build_dvi
127 --enable-dvi \
128 %endif
129 --disable-gtk-doc \
130 --enable-introspection \
131 --disable-static \
132 --disable-scrollkeeper \
133 --disable-schemas-compile
134 %make
135
136 %install
137 %makeinstall_std
138
139 %find_lang %{name} --with-gnome --with-help
140
141 find %{buildroot} -name "*.la" -delete
142
143 %files -f %name.lang
144 %doc NEWS AUTHORS TODO
145 %{_bindir}/*
146 %{_datadir}/evince
147 %{_datadir}/applications/*
148 %{_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 %{_libdir}/evince/%{major}/backends/libcomicsdocument.so
156 %{_libdir}/evince/%{major}/backends/comicsdocument.evince-backend
157 %{_libdir}/evince/%{major}/backends/libdjvudocument.so
158 %{_libdir}/evince/%{major}/backends/djvudocument.evince-backend
159 %{_libdir}/evince/%{major}/backends/libpdfdocument.so
160 %{_libdir}/evince/%{major}/backends/pdfdocument.evince-backend
161 %{_libdir}/evince/%{major}/backends/libpsdocument.so
162 %{_libdir}/evince/%{major}/backends/psdocument.evince-backend
163 %{_libdir}/evince/%{major}/backends/libtiffdocument.so
164 %{_libdir}/evince/%{major}/backends/tiffdocument.evince-backend
165 %{_libdir}/evince/%{major}/backends/libxpsdocument.so
166 %{_libdir}/evince/%{major}/backends/xpsdocument.evince-backend
167 %{_libexecdir}/evinced
168 %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
169 %{_datadir}/thumbnailers/evince.thumbnailer
170
171 %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 %files -n %{libname_evdocument}
178 %{_libdir}/libevdocument3.so.%{major_evdocument}*
179
180 %files -n %{libname_evview}
181 %{_libdir}/libevview3.so.%{major_evview}*
182
183 %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 %doc ChangeLog
189 %{_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 %{_datadir}/gir-1.0/EvinceDocument-%{gir_major}.gir
197 %{_datadir}/gir-1.0/EvinceView-%{gir_major}.gir

  ViewVC Help
Powered by ViewVC 1.1.28