source: projects/specs/branches/6/t/timeconfig/timeconfig-vl.spec @ 5581

Revision 5581, 5.5 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1Summary: Text mode tools for setting system time parameters.
2Summary(ja): システムの時間のパラメータを設定するテキストモードのツール
3Name: timeconfig
4Version: 3.0.3
5Release: 5%{?_dist_release}
6License: GPL
7Group: Applications/System
8Source: timeconfig-%{version}.tar.gz
9Source1: timeconfig.ja.po
10Source2: setclock.8
11Source3: timeconfig.8
12Patch0: timeconfig.vine.patch
13Patch1: timeconfig-3.0.3-mandir.patch
14Patch2: timeconfig-3.0.3-checkbox.patch
15Requires: initscripts >= 2.81, glibc >= 2.0.5-5
16Requires(post): coreutils, gawk
17BuildRequires: newt-devel
18BuildRequires: popt-devel
19Buildroot: %{_tmppath}/%{name}-root
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25The timeconfig package contains two utilities:  timeconfig and setclock.
26Timeconfig provides a simple text mode tool for configuring the time
27parameters in /etc/sysconfig/clock and /etc/localtime. The setclock tool
28sets the hardware clock on the system to the current time stored in the
29system clock.
30
31%description -l ja
32timeconfig パッケージは二つのユーティリティを含んでいます: timeconfig と
33setclock です。timeconfig /etc/sysconfig/clock と /etc/localtime の
34時間のパラメータを設定するシンプルなテキストモードのツールを供給します。
35setclock ツールはシステムクロックに入っている現在の時間をシステムの
36ハードウェアクロックにセットします。
37
38%prep
39%setup -q
40%patch0 -p1
41%patch1 -p1
42%patch2 -p1
43
44#copy ja.po
45cp %{SOURCE1} po/ja.po
46
47%build
48make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
53rm -f %{_libdir}/zoneinfo
54
55mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man8/
56install -m 644 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/ja/man8/
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62if [ -L /etc/localtime ]; then
63    _FNAME=`ls -ld /etc/localtime | awk '{ print $11}' | sed 's/lib/share/'`
64    rm /etc/localtime
65    cp -f $_FNAME /etc/localtime
66    if ! grep -q "^ZONE=" /etc/sysconfig/clock ; then
67      echo "ZONE=\"$_FNAME"\" | sed -e "s|[^\"]*/usr/share/zoneinfo/||" >> /etc/sysconfig/clock
68    fi
69fi
70
71%files
72%defattr(-,root,root)
73%{_sbindir}/timeconfig
74%{_sbindir}/setclock
75%{_localedir}/*/LC_MESSAGES/timeconfig.mo
76%{_mandir}/man8/*
77%{_mandir}/ja/man8/timeconfig.8*
78%{_mandir}/ja/man8/setclock.8*
79
80%changelog
81* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-5
82- rebuild with Vine6 environment
83- add BuildRequires: popt-devel
84
85* Thu Aug 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.3-4vl5
86- rebuild with newt-0.52
87
88* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 3.0.3-3vl5
89- applied new versioning policy, spec in utf-8
90
91* Sat Oct 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.0.3-2vl6
92- add BuildRequires: newt-devel
93
94* Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.3-2vl5
95- rebuild to add gpg sign
96- use License:
97
98* Thu Jun 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp>
99- 3.0.3-2vl4
100- change checkbox color
101- use better macros
102
103* Sat Jun 09 2001 <sagami@vinelinux.org>
104- 3.0.3-2vl3: install manpage into _mandir and mode 644
105- fixed typo in ja.po
106
107* Thu Jul 13 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
108- 3.0.3-2vl2
109- modified %files section to handle compressed man pages
110
111* Thu Jun  1 2000 Jun Nishii <jun@vinelinux.org>
112- 3.0.3-2vl1
113
114* Sat Sep 9 1999 Norihito Ohmori <ohmori@flatout.org>
115- added Japanese descrition and summary
116- change default timezone to Japan
117- add Japanese Message Catalog
118- add Japanese Man Page
119
120* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
121- rebuilt against newt 0.50
122
123* Thu Jul 29 1999 Bill Nottingham <notting@redhat.com>
124- fix %post
125
126* Thu Jul  8 1999 Bill Nottingham <notting@redhat.com>
127- fix %post
128
129* Mon Jun 21 1999 Bill Nottingham <notting@redhat.com>
130- fix link in %post, too...
131
132* Wed Jun 16 1999 Bill Nottingham <notting@redhat.com>
133- copy file to /etc/localtime, don't link it
134- add a field to /etc/sysconfig/clock to point to the actual file
135
136* Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
137- release for Red Hat Linux 6.0
138
139* Tue Mar  9 1999 Jeff Johnson <jbj@redhat.com>
140- add in_ID.po
141
142* Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
143- rebuilt against newt 0.40
144
145* Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
146- add ru.po.
147
148* Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
149- built for Raw Hide (slang-1.2.2)
150
151* Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
152- updated czech translation (and use cs instead of cz)
153
154* Fri Sep 25 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
155- added pt_BR translations
156- pt_BR man translations
157- man tree, with Makefile
158- top level Makefile calls make -C po clean & make -C man install
159
160* Fri Sep 25 1998 Jeff Johnson <jbj@redhat.com>
161- add sr.po.
162
163* Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
164- added NEWT_FLAG_SCROLL to listbox creation for newt 0.30
165- added --test
166
167* Fri Jun 05 1998 Erik Troan <ewt@redhat.com>
168- return 0 on success
169
170* Thu May 07 1998 Erik Troan <ewt@redhat.com>
171- many more translations
172
173* Mon Apr 20 1998 Erik Troan <ewt@redhat.com>
174- uses a build root
175- added de and en_RN translations
176
177* Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
178- shortended window a bit -- white (rather, blue) space is a good thing
179
180* Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
181- added --back option
182
183* Sat Oct 11 1997 Erik Troan <ewt@redhat.com>
184- use proper flags for hwclock
185
186* Tue Sep 16 1997 Erik Troan <ewt@redhat.com>
187- instead of creating /usr/lib/zoneinfo, just update /etc/localtime
188
189* Wed Sep 10 1997 Erik Troan <ewt@redhat.com>
190- look for zoneinfo in /usr/share instead of /usr/lib
191- provide /usr/lib/zoneinfo symlink
Note: See TracBrowser for help on using the repository browser.