mate-system-tools-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: A system tools for MATE
  2. Name: mate-system-tools
  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: Applications/System
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: mate-polkit-devel
  13. BuildRequires: mate-file-manager-devel
  14. BuildRequires: gtk2-devel
  15. BuildRequires: dbus-devel
  16. BuildRequires: liboobs-devel
  17. BuildRequires: system-tools-backends
  18. BuildRequires: gtk-doc
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  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. Requires: mate-corba-devel
  37. %description devel
  38. Header files and libraries for building a extension library for the
  39. mate-system-tools.
  40. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %build
  44. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  45. %configure \
  46. --disable-static \
  47. --disable-scrollkeeper
  48. %{__make} %{?_smp_mflags}
  49. %install
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  52. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  53. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  54. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  56. %find_lang %{name}
  57. %clean
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. %post
  60. /sbin/ldconfig
  61. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  62. %postun
  63. /sbin/ldconfig
  64. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  65. if [ $1 -eq 0 ]; then
  66. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  67. fi
  68. %posttrans
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc COPYING ChangeLog NEWS README
  73. %{_sysconfdir}/mate-system-tools/user-profiles.conf
  74. %{_bindir}/mate-network-admin
  75. %{_bindir}/mate-services-admin
  76. %{_bindir}/mate-shares-admin
  77. %{_bindir}/mate-time-admin
  78. %{_bindir}/mate-users-admin
  79. %{_libdir}/caja/extensions-2.0/libcaja-gst-shares.so
  80. %{_datadir}/applications/*.desktop
  81. %{_datadir}/glib-2.0/schemas/org.mate.system-tools.gschema.xml
  82. %{_datadir}/icons/mate/*/*/*
  83. %{_datadir}/mate/help/*
  84. %{_datadir}/%{name}
  85. %{_datadir}/omf/*
  86. %files devel
  87. %defattr(-,root,root,-)
  88. %{_libdir}/pkgconfig/mate-system-tools.pc
  89. %changelog
  90. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  91. - new upstream release
  92. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  93. - new upstream release
  94. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  95. - change category
  96. * Sun Dec 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  97. - initial build for Vine Linux