mate-system-tools-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: A system tools for MATE
  2. Name: mate-system-tools
  3. Version: 1.6.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-polkit-devel
  12. BuildRequires: mate-file-manager-devel
  13. BuildRequires: gtk2-devel
  14. BuildRequires: dbus-devel
  15. BuildRequires: liboobs-devel
  16. BuildRequires: system-tools-backends
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(posttrans,postun): glib2
  21. Requires(post,postun): desktop-file-utils
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Patch0: mate-system-tools-1.1.0-makefile.patch
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. These tools are intended to simplify the tasks of configuring a Unix system
  29. for workstations. They are not intended for configuring Unix servers.
  30. %package devel
  31. Summary: Development tools for mate-system-tools
  32. Summary(ja): mate-system-tools の開発環境
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. mate-system-tools.
  39. %prep
  40. %setup -q
  41. %patch0 -p1
  42. %build
  43. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  44. %configure \
  45. --disable-static \
  46. --disable-scrollkeeper
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  53. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  55. %find_lang %{name}
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %post
  59. /sbin/ldconfig
  60. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  61. %postun
  62. /sbin/ldconfig
  63. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  64. if [ $1 -eq 0 ]; then
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. fi
  67. %posttrans
  68. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. %doc COPYING ChangeLog NEWS README
  72. %{_sysconfdir}/mate-system-tools/user-profiles.conf
  73. %{_bindir}/mate-network-admin
  74. %{_bindir}/mate-services-admin
  75. %{_bindir}/mate-shares-admin
  76. %{_bindir}/mate-time-admin
  77. %{_bindir}/mate-users-admin
  78. %{_libdir}/caja/extensions-2.0/libcaja-gst-shares.so
  79. %{_datadir}/applications/*.desktop
  80. %{_datadir}/glib-2.0/schemas/org.mate.system-tools.gschema.xml
  81. %{_datadir}/icons/mate/*/*/*
  82. %{_datadir}/mate/help/*
  83. %{_datadir}/%{name}
  84. %{_datadir}/omf/*
  85. %files devel
  86. %defattr(-,root,root,-)
  87. %{_libdir}/pkgconfig/mate-system-tools.pc
  88. %changelog
  89. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  90. - rebuild with VineSeed environment
  91. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  92. - new upstream release
  93. - remove BuildRequires: mate-conf-devel
  94. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  95. - new upstream release
  96. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  97. - new upstream release
  98. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  99. - change category
  100. * Sun Dec 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  101. - initial build for Vine Linux