system-tools-backends-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # Note that this is NOT a relocatable package
  2. %define ver 2.10.1
  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. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 2.10.1-2
  67. - rebuilt with rpm-4.8.1 for pkg-config
  68. * Sat Sep 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.1-1
  69. - new upstream release
  70. * Tue May 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-2
  71. - fix Source1(system-tools-backends.init)
  72. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10.0-1
  73. - new upstream release
  74. - change BuildRequires: PolicyKit-devel -> polkit-devel
  75. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.3-1
  76. - new upstream release
  77. * Thu Jul 3 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.0-1
  78. - updated to newest upstream release
  79. - new versioning policy; spec in UTF-8
  80. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl2
  81. - add initscript for system-tools-backends
  82. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  83. - new upstream release
  84. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.2-0vl5
  85. - move system-tools-backends.pc to %%{_datadir}/pkgconfig
  86. * Thu Oct 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl4
  87. - update Patch0
  88. - add some services
  89. * Sat Aug 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl3
  90. - update Patch0
  91. - fix Vine Linux 4.x support
  92. * Tue Jun 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl2
  93. - update Patch0
  94. - support Vine Linux 4.[01]
  95. - support {disks,shares}-conf
  96. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1
  97. - new upstream release
  98. * Thu Sep 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
  99. - new upstream release
  100. - support Vine Linux 3.2
  101. * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-0vl1
  102. - new upstream release
  103. * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  104. - initial build for Vine Linux