caja-vl.spec 8.2 KB

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