mate-file-manager-vl.spec 4.5 KB

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