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

  ViewVC Help
Powered by ViewVC 1.1.26