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