mate-vfs-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. Summary: The MATE virtual file-system libraries
  2. Name: mate-vfs
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-mime-data
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: libmatecomponent-devel
  13. BuildRequires: glib2-devel
  14. BuildRequires: libxml2-devel
  15. BuildRequires: bzip2-devel
  16. BuildRequires: dbus-glib-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(post,pre,preun): mate-conf
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. MATE VFS is currently used as one of the foundations of the Caja
  27. file manager.
  28. %package devel
  29. Summary: Development tools for mate-vfs
  30. Summary(ja): mate-vfs の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. mate-vfs.
  37. %package doc
  38. Summary: Documentation for mate-vfs
  39. Summary(ja): mate-vfs 用のドキュメント
  40. Group: Documentation
  41. Requires: %{name} = %{version}-%{release}
  42. BuildArch: noarch
  43. %description doc
  44. This package contains documentation for mate-vfs.
  45. %prep
  46. %setup -q
  47. %build
  48. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  49. %configure \
  50. --libexecdir=%{_libexecdir}/mate \
  51. --disable-static \
  52. --disable-hal \
  53. --disable-avahi \
  54. --disable-howl \
  55. --disable-openssl \
  56. --disable-selinux
  57. %{__make} %{?_smp_mflags}
  58. %install
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  61. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  62. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  63. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  64. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  65. %find_lang %{name}
  66. %clean
  67. %{__rm} -rf ${RPM_BUILD_ROOT}
  68. %post
  69. /sbin/ldconfig
  70. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  71. SCHEMAS=" \
  72. desktop_default_applications.schemas \
  73. desktop_mate_url_handlers.schemas \
  74. system_dns_sd.schemas \
  75. system_http_proxy.schemas \
  76. system_http_proxy.schemas"
  77. for S in $SCHEMAS; do
  78. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  79. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  80. %pre
  81. if [ "$1" -gt 1 ]; then
  82. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  83. SCHEMAS=" \
  84. desktop_default_applications.schemas \
  85. desktop_mate_url_handlers.schemas \
  86. system_dns_sd.schemas \
  87. system_http_proxy.schemas \
  88. system_http_proxy.schemas"
  89. for S in $SCHEMAS; do
  90. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  91. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  92. fi
  93. %preun
  94. if [ "$1" -eq 0 ]; then
  95. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  96. SCHEMAS=" \
  97. desktop_default_applications.schemas \
  98. desktop_mate_url_handlers.schemas \
  99. system_dns_sd.schemas \
  100. system_http_proxy.schemas \
  101. system_http_proxy.schemas"
  102. for S in $SCHEMAS; do
  103. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  104. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  105. fi
  106. %postun -p /sbin/ldconfig
  107. %files -f %{name}.lang
  108. %defattr(-,root,root,-)
  109. %doc COPYING COPYING.LIB ChangeLog NEWS README
  110. %{_sysconfdir}/mate-vfs-2.0/modules/default-modules.conf
  111. %{_sysconfdir}/mateconf/schemas/desktop_default_applications.schemas
  112. %{_sysconfdir}/mateconf/schemas/desktop_mate_url_handlers.schemas
  113. %{_sysconfdir}/mateconf/schemas/system_dns_sd.schemas
  114. %{_sysconfdir}/mateconf/schemas/system_http_proxy.schemas
  115. %{_sysconfdir}/mateconf/schemas/system_smb.schemas
  116. %{_bindir}/matevfs-*
  117. %{_libdir}/libmatevfs-2.so.*
  118. %{_libdir}/mate-vfs-2.0/modules/*.so
  119. %{_libexecdir}/mate/mate-vfs-daemon
  120. %{_datadir}/dbus-1/services/mate-vfs-daemon.service
  121. %files devel
  122. %defattr(-,root,root,-)
  123. %{_includedir}/mate-vfs-2.0
  124. %{_includedir}/mate-vfs-module-2.0
  125. %{_libdir}/libmatevfs-2.so
  126. %{_libdir}/mate-vfs-2.0/include/mate-vfs-file-size.h
  127. %{_libdir}/pkgconfig/mate-vfs-2.0.pc
  128. %{_libdir}/pkgconfig/mate-vfs-module-2.0.pc
  129. %files doc
  130. %defattr(-,root,root,-)
  131. %{_datadir}/gtk-doc/html/mate-vfs-2.0
  132. %changelog
  133. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  134. - new upstream release
  135. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  136. - new upstream release
  137. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  138. - initial build for Vine Linux