mate-utils-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. Summary: MATE utility programs
  2. Name: mate-utils
  3. Version: 1.2.0
  4. Release: 1%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: https://matsusoft.com.ar/projects/mate/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: mate-panel-devel
  13. BuildRequires: gtk2-devel
  14. BuildRequires: libgtop2-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: popt-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(post,pre,preun): mate-conf
  21. Requires(post,postun): desktop-file-utils
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. MATE Utilities for the MATE Desktop contains the following -
  28. mate-system-log [logview]
  29. mate-search-tool [gseachtool]
  30. mate-dictionary [mate-dictionary]
  31. mate-screenshot [mate-screenshot]
  32. baobab [baobab]
  33. %package devel
  34. Summary: Development tools for mate-utils
  35. Summary(ja): mate-utils の開発環境
  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-utils.
  42. %package doc
  43. Summary: Documentation for mate-utils
  44. Summary(ja): mate-utils 用のドキュメント
  45. Group: Documentation
  46. Requires: %{name} = %{version}-%{release}
  47. BuildArch: noarch
  48. %description doc
  49. This package contains documentation for mate-utils.
  50. %prep
  51. %setup -q
  52. %build
  53. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  54. %configure \
  55. --libexecdir=%{_libexecdir}/mate \
  56. --disable-static \
  57. --disable-scrollkeeper
  58. %{__make} %{?_smp_mflags}
  59. %install
  60. %{__rm} -rf ${RPM_BUILD_ROOT}
  61. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  62. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  63. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  64. %find_lang %{name}
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %post
  68. /sbin/ldconfig
  69. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  70. SCHEMAS=" \
  71. baobab.schemas \
  72. mate-dictionary.schemas \
  73. mate-screenshot.schemas \
  74. mate-search-tool.schemas \
  75. mate-system-log.schemas"
  76. for S in $SCHEMAS; do
  77. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  78. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  79. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  80. %pre
  81. if [ "$1" -gt 1 ]; then
  82. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  83. SCHEMAS=" \
  84. baobab.schemas \
  85. mate-dictionary.schemas \
  86. mate-screenshot.schemas \
  87. mate-search-tool.schemas \
  88. mate-system-log.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. baobab.schemas \
  98. mate-dictionary.schemas \
  99. mate-screenshot.schemas \
  100. mate-search-tool.schemas \
  101. mate-system-log.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
  107. /sbin/ldconfig
  108. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  109. %files -f %{name}.lang
  110. %defattr(-,root,root,-)
  111. %doc COPYING ChangeLog NEWS README
  112. %{_sysconfdir}/mateconf/schemas/baobab.schemas
  113. %{_sysconfdir}/mateconf/schemas/mate-dictionary.schemas
  114. %{_sysconfdir}/mateconf/schemas/mate-screenshot.schemas
  115. %{_sysconfdir}/mateconf/schemas/mate-search-tool.schemas
  116. %{_sysconfdir}/mateconf/schemas/mate-system-log.schemas
  117. %{_bindir}/mate-dictionary
  118. %{_bindir}/mate-disk-usage-analyzer
  119. %{_bindir}/mate-panel-screenshot
  120. %{_bindir}/mate-screenshot
  121. %{_bindir}/mate-search-tool
  122. %{_bindir}/mate-system-log
  123. %{_libdir}/libmatedict.so.*
  124. %{_libdir}/matecomponent/servers/MATE_DictionaryApplet.server
  125. %{_libexecdir}/mate/mate-dictionary-applet
  126. %{_datadir}/applications/*.desktop
  127. %{_datadir}/icons/mate/*/*/*
  128. %{_datadir}/mate/help/*
  129. %{_datadir}/mate-2.0/ui/MATE_DictionaryApplet.xml
  130. %{_datadir}/mate-dict
  131. %{_datadir}/mate-dictionary
  132. %{_datadir}/mate-disk-usage-analyzer
  133. %{_datadir}/mate-screenshot
  134. %{_datadir}/mate-utils
  135. %{_datadir}/omf/*
  136. %{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png
  137. %{_mandir}/man1/*.1.gz
  138. %files devel
  139. %defattr(-,root,root,-)
  140. %{_includedir}/mate-dict
  141. %{_libdir}/libmatedict.so
  142. %{_libdir}/pkgconfig/mate-dict.pc
  143. %changelog
  144. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  145. - new upstream release
  146. * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  147. - initial build for Vine Linux