system-tools-backends-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # Note that this is NOT a relocatable package
  2. %define ver 2.10.0
  3. %define rel 2%{?_dist_release}
  4. Summary: System Tools Backends
  5. Summary(ja): システムツールバックエンド
  6. Name: system-tools-backends
  7. Version: %ver
  8. Release: %rel
  9. License: LGPL
  10. Group: Applications/System
  11. Source: %{name}-%{version}.tar.bz2
  12. Source1: system-tools-backends.init
  13. Patch0: %{name}-2.6.0-vine.patch
  14. URL: http://www.gnome.org/projects/gst/
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: dbus-glib-devel
  17. BuildRequires: perl-XML-Parser
  18. BuildRequires: polkit-devel
  19. Requires: vine-release >= 3.0
  20. Requires: perl, coreutils
  21. Conflicts: gnome-system-tools < 1.2.0
  22. %description
  23. The System Tools Backends are a set of cross-platform scripts for Linux and
  24. other Unix systems. The backends provide an standard XML interface for
  25. modifying the configuration regarless of the distribution that's being used.
  26. %description -l ja
  27. システムツールバックエンドは Linux および Unix 用のクロスプラットフォーム
  28. スクリプトの集合です。このバックエンドスクリプトはディストリビューション
  29. の設定を尊重しつつ変更を行うための標準的な XML インタフェースを提供します。
  30. %prep
  31. %setup -q
  32. %patch0 -p1 -b .vine
  33. %build
  34. %configure
  35. CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
  36. %install
  37. %__make DESTDIR=$RPM_BUILD_ROOT install
  38. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
  39. install -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/system-tools-backends
  40. %find_lang %{name}
  41. %clean
  42. rm -rf %{buildroot}
  43. %preun
  44. if [ "$1" = "0" ] ; then
  45. /sbin/service system-tools-backends stop > /dev/null 2>&1
  46. /sbin/chkconfig --del system-tools-backends
  47. fi
  48. %postun
  49. if [ "$1" -ge "1" ]; then
  50. service system-tools-backends condrestart > /dev/null 2>&1
  51. fi
  52. %post
  53. /sbin/chkconfig --add system-tools-backends
  54. %files -f %{name}.lang
  55. %defattr(-,root,root)
  56. %doc README AUTHORS COPYING NEWS ChangeLog
  57. %{_sysconfdir}/rc.d/init.d/system-tools-backends
  58. %{_sysconfdir}/dbus-1/system.d/*
  59. %{_sbindir}/*
  60. %{_datadir}/dbus-1/system-services/*
  61. %{_datadir}/polkit-1/actions/*
  62. %dir %{_datadir}/system-tools-backends-2.0
  63. %{_datadir}/system-tools-backends-2.0/*
  64. %{_libdir}/pkgconfig/*
  65. %changelog
  66. * Tue May 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-2
  67. - fix Source1(system-tools-backends.init)
  68. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1
  69. - new upstream release
  70. - change BuildRequires: PolicyKit-devel -> polkit-devel
  71. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.3-1
  72. - new upstream release
  73. * Thu Jul 3 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.0-1
  74. - updated to newest upstream release
  75. - new versioning policy; spec in UTF-8
  76. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl2
  77. - add initscript for system-tools-backends
  78. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  79. - new upstream release
  80. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.2-0vl5
  81. - move system-tools-backends.pc to %%{_datadir}/pkgconfig
  82. * Thu Oct 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl4
  83. - update Patch0
  84. - add some services
  85. * Sat Aug 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl3
  86. - update Patch0
  87. - fix Vine Linux 4.x support
  88. * Tue Jun 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl2
  89. - update Patch0
  90. - support Vine Linux 4.[01]
  91. - support {disks,shares}-conf
  92. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1
  93. - new upstream release
  94. * Thu Sep 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
  95. - new upstream release
  96. - support Vine Linux 3.2
  97. * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-0vl1
  98. - new upstream release
  99. * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  100. - initial build for Vine Linux