source: projects/specs/trunk/s/system-tools-backends/system-tools-backends-vl.spec @ 946

Revision 946, 3.8 KB checked in by Takemikaduchi, 14 years ago (diff)

update to 2.10.0-2

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