[10994] | 1 | %define major_ver 1.18 |
---|
[11399] | 2 | %define ver %{major_ver}.3 |
---|
[10994] | 3 | %define rel 1 |
---|
| 4 | |
---|
[8359] | 5 | Summary: The MATE shell and file manager |
---|
| 6 | Name: caja |
---|
[10994] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
[8359] | 9 | |
---|
[10994] | 10 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[8359] | 11 | |
---|
| 12 | # for Vine |
---|
[9797] | 13 | Patch2000: caja-vine-settings.patch |
---|
[8359] | 14 | |
---|
| 15 | License: GPLv2 |
---|
| 16 | Group: User Interface/Desktops |
---|
| 17 | URL: http://mate-desktop.org/ |
---|
| 18 | |
---|
| 19 | BuildRequires: mate-common |
---|
[10994] | 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 |
---|
[8359] | 24 | BuildRequires: libSM-devel |
---|
[10994] | 25 | BuildRequires: glib2-devel >= 2.36.0 |
---|
| 26 | BuildRequires: libnotify-devel |
---|
[8359] | 27 | BuildRequires: gtk-doc |
---|
| 28 | BuildRequires: autoconf |
---|
| 29 | BuildRequires: automake |
---|
| 30 | |
---|
| 31 | Requires(posttrans,postun): glib2 |
---|
[9552] | 32 | Requires(posttrans,postun): shared-mime-info |
---|
[8359] | 33 | Requires(post,postun): gtk2 |
---|
| 34 | Requires(post,postun): desktop-file-utils |
---|
[9552] | 35 | Requires: gvfs |
---|
| 36 | Requires: gvfs-fuse |
---|
| 37 | Requires: gvfs-smb |
---|
| 38 | Requires: gvfs-archive |
---|
| 39 | Requires: gvfs-gphoto2 |
---|
| 40 | Requires: gvfs-mtp |
---|
[8359] | 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 |
---|
[10880] | 49 | Packager: Takemikaduchi, iwaim |
---|
[8359] | 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 \ |
---|
[9552] | 96 | --disable-update-mimedb \ |
---|
| 97 | --disable-packagekit |
---|
[8359] | 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 ||: |
---|
[9559] | 131 | update-mime-database %{_datadir}/mime >& /dev/null ||: |
---|
[8359] | 132 | fi |
---|
| 133 | |
---|
| 134 | %posttrans |
---|
| 135 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[9559] | 136 | update-mime-database %{_datadir}/mime >& /dev/null ||: |
---|
[8359] | 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 |
---|
[9552] | 148 | %{_datadir}/appdata/caja.appdata.xml |
---|
[8359] | 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 |
---|
[11399] | 172 | * Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1 |
---|
| 173 | - update to 1.18.3 |
---|
| 174 | |
---|
[11049] | 175 | * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 176 | - update to 1.18.2 |
---|
| 177 | |
---|
[11041] | 178 | * Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 179 | - update to 1.18.1 |
---|
| 180 | |
---|
[10994] | 181 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 182 | - update to 1.18.0 |
---|
| 183 | - update BuildRequires |
---|
| 184 | - drop gtk2-devel |
---|
| 185 | - add gtk3-devel |
---|
| 186 | - drop unique-devel, libexif-devel abd exempi-devel |
---|
| 187 | - add libnotify-devel |
---|
| 188 | - remove caja-convert-metadata; upstream removed |
---|
| 189 | |
---|
[10975] | 190 | * Tue Mar 28 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.4-1 |
---|
| 191 | - update to 1.16.4 |
---|
| 192 | - build with mate-desktop 1.16.2; required |
---|
| 193 | |
---|
[10962] | 194 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1 |
---|
| 195 | - update to 1.16.2 |
---|
| 196 | |
---|
[10880] | 197 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
| 198 | - new upstream release |
---|
| 199 | - drop BuildRequires: pangox-compat-devel |
---|
| 200 | - add BuildRequires: pango-devel |
---|
| 201 | - update Packager |
---|
| 202 | |
---|
[10327] | 203 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
[10255] | 206 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[10195] | 209 | * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.7-1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
[10104] | 212 | * Tue Mar 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.6-1 |
---|
| 213 | - new upstream release |
---|
| 214 | |
---|
[10039] | 215 | * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.4-1 |
---|
| 216 | - new upstream release |
---|
| 217 | |
---|
[10029] | 218 | * Sun Feb 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.3-1 |
---|
| 219 | - new upstream release |
---|
| 220 | |
---|
[9892] | 221 | * Sun Dec 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 222 | - new upstream release |
---|
| 223 | |
---|
[9842] | 224 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 225 | - new upstream release |
---|
| 226 | - update Patch2000 (caja-vine-settings.patch) |
---|
| 227 | |
---|
[9797] | 228 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 229 | - new upstream release |
---|
| 230 | - update Patch2000 (caja-vine-settings.patch) |
---|
| 231 | |
---|
[9760] | 232 | * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
[9705] | 235 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
[9667] | 238 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 239 | - new upstream release |
---|
| 240 | |
---|
[9601] | 241 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 242 | - new upstream release |
---|
| 243 | |
---|
[9559] | 244 | * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
| 245 | - fix typo |
---|
| 246 | |
---|
[9552] | 247 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 248 | - new upstream release |
---|
| 249 | - remove Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
| 250 | - add Requires: gvfs, gvfs-{fuse,smb,archive,gphoto2,mtp) |
---|
| 251 | |
---|
[9120] | 252 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 253 | - new upstream release |
---|
| 254 | |
---|
[8432] | 255 | * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 256 | - new upstream release |
---|
| 257 | - remove Patch1 (caja-1.8.0-x-caja-desktop.patch) |
---|
| 258 | |
---|
[8359] | 259 | * Fri Apr 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 260 | - new upstream release |
---|
| 261 | - add Patch1 (caja-1.8.0-x-caja-desktop.patch) |
---|
| 262 | - rename package |
---|
| 263 | |
---|
| 264 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1 |
---|
| 265 | - new upstream release |
---|
| 266 | |
---|
| 267 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
| 268 | - add Patch2000 (mate-file-manager-vine-settings.patch) |
---|
| 269 | |
---|
| 270 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
| 271 | - new upstream release |
---|
| 272 | |
---|
| 273 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 274 | - new upstream release |
---|
| 275 | - remove BuildRequires: mate-conf-devel |
---|
| 276 | - add BuildRequires: pangox-compat-devel |
---|
| 277 | |
---|
| 278 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 279 | - new upstream release |
---|
| 280 | |
---|
| 281 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
| 282 | - new upstream release |
---|
| 283 | - add Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
| 284 | |
---|
| 285 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 286 | - change category |
---|
| 287 | |
---|
| 288 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 289 | - initial build for Vine Linux |
---|
| 290 | |
---|