1 | %define major_ver 1.20 |
---|
2 | %define ver %{major_ver}.2 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: The MATE shell and file manager |
---|
6 | Name: caja |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | |
---|
10 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | # for Vine |
---|
13 | Patch2000: caja-vine-settings.patch |
---|
14 | |
---|
15 | License: GPLv2 |
---|
16 | Group: User Interface/Desktops |
---|
17 | URL: http://mate-desktop.org/ |
---|
18 | |
---|
19 | BuildRequires: mate-common |
---|
20 | BuildRequires: mate-desktop-devel >= 1.17.3 |
---|
21 | BuildRequires: gtk3-devel >= 3.14 |
---|
22 | BuildRequires: pango-devel >= 1.1.2 |
---|
23 | BuildRequires: libxml2-devel >= 2.4.7 |
---|
24 | BuildRequires: libSM-devel |
---|
25 | BuildRequires: glib2-devel >= 2.36.0 |
---|
26 | BuildRequires: libnotify-devel |
---|
27 | BuildRequires: gtk-doc |
---|
28 | BuildRequires: autoconf |
---|
29 | BuildRequires: automake |
---|
30 | |
---|
31 | Requires(posttrans,postun): glib2 |
---|
32 | Requires(posttrans,postun): shared-mime-info |
---|
33 | Requires(post,postun): gtk2 |
---|
34 | Requires(post,postun): desktop-file-utils |
---|
35 | Requires: gvfs |
---|
36 | Requires: gvfs-fuse |
---|
37 | Requires: gvfs-smb |
---|
38 | Requires: gvfs-archive |
---|
39 | Requires: gvfs-gphoto2 |
---|
40 | Requires: gvfs-mtp |
---|
41 | |
---|
42 | Obsoletes: mate-file-manager < 1.8.0 |
---|
43 | Provides: mate-file-manager = %{version}-%{release} |
---|
44 | |
---|
45 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
46 | |
---|
47 | Vendor: Project Vine |
---|
48 | Distribution: Vine Linux |
---|
49 | Packager: Takemikaduchi, iwaim |
---|
50 | |
---|
51 | |
---|
52 | %description |
---|
53 | This is Caja, the file manager for the MATE desktop. |
---|
54 | |
---|
55 | |
---|
56 | %package devel |
---|
57 | Summary: Development tools for %{name} |
---|
58 | Summary(ja): %{name} の開発環境 |
---|
59 | Group: Development/Libraries |
---|
60 | Requires: %{name} = %{version}-%{release} |
---|
61 | Requires: pkgconfig |
---|
62 | Obsoletes: mate-file-manager-devel < 1.8.0 |
---|
63 | Provides: mate-file-manager-devel = %{version}-%{release} |
---|
64 | |
---|
65 | %description devel |
---|
66 | Header files and libraries for building a extension library for the |
---|
67 | %{name}. |
---|
68 | |
---|
69 | |
---|
70 | %package docs |
---|
71 | Summary: Documentation for %{name} |
---|
72 | Summary(ja): %{name} 用のドキュメント |
---|
73 | Group: Documentation |
---|
74 | Requires: %{name} = %{version}-%{release} |
---|
75 | BuildArch: noarch |
---|
76 | Obsoletes: mate-file-manager-doc < 1.8.0 |
---|
77 | Provides: mate-file-manager-doc = %{version}-%{release} |
---|
78 | |
---|
79 | |
---|
80 | %description docs |
---|
81 | This package contains documentation for %{name}. |
---|
82 | |
---|
83 | |
---|
84 | %prep |
---|
85 | %setup -q |
---|
86 | %patch2000 -p1 -b .vine |
---|
87 | |
---|
88 | |
---|
89 | %build |
---|
90 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
91 | %configure \ |
---|
92 | --libexecdir=%{_libexecdir}/mate \ |
---|
93 | --disable-static \ |
---|
94 | --disable-scrollkeeper \ |
---|
95 | --enable-unique \ |
---|
96 | --disable-update-mimedb \ |
---|
97 | --disable-packagekit |
---|
98 | |
---|
99 | %{__make} %{?_smp_mflags} |
---|
100 | |
---|
101 | |
---|
102 | %install |
---|
103 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
104 | |
---|
105 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
106 | |
---|
107 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
108 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
109 | |
---|
110 | %find_lang %{name} |
---|
111 | |
---|
112 | |
---|
113 | %clean |
---|
114 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
115 | |
---|
116 | |
---|
117 | %post |
---|
118 | /sbin/ldconfig |
---|
119 | |
---|
120 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
121 | touch --no-create %{_datadir}/icons/hicolor |
---|
122 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
123 | |
---|
124 | %postun |
---|
125 | /sbin/ldconfig |
---|
126 | if [ $1 -eq 0 ]; then |
---|
127 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
128 | touch --no-create %{_datadir}/icons/hicolor |
---|
129 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
130 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
131 | update-mime-database %{_datadir}/mime >& /dev/null ||: |
---|
132 | fi |
---|
133 | |
---|
134 | %posttrans |
---|
135 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
136 | update-mime-database %{_datadir}/mime >& /dev/null ||: |
---|
137 | |
---|
138 | |
---|
139 | %files -f %{name}.lang |
---|
140 | %defattr(-,root,root,-) |
---|
141 | %doc COPYING ChangeLog NEWS README |
---|
142 | %{_bindir}/%{name} |
---|
143 | %{_bindir}/caja-autorun-software |
---|
144 | %{_bindir}/caja-connect-server |
---|
145 | %{_bindir}/caja-file-management-properties |
---|
146 | %{_libdir}/libcaja-extension.so.* |
---|
147 | %{_libdir}/girepository-1.0/Caja-2.0.typelib |
---|
148 | %{_datadir}/appdata/caja.appdata.xml |
---|
149 | %{_datadir}/applications/*.desktop |
---|
150 | %{_datadir}/%{name} |
---|
151 | %{_datadir}/dbus-1/services/org.mate.freedesktop.FileManager1.service |
---|
152 | %{_datadir}/glib-2.0/schemas/org.mate.caja.gschema.xml |
---|
153 | %{_datadir}/glib-2.0/schemas/org.mate.media-handling.gschema.xml |
---|
154 | %{_datadir}/icons/hicolor/*/*/* |
---|
155 | %{_datadir}/mime/packages/caja.xml |
---|
156 | %{_datadir}/pixmaps/%{name} |
---|
157 | %{_mandir}/man1/*.1.gz |
---|
158 | |
---|
159 | %files devel |
---|
160 | %defattr(-,root,root,-) |
---|
161 | %{_includedir}/%{name} |
---|
162 | %{_libdir}/libcaja-extension.so |
---|
163 | %{_libdir}/pkgconfig/libcaja-extension.pc |
---|
164 | %{_datadir}/gir-1.0/Caja-2.0.gir |
---|
165 | |
---|
166 | %files docs |
---|
167 | %defattr(-,root,root,-) |
---|
168 | %{_datadir}/gtk-doc/html/libcaja-extension |
---|
169 | |
---|
170 | |
---|
171 | %changelog |
---|
172 | * Fri May 4 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.2-1 |
---|
173 | - update to 1.20.2 |
---|
174 | |
---|
175 | * Wed Apr 4 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.18.5-2 |
---|
176 | - rebuilt with gtk3-3.22.10 |
---|
177 | (fix redraw issue) |
---|
178 | |
---|
179 | * Wed Apr 4 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.18.5-1.1 |
---|
180 | - rebuild (test package) |
---|
181 | |
---|
182 | * Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.5-1 |
---|
183 | - update to 1.18.5 |
---|
184 | |
---|
185 | * Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1 |
---|
186 | - update to 1.18.3 |
---|
187 | |
---|
188 | * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
189 | - update to 1.18.2 |
---|
190 | |
---|
191 | * Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
192 | - update to 1.18.1 |
---|
193 | |
---|
194 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
195 | - update to 1.18.0 |
---|
196 | - update BuildRequires |
---|
197 | - drop gtk2-devel |
---|
198 | - add gtk3-devel |
---|
199 | - drop unique-devel, libexif-devel abd exempi-devel |
---|
200 | - add libnotify-devel |
---|
201 | - remove caja-convert-metadata; upstream removed |
---|
202 | |
---|
203 | * Tue Mar 28 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.4-1 |
---|
204 | - update to 1.16.4 |
---|
205 | - build with mate-desktop 1.16.2; required |
---|
206 | |
---|
207 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1 |
---|
208 | - update to 1.16.2 |
---|
209 | |
---|
210 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
211 | - new upstream release |
---|
212 | - drop BuildRequires: pangox-compat-devel |
---|
213 | - add BuildRequires: pango-devel |
---|
214 | - update Packager |
---|
215 | |
---|
216 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
217 | - new upstream release |
---|
218 | |
---|
219 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
220 | - new upstream release |
---|
221 | |
---|
222 | * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.7-1 |
---|
223 | - new upstream release |
---|
224 | |
---|
225 | * Tue Mar 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.6-1 |
---|
226 | - new upstream release |
---|
227 | |
---|
228 | * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.4-1 |
---|
229 | - new upstream release |
---|
230 | |
---|
231 | * Sun Feb 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.3-1 |
---|
232 | - new upstream release |
---|
233 | |
---|
234 | * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
235 | - new upstream release |
---|
236 | |
---|
237 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
238 | - new upstream release |
---|
239 | - update Patch2000 (caja-vine-settings.patch) |
---|
240 | |
---|
241 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
242 | - new upstream release |
---|
243 | - update Patch2000 (caja-vine-settings.patch) |
---|
244 | |
---|
245 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
246 | - new upstream release |
---|
247 | |
---|
248 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1 |
---|
249 | - new upstream release |
---|
250 | |
---|
251 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
252 | - new upstream release |
---|
253 | |
---|
254 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
255 | - new upstream release |
---|
256 | |
---|
257 | * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
258 | - fix typo |
---|
259 | |
---|
260 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
261 | - new upstream release |
---|
262 | - remove Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
263 | - add Requires: gvfs, gvfs-{fuse,smb,archive,gphoto2,mtp) |
---|
264 | |
---|
265 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
266 | - new upstream release |
---|
267 | |
---|
268 | * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
269 | - new upstream release |
---|
270 | - remove Patch1 (caja-1.8.0-x-caja-desktop.patch) |
---|
271 | |
---|
272 | * Fri Apr 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
273 | - new upstream release |
---|
274 | - add Patch1 (caja-1.8.0-x-caja-desktop.patch) |
---|
275 | - rename package |
---|
276 | |
---|
277 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1 |
---|
278 | - new upstream release |
---|
279 | |
---|
280 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
281 | - add Patch2000 (mate-file-manager-vine-settings.patch) |
---|
282 | |
---|
283 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
284 | - new upstream release |
---|
285 | |
---|
286 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
287 | - new upstream release |
---|
288 | - remove BuildRequires: mate-conf-devel |
---|
289 | - add BuildRequires: pangox-compat-devel |
---|
290 | |
---|
291 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
292 | - new upstream release |
---|
293 | |
---|
294 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
295 | - new upstream release |
---|
296 | - add Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
297 | |
---|
298 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
299 | - change category |
---|
300 | |
---|
301 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
302 | - initial build for Vine Linux |
---|
303 | |
---|