1 | %define _unpackaged_files_terminate_build 1 |
---|
2 | |
---|
3 | Summary: Simply a document viewer for MATE |
---|
4 | Name: atril |
---|
5 | Version: 1.20.1 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Source0: http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz |
---|
8 | License: GPLv2 |
---|
9 | Group: Applications/Publishing |
---|
10 | URL: http://mate-desktop.org/ |
---|
11 | |
---|
12 | BuildRequires: mate-common |
---|
13 | BuildRequires: mate-icon-theme |
---|
14 | #BuildRequires: mate-desktop-devel |
---|
15 | BuildRequires: caja-devel |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: libxml2-devel |
---|
18 | BuildRequires: webkitgtk4-devel |
---|
19 | BuildRequires: libSM-devel |
---|
20 | BuildRequires: poppler-devel |
---|
21 | BuildRequires: libtiff-devel |
---|
22 | BuildRequires: djvulibre-devel |
---|
23 | BuildRequires: libspectre-devel |
---|
24 | BuildRequires: libkpathsea-devel |
---|
25 | BuildRequires: libgxps-devel |
---|
26 | BuildRequires: libsecret-devel |
---|
27 | BuildRequires: itstool |
---|
28 | BuildRequires: gtk-doc |
---|
29 | BuildRequires: autoconf |
---|
30 | BuildRequires: automake |
---|
31 | |
---|
32 | Requires(posttrans,postun): glib2 |
---|
33 | Requires(post,postun): gtk2 |
---|
34 | Requires(post,postun): desktop-file-utils |
---|
35 | |
---|
36 | Obsoletes: mate-document-viewer < 1.8.0 |
---|
37 | Provides: mate-document-viewer = %{name}-%{version} |
---|
38 | |
---|
39 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
40 | |
---|
41 | Vendor: Project Vine |
---|
42 | Distribution: Vine Linux |
---|
43 | Packager: Takemikaduchi, iwaim |
---|
44 | |
---|
45 | |
---|
46 | %description |
---|
47 | he MATE Display Manager is a system service that is responsible for |
---|
48 | providing graphical log-ins and managing local and remote displays. |
---|
49 | |
---|
50 | |
---|
51 | %package devel |
---|
52 | Summary: Development tools for %{name} |
---|
53 | Summary(ja): %{name} の開発環境 |
---|
54 | Group: Development/Libraries |
---|
55 | Requires: %{name} = %{version}-%{release} |
---|
56 | Requires: pkgconfig |
---|
57 | Obsoletes: mate-document-viewer-devel < 1.8.0 |
---|
58 | Provides: mate-document-viewer-devel = %{name}-%{version} |
---|
59 | |
---|
60 | %description devel |
---|
61 | Header files and libraries for building a extension library for the |
---|
62 | %{name}. |
---|
63 | |
---|
64 | |
---|
65 | %package docs |
---|
66 | Summary: Documentation for %{name} |
---|
67 | Summary(ja): %{name} 用のドキュメント |
---|
68 | Group: Documentation |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | BuildArch: noarch |
---|
71 | Obsoletes: mate-document-viewer-docs < 1.8.0 |
---|
72 | Provides: mate-document-viewer-docs = %{name}-%{version} |
---|
73 | |
---|
74 | %description docs |
---|
75 | This package contains documentation for %{name}. |
---|
76 | |
---|
77 | |
---|
78 | %package caja |
---|
79 | Summary: Caja extension for %{name} |
---|
80 | Summary(ja): %{name} の Caja 拡張 |
---|
81 | Group: User Interface/Desktops |
---|
82 | Requires: %{name} = %{version}-%{release} |
---|
83 | |
---|
84 | %description caja |
---|
85 | This package contains the atril caja extension. |
---|
86 | |
---|
87 | |
---|
88 | %prep |
---|
89 | %setup -q |
---|
90 | # fix typo in ja.po |
---|
91 | sed -i "s|Artil|Atril|" po/ja.po |
---|
92 | |
---|
93 | |
---|
94 | %build |
---|
95 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
96 | %configure \ |
---|
97 | --libexecdir=%{_libexecdir}/mate \ |
---|
98 | --disable-static \ |
---|
99 | --with-gtk=3.0 \ |
---|
100 | --enable-pixbuf |
---|
101 | |
---|
102 | %{__make} %{?_smp_mflags} |
---|
103 | |
---|
104 | |
---|
105 | %install |
---|
106 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
107 | |
---|
108 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
109 | |
---|
110 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
111 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
112 | |
---|
113 | %find_lang %{name} |
---|
114 | |
---|
115 | |
---|
116 | %clean |
---|
117 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
118 | |
---|
119 | %post |
---|
120 | /sbin/ldconfig |
---|
121 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
122 | touch --no-create %{_datadir}/icons/hicolor |
---|
123 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
124 | |
---|
125 | %postun |
---|
126 | /sbin/ldconfig |
---|
127 | if [ $1 -eq 0 ]; then |
---|
128 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
129 | touch --no-create %{_datadir}/icons/hicolor |
---|
130 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
131 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
132 | fi |
---|
133 | |
---|
134 | %posttrans |
---|
135 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
136 | |
---|
137 | |
---|
138 | %files -f %{name}.lang |
---|
139 | %defattr(-,root,root,-) |
---|
140 | %doc COPYING ChangeLog NEWS README |
---|
141 | %{_bindir}/%{name} |
---|
142 | %{_bindir}/atril-previewer |
---|
143 | %{_bindir}/atril-thumbnailer |
---|
144 | %{_libdir}/libatrildocument.so.* |
---|
145 | %{_libdir}/libatrilview.so.* |
---|
146 | %{_libdir}/%{name} |
---|
147 | %{_libexecdir}/mate/atrild |
---|
148 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
149 | %{_datadir}/applications/%{name}.desktop |
---|
150 | %{_datadir}/caja/extensions/libatril-properties-page.caja-extension |
---|
151 | %{_datadir}/dbus-1/services/org.mate.atril.Daemon.service |
---|
152 | %{_datadir}/glib-2.0/schemas/org.mate.Atril.gschema.xml |
---|
153 | %{_datadir}/icons/hicolor/*/*/* |
---|
154 | %{_datadir}/help/* |
---|
155 | %{_datadir}/%{name} |
---|
156 | %{_datadir}/thumbnailers/%{name}.thumbnailer |
---|
157 | %{_mandir}/man1/%{name}.1.gz |
---|
158 | %{_mandir}/man1/atril-previewer.1.gz |
---|
159 | %{_mandir}/man1/atril-thumbnailer.1.gz |
---|
160 | |
---|
161 | %files devel |
---|
162 | %defattr(-,root,root,-) |
---|
163 | %{_includedir}/%{name} |
---|
164 | %{_libdir}/libatrildocument.so |
---|
165 | %{_libdir}/libatrilview.so |
---|
166 | %{_libdir}/pkgconfig/atril-document-1.5.0.pc |
---|
167 | %{_libdir}/pkgconfig/atril-view-1.5.0.pc |
---|
168 | |
---|
169 | %files docs |
---|
170 | %defattr(-,root,root,-) |
---|
171 | %{_datadir}/gtk-doc/html/%{name} |
---|
172 | %{_datadir}/gtk-doc/html/libatrildocument-1.5.0 |
---|
173 | %{_datadir}/gtk-doc/html/libatrilview-1.5.0 |
---|
174 | |
---|
175 | %files caja |
---|
176 | %defattr(-,root,root,-) |
---|
177 | %{_libdir}/caja/extensions-2.0/libatril-properties-page.so |
---|
178 | |
---|
179 | |
---|
180 | %changelog |
---|
181 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1 |
---|
182 | - update to 1.20.1 |
---|
183 | |
---|
184 | * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.3-1 |
---|
185 | - new upstream release. |
---|
186 | - switched to gtk3. |
---|
187 | |
---|
188 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
189 | - new upstream release |
---|
190 | - update Packager |
---|
191 | |
---|
192 | * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14.1-2 |
---|
193 | - rebuilt with new toolchain. |
---|
194 | |
---|
195 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
196 | - new upstream release |
---|
197 | |
---|
198 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
199 | - new upstream release |
---|
200 | |
---|
201 | * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
208 | - new upstream release |
---|
209 | |
---|
210 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-2 |
---|
214 | - fix typo in ja.po |
---|
215 | |
---|
216 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
217 | - new upstream release |
---|
218 | - create %%{name}-caja subpackage |
---|
219 | |
---|
220 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
221 | - new upstream release |
---|
222 | - add BuildRequires: mate-desktop-devel, WebKit-gtk-devel |
---|
223 | |
---|
224 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
225 | - new upstream release |
---|
226 | |
---|
227 | * Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-4 |
---|
228 | - rebuild with poppler-0.26.2 |
---|
229 | |
---|
230 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3 |
---|
231 | - rebuild with libarchive-3.1.2 |
---|
232 | |
---|
233 | * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
234 | - rebuild with poppler-0.24.5 |
---|
235 | |
---|
236 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
237 | - new upstream release |
---|
238 | - rename package |
---|
239 | - add BuildRequires: libsecret-devel, itstool |
---|
240 | |
---|
241 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
242 | - rebuild with VineSeed environment |
---|
243 | |
---|
244 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
245 | - new upstream release |
---|
246 | |
---|
247 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
248 | - new upstream release |
---|
249 | - remove BuildRequires: mate-conf-devel |
---|
250 | - add BuildRequires: libgxps-devel |
---|
251 | |
---|
252 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
253 | - new upstream release |
---|
254 | |
---|
255 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
256 | - new upstream release |
---|
257 | |
---|
258 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
259 | - change category |
---|
260 | |
---|
261 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
262 | - initial build for Vine Linux |
---|
263 | |
---|