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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 226568 - (hide 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 cjw 119125 %define build_dvi 1
2 pterjan 35314
3 ovitters 225747 %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 ovitters 225667
9 ovitters 225747 %define devname %mklibname -d %{name}
10 wally 114165
11 ovitters 225747 %define libname_evdocument %mklibname evdocument 3 %{major_evdocument}
12     %define libname_evview %mklibname evview 3 %{major_evview}
13 ovitters 225667
14 ovitters 225747 %define girname %mklibname %{name}-gir %{gir_major}
15 ovitters 225667
16 ovitters 225747
17    
18 wally 155852 %define url_ver %(echo %{version}|cut -d. -f1,2)
19    
20 wally 114165 Summary: GNOME Document viewer
21     Name: evince
22 ovitters 226568 Version: 3.4.0
23     Release: %mkrel 1
24 wally 114165 License: GPLv2+ and GFDL+
25     Group: Graphical desktop/GNOME
26     URL: http://www.gnome.org
27 wally 155852 Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
28 ovitters 149358 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 fwang 171105 BuildRequires: pkgconfig(gio-2.0) >= 2.31.0
34 ovitters 149358 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 fwang 171133 BuildRequires: pkgconfig(libgxps) >= 0.2.0
44 ovitters 149358 BuildRequires: pkgconfig(libnautilus-extension) >= 2.91.4
45     BuildRequires: pkgconfig(libspectre) >= 0.2.0
46     BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
47 fwang 171105 BuildRequires: pkgconfig(poppler-glib) >= 0.18.0
48 ovitters 149358 BuildRequires: pkgconfig(sm) >= 1.0.0
49     BuildRequires: pkgconfig(x11)
50     BuildRequires: tiff-devel
51 wally 114165 BuildRequires: ghostscript
52     BuildRequires: intltool
53 pterjan 35314 #gw if we run autoconf
54 wally 114165 BuildRequires: gnome-doc-utils
55     BuildRequires: gnome-icon-theme
56     BuildRequires: gtk-doc
57 wally 184547 Requires: ghostscript
58     Requires: ghostscript-module-X
59 pterjan 35314
60     %description
61 cjw 119125 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 pterjan 35314
64 cjw 119125 %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 ovitters 225747 %package -n %{libname_evdocument}
80 wally 114165 Group: System/Libraries
81     Summary: GNOME Document viewer library
82 ovitters 225752 Obsoletes: %{mklibname %{name} 3} < 3.3.92
83 pterjan 35314
84 ovitters 225747 %description -n %{libname_evdocument}
85 pterjan 35314 This is the GNOME Document viewer library, the shared parts of evince.
86    
87 ovitters 225667 %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 wally 114165 %package -n %{devname}
95     Group: Development/C
96     Summary: GNOME Document viewer library
97 ovitters 225747 Requires: %{libname_evdocument} = %{version}-%{release}
98 ovitters 225667 Requires: %{libname_evview} = %{version}-%{release}
99 wally 114165 Provides: lib%{name}-devel = %{version}-%{release}
100     Provides: %{name}-devel = %{version}-%{release}
101 pterjan 35314
102 wally 114165 %description -n %{devname}
103 pterjan 35314 This is the GNOME Document viewer library, the shared parts of evince.
104    
105 wally 114165 %package -n %{girname}
106     Summary: GObject Introspection interface description for %{name}
107     Group: System/Libraries
108 ovitters 225747 Requires: %{libname_evdocument} = %{version}-%{release}
109 ovitters 225667 Requires: %{libname_evview} = %{version}-%{release}
110 wally 114165
111     %description -n %{girname}
112     GObject Introspection interface description for %{name}.
113    
114 pterjan 35314 %prep
115     %setup -q
116 wally 184547 %apply_patches
117 pterjan 35314
118     %build
119 wally 114165 %configure2_5x \
120     --enable-tiff \
121     --enable-djvu \
122     --enable-comics \
123 pterjan 35314 %if %build_dvi
124 ovitters 149358 --enable-dvi \
125 pterjan 35314 %endif
126 ovitters 149358 --enable-gtk-doc \
127 wally 114165 --enable-introspection \
128 fwang 136165 --disable-static \
129 wally 184547 --disable-scrollkeeper \
130     --disable-schemas-compile
131 pterjan 35314
132 fwang 136165 %make
133 pterjan 35314
134     %install
135 wally 114165 rm -rf %{buildroot}
136 fwang 136165 %makeinstall_std
137 pterjan 35314
138 wally 114165 %find_lang %{name} --with-gnome
139 pterjan 35314
140 wally 184547 find %{buildroot} -name *.la -delete
141 wally 114165
142 fwang 136165 %files -f %name.lang
143 pterjan 35314 %doc NEWS AUTHORS TODO
144     %{_bindir}/*
145     %{_datadir}/evince
146     %{_datadir}/applications/*
147 cjw 113251 %{_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 cjw 119125 %{_libdir}/evince/%{major}/backends/libcomicsdocument.so
155 cjw 113251 %{_libdir}/evince/%{major}/backends/comicsdocument.evince-backend
156 cjw 119125 %{_libdir}/evince/%{major}/backends/libdjvudocument.so
157 cjw 113251 %{_libdir}/evince/%{major}/backends/djvudocument.evince-backend
158 cjw 119125 %{_libdir}/evince/%{major}/backends/libpdfdocument.so
159 cjw 113251 %{_libdir}/evince/%{major}/backends/pdfdocument.evince-backend
160 cjw 119125 %{_libdir}/evince/%{major}/backends/libpsdocument.so
161 cjw 113251 %{_libdir}/evince/%{major}/backends/psdocument.evince-backend
162 cjw 119125 %{_libdir}/evince/%{major}/backends/libtiffdocument.so
163 cjw 113251 %{_libdir}/evince/%{major}/backends/tiffdocument.evince-backend
164 fwang 171136 %{_libdir}/evince/%{major}/backends/libxpsdocument.so
165     %{_libdir}/evince/%{major}/backends/xpsdocument.evince-backend
166 cjw 113251 %{_libexecdir}/evinced
167     %{_datadir}/dbus-1/services/org.gnome.evince.Daemon.service
168     %{_datadir}/thumbnailers/evince.thumbnailer
169 pterjan 35314
170 cjw 119125 %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 ovitters 225747 %files -n %{libname_evdocument}
177     %{_libdir}/libevdocument3.so.%{major_evdocument}*
178 pterjan 35314
179 ovitters 225667 %files -n %{libname_evview}
180     %{_libdir}/libevview3.so.%{major_evview}*
181    
182 wally 114165 %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 pterjan 35314 %doc ChangeLog
188 cjw 113251 %{_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 wally 114165 %{_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