system-tools-backends-vl.spec 4.1 KB

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