caja-vl.spec 5.0 KB

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