mate-system-tools-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: A system tools for MATE
  2. Name: mate-system-tools
  3. Version: 1.8.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{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: itstool
  18. BuildRequires: gtk-doc
  19. BuildRequires: autoconf
  20. BuildRequires: automake
  21. Requires(posttrans,postun): glib2
  22. Requires(post,postun): desktop-file-utils
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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. %build
  42. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  43. %configure \
  44. --disable-static \
  45. --disable-scrollkeeper
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  50. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  51. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  52. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  53. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  54. %find_lang %{name}
  55. %clean
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %post
  58. /sbin/ldconfig
  59. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  60. %postun
  61. /sbin/ldconfig
  62. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  63. if [ $1 -eq 0 ]; then
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  65. fi
  66. %posttrans
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. %files -f %{name}.lang
  69. %defattr(-,root,root,-)
  70. %doc COPYING ChangeLog NEWS README
  71. %{_sysconfdir}/mate-system-tools/user-profiles.conf
  72. %{_bindir}/mate-network-admin
  73. %{_bindir}/mate-services-admin
  74. %{_bindir}/mate-shares-admin
  75. %{_bindir}/mate-time-admin
  76. %{_bindir}/mate-users-admin
  77. %{_libdir}/caja/extensions-2.0/libcaja-gst-shares.so
  78. %{_datadir}/applications/*.desktop
  79. %{_datadir}/glib-2.0/schemas/org.mate.system-tools.gschema.xml
  80. %{_datadir}/icons/mate/*/*/*
  81. %{_datadir}/help/*
  82. %{_datadir}/%{name}
  83. %files devel
  84. %defattr(-,root,root,-)
  85. %{_libdir}/pkgconfig/mate-system-tools.pc
  86. %changelog
  87. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  88. - new upstream release
  89. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  90. - new upstream release
  91. - remove Patch0 (mate-system-tools-1.1.0-makefile.patch)
  92. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  93. - rebuild with VineSeed environment
  94. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  95. - new upstream release
  96. - remove BuildRequires: mate-conf-devel
  97. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  98. - new upstream release
  99. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  100. - new upstream release
  101. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  102. - change category
  103. * Sun Dec 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  104. - initial build for Vine Linux