caja-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Summary: The MATE shell and file manager
  2. Name: caja
  3. Version: 1.8.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
  6. Patch0: mate-file-manager-1.2.2-makefile.patch
  7. # from upstream
  8. Patch1: caja-1.8.0-x-caja-desktop.patch
  9. # for Vine
  10. Patch2000: mate-file-manager-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
  16. BuildRequires: gtk2-devel
  17. BuildRequires: pangox-compat-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: unique-devel
  21. BuildRequires: libexif-devel
  22. BuildRequires: exempi-devel
  23. BuildRequires: gtk-doc
  24. BuildRequires: autoconf
  25. BuildRequires: automake
  26. Requires(posttrans,postun): glib2
  27. Requires(post,postun): gtk2
  28. Requires(post,postun): desktop-file-utils
  29. Obsoletes: mate-file-manager < 1.8.0
  30. Provides: mate-file-manager = %{version}-%{release}
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. This is Caja, the file manager for the MATE desktop.
  37. %package devel
  38. Summary: Development tools for %{name}
  39. Summary(ja): %{name} の開発環境
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: pkgconfig
  43. Obsoletes: mate-file-manager-devel < 1.8.0
  44. Provides: mate-file-manager-devel = %{version}-%{release}
  45. %description devel
  46. Header files and libraries for building a extension library for the
  47. %{name}.
  48. %package docs
  49. Summary: Documentation for %{name}
  50. Summary(ja): %{name} 用のドキュメント
  51. Group: Documentation
  52. Requires: %{name} = %{version}-%{release}
  53. BuildArch: noarch
  54. Obsoletes: mate-file-manager-doc < 1.8.0
  55. Provides: mate-file-manager-doc = %{version}-%{release}
  56. %description docs
  57. This package contains documentation for %{name}.
  58. %prep
  59. %setup -q
  60. %patch0 -p1
  61. %patch1 -p1
  62. %patch2000 -p1 -b .vine
  63. %build
  64. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  65. %configure \
  66. --libexecdir=%{_libexecdir}/mate \
  67. --disable-static \
  68. --disable-scrollkeeper \
  69. --enable-unique \
  70. --disable-update-mimedb
  71. %{__make} %{?_smp_mflags}
  72. %install
  73. %{__rm} -rf ${RPM_BUILD_ROOT}
  74. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  75. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  76. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  77. %find_lang %{name}
  78. %clean
  79. %{__rm} -rf ${RPM_BUILD_ROOT}
  80. %post
  81. /sbin/ldconfig
  82. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  83. touch --no-create %{_datadir}/icons/hicolor
  84. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  85. %postun
  86. /sbin/ldconfig
  87. if [ $1 -eq 0 ]; then
  88. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  89. touch --no-create %{_datadir}/icons/hicolor
  90. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  91. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  92. fi
  93. %posttrans
  94. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  95. %files -f %{name}.lang
  96. %defattr(-,root,root,-)
  97. %doc COPYING ChangeLog NEWS README
  98. %{_bindir}/%{name}
  99. %{_bindir}/caja-autorun-software
  100. %{_bindir}/caja-connect-server
  101. %{_bindir}/caja-file-management-properties
  102. %{_libdir}/libcaja-extension.so.*
  103. %{_libdir}/girepository-1.0/Caja-2.0.typelib
  104. %{_libexecdir}/mate/caja-convert-metadata
  105. %{_datadir}/MateConf/gsettings/caja.convert
  106. %{_datadir}/applications/*.desktop
  107. %{_datadir}/%{name}
  108. %{_datadir}/dbus-1/services/org.mate.freedesktop.FileManager1.service
  109. %{_datadir}/glib-2.0/schemas/org.mate.caja.gschema.xml
  110. %{_datadir}/glib-2.0/schemas/org.mate.media-handling.gschema.xml
  111. %{_datadir}/icons/hicolor/*/*/*
  112. %{_datadir}/mime/packages/caja.xml
  113. %{_datadir}/pixmaps/%{name}
  114. %{_mandir}/man1/*.1.gz
  115. %files devel
  116. %defattr(-,root,root,-)
  117. %{_includedir}/%{name}
  118. %{_libdir}/libcaja-extension.so
  119. %{_libdir}/pkgconfig/libcaja-extension.pc
  120. %{_datadir}/gir-1.0/Caja-2.0.gir
  121. %files docs
  122. %defattr(-,root,root,-)
  123. %{_datadir}/gtk-doc/html/libcaja-extension
  124. %changelog
  125. * Fri Apr 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  126. - new upstream release
  127. - add Patch1 (caja-1.8.0-x-caja-desktop.patch)
  128. - rename package
  129. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  130. - new upstream release
  131. * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  132. - add Patch2000 (mate-file-manager-vine-settings.patch)
  133. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  134. - new upstream release
  135. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  136. - new upstream release
  137. - remove BuildRequires: mate-conf-devel
  138. - add BuildRequires: pangox-compat-devel
  139. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  140. - new upstream release
  141. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  142. - new upstream release
  143. - add Patch0 (mate-file-manager-1.2.2-makefile.patch)
  144. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  145. - change category
  146. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  147. - initial build for Vine Linux