/[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 279805 - (show annotations) (download)
Tue Aug 7 18:46:18 2012 UTC (8 years ago) by ovitters
File size: 6039 byte(s)
new version 3.5.5
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.5.5
19 Release: %mkrel 1
20 License: GPLv2+ and GFDL+
21 Group: Graphical desktop/GNOME
22 URL: http://www.gnome.org
23 Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
24 BuildRequires: pkgconfig(cairo) >= 1.10.0
25 BuildRequires: pkgconfig(cairo-pdf)
26 BuildRequires: pkgconfig(cairo-ps)
27 BuildRequires: pkgconfig(ddjvuapi) >= 3.5.17
28 BuildRequires: pkgconfig(gail-3.0) >= 3.0.2
29 BuildRequires: pkgconfig(gio-2.0) >= 2.31.0
30 BuildRequires: pkgconfig(gnome-icon-theme) >= 2.17.1
31 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 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.2
36 BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= 3.0.2
37 BuildRequires: pkgconfig(gtk+-x11-3.0)
38 BuildRequires: pkgconfig(ice)
39 BuildRequires: pkgconfig(libgxps) >= 0.2.0
40 BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4
41 BuildRequires: pkgconfig(libspectre) >= 0.2.0
42 BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
43 BuildRequires: pkgconfig(poppler-glib) >= 0.18.0
44 BuildRequires: pkgconfig(sm) >= 1.0.0
45 BuildRequires: pkgconfig(x11)
46 BuildRequires: tiff-devel
47 BuildRequires: ghostscript
48 BuildRequires: intltool
49 BuildRequires: gnome-doc-utils
50 BuildRequires: gnome-icon-theme
51 BuildRequires: gtk-doc
52 Requires: ghostscript
53 Requires: ghostscript-module-X
54
55 %description
56 Evince is the GNOME Document viewer. It supports PDF, PostScript and other formats.
57 To view .dvi files as produced by TeX in evince, install the %{name}-dvi package.
58
59 %if %build_dvi
60 %package dvi
61 Summary: TeX DVI document support for evince
62 Group: Graphical desktop/GNOME
63 BuildRequires: kpathsea-devel
64 #gw just like xdvi, needed for rendering the fonts
65 Requires: texlive
66 Requires: texlive-texmf
67 Requires: %{name} = %{version}-%{release}
68
69 %description dvi
70 This package adds support for displaying .dvi files to evince. These files are
71 produced by TeX, often using a macro package like LaTeX.
72 %endif
73
74 %package -n %{libname_evdocument}
75 Group: System/Libraries
76 Summary: GNOME Document viewer library
77 Obsoletes: %{mklibname %{name} 3} < 3.3.92
78
79 %description -n %{libname_evdocument}
80 This is the GNOME Document viewer library, the shared parts of evince.
81
82 %package -n %{libname_evview}
83 Group: System/Libraries
84 Summary: GNOME Document viewer library
85
86 %description -n %{libname_evview}
87 This is the GNOME Document viewer library, the shared parts of evince.
88
89 %package -n %{devname}
90 Group: Development/C
91 Summary: GNOME Document viewer library
92 Requires: %{libname_evdocument} = %{version}-%{release}
93 Requires: %{libname_evview} = %{version}-%{release}
94 Provides: lib%{name}-devel = %{version}-%{release}
95 Provides: %{name}-devel = %{version}-%{release}
96
97 %description -n %{devname}
98 This is the GNOME Document viewer library, the shared parts of evince.
99
100 %package -n %{girname}
101 Summary: GObject Introspection interface description for %{name}
102 Group: System/Libraries
103 Requires: %{libname_evdocument} = %{version}-%{release}
104 Requires: %{libname_evview} = %{version}-%{release}
105
106 %description -n %{girname}
107 GObject Introspection interface description for %{name}.
108
109 %prep
110 %setup -q
111 %apply_patches
112
113 %build
114 %configure2_5x \
115 --enable-tiff \
116 --enable-djvu \
117 --enable-comics \
118 %if %build_dvi
119 --enable-dvi \
120 %endif
121 --enable-gtk-doc \
122 --enable-introspection \
123 --disable-static \
124 --disable-scrollkeeper \
125 --disable-schemas-compile
126
127 %make
128
129 %install
130 %makeinstall_std
131
132 %find_lang %{name} --with-gnome
133
134 find %{buildroot} -name "*.la" -delete
135
136 %files -f %name.lang
137 %doc NEWS AUTHORS TODO
138 %{_bindir}/*
139 %{_datadir}/evince
140 %{_datadir}/applications/*
141 %{_datadir}/icons/hicolor/*/apps/evince*
142 %{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
143 %{_datadir}/GConf/gsettings/evince.convert
144 %{_mandir}/man1/evince.1*
145 %{_libdir}/nautilus/extensions-3.0/libevince*so*
146 %dir %{_libdir}/evince/%{major}/
147 %dir %{_libdir}/evince/%{major}/backends
148 %{_libdir}/evince/%{major}/backends/libcomicsdocument.so
149 %{_libdir}/evince/%{major}/backends/comicsdocument.evince-backend
150 %{_libdir}/evince/%{major}/backends/libdjvudocument.so
151 %{_libdir}/evince/%{major}/backends/djvudocument.evince-backend
152 %{_libdir}/evince/%{major}/backends/libpdfdocument.so
153 %{_libdir}/evince/%{major}/backends/pdfdocument.evince-backend
154 %{_libdir}/evince/%{major}/backends/libpsdocument.so
155 %{_libdir}/evince/%{major}/backends/psdocument.evince-backend
156 %{_libdir}/evince/%{major}/backends/libtiffdocument.so
157 %{_libdir}/evince/%{major}/backends/tiffdocument.evince-backend
158 %{_libdir}/evince/%{major}/backends/libxpsdocument.so
159 %{_libdir}/evince/%{major}/backends/xpsdocument.evince-backend
160 %{_libexecdir}/evinced
161 %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
162 %{_datadir}/thumbnailers/evince.thumbnailer
163
164 %if %build_dvi
165 %files dvi
166 %{_libdir}/evince/%{major}/backends/libdvidocument.so
167 %{_libdir}/evince/%{major}/backends/dvidocument.evince-backend
168 %endif
169
170 %files -n %{libname_evdocument}
171 %{_libdir}/libevdocument3.so.%{major_evdocument}*
172
173 %files -n %{libname_evview}
174 %{_libdir}/libevview3.so.%{major_evview}*
175
176 %files -n %{girname}
177 %{_libdir}/girepository-1.0/EvinceDocument-%{gir_major}.typelib
178 %{_libdir}/girepository-1.0/EvinceView-%{gir_major}.typelib
179
180 %files -n %{devname}
181 %doc ChangeLog
182 %{_datadir}/gtk-doc/html/evince
183 %{_datadir}/gtk-doc/html/libevdocument-%{api}
184 %{_datadir}/gtk-doc/html/libevview-%{api}
185 %{_libdir}/libevdocument3.so
186 %{_libdir}/libevview3.so
187 %{_libdir}/pkgconfig/evince*pc
188 %{_includedir}/evince*
189 %{_datadir}/gir-1.0/EvinceDocument-%{gir_major}.gir
190 %{_datadir}/gir-1.0/EvinceView-%{gir_major}.gir

  ViewVC Help
Powered by ViewVC 1.1.28