system-tools-backends-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # Note that this is NOT a relocatable package
  2. %define ver 2.6.0
  3. %define rel 1%{?_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: PolicyKit-devel >= 0.7
  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. %clean
  41. rm -rf %{buildroot}
  42. %preun
  43. if [ "$1" = "0" ] ; then
  44. /sbin/service system-tools-backends stop > /dev/null 2>&1
  45. /sbin/chkconfig --del system-tools-backends
  46. fi
  47. %postun
  48. if [ "$1" -ge "1" ]; then
  49. service system-tools-backends condrestart > /dev/null 2>&1
  50. fi
  51. %post
  52. /sbin/chkconfig --add system-tools-backends
  53. %files
  54. %defattr(-,root,root)
  55. %doc README AUTHORS COPYING NEWS ChangeLog
  56. %{_sysconfdir}/rc.d/init.d/system-tools-backends
  57. %{_sysconfdir}/dbus-1/system.d/*
  58. %{_bindir}/*
  59. %{_datadir}/dbus-1/system-services/*
  60. %{_datadir}/PolicyKit/policy/*
  61. %dir %{_datadir}/system-tools-backends-2.0
  62. %{_datadir}/system-tools-backends-2.0/*
  63. %{_libdir}/pkgconfig/*
  64. %changelog
  65. * Thu Jul 3 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.0-1
  66. - updated to newest upstream release
  67. - new versioning policy; spec in UTF-8
  68. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl2
  69. - add initscript for system-tools-backends
  70. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  71. - new upstream release
  72. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.2-0vl5
  73. - move system-tools-backends.pc to %%{_datadir}/pkgconfig
  74. * Thu Oct 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl4
  75. - update Patch0
  76. - add some services
  77. * Sat Aug 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl3
  78. - update Patch0
  79. - fix Vine Linux 4.x support
  80. * Tue Jun 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl2
  81. - update Patch0
  82. - support Vine Linux 4.[01]
  83. - support {disks,shares}-conf
  84. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1
  85. - new upstream release
  86. * Thu Sep 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
  87. - new upstream release
  88. - support Vine Linux 3.2
  89. * Sun Jul 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-0vl1
  90. - new upstream release
  91. * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
  92. - initial build for Vine Linux