caja-vl.spec 6.8 KB

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