source: projects/specs/trunk/t/tksysv/tksysv-vl.spec @ 521

Revision 521, 4.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define locale_ja ja
2Summary: An X editor for editing runlevel services.
3Name: tksysv
4Version: 1.1
5Release: 4%{?_dist_release}
6License: GPL
7Group: Applications/System
8Source: tksysv-%{version}.tar.gz
9# Vine stuff
10Source1: tksysv.ja
11Source2: about-ja.txt
12Source3: sysvinit-ja.txt
13Source4: tksysv-ja.txt
14Source5: tksysv.8
15Source6: tksysv.exe
16Requires: tcl tk chkconfig
17BuildArchitectures: noarch
18Buildroot: %{_tmppath}/%{name}-%{version}-root
19Vendor: Project Vine
20Distribution: Vine Linux
21Summary(ja): サービスの runlevel をエディットするための X のエディタ
22
23%description
24Tksysv is an X Window System based graphical interface for editing the
25services provided by different runlevels.  Tksysv is used to set which
26services are stopped and which services are started in the different
27runlevels on your system.
28
29Install the tksysv package if you'd like to use a graphical tool for
30editing runlevel services.
31
32%description -l ja
33tksysv は異なる runlevel によって提供されるサービスをエディットするための
34X Window System ベースのグラフィカルインターフェースである。tksysv は
35あなたのシステムの異なる runlevel で起動するサービスを起動したり終了したり
36するよう set するために使われる。
37
38もし runlevel サービスをエディットするグラフィカルツールが使いたいときは、
39tksysv パッケージをインストールしなさい。
40
41
42%prep
43%setup -q
44sed -e 's|/usr/man|%{_mandir}|g' Install > Install.new
45mv -f Install.new Install
46chmod 755 Install
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52PREFIX=$RPM_BUILD_ROOT ./Install
53
54##mv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv.en
55##install -p -m 0755  %SOURCE1 $RPM_BUILD_ROOT/usr/X11R6/bin
56##cp -p %SOURCE2 %SOURCE3 %SOURCE4  $RPM_BUILD_ROOT/usr/lib/tksysv
57##install -p -m 0755 %SOURCE6 $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv
58
59install -d $RPM_BUILD_ROOT%{_bindir}
60mv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv $RPM_BUILD_ROOT%{_bindir}/tksysv.en
61install -p -m 0755  %SOURCE1 $RPM_BUILD_ROOT%{_bindir}
62cp -p %SOURCE2 %SOURCE3 %SOURCE4  $RPM_BUILD_ROOT/usr/lib/tksysv
63install -p -m 0755 %SOURCE6 $RPM_BUILD_ROOT%{_bindir}/tksysv
64
65mkdir -p $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8
66cp -p %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8
67
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(-,root,root)
74%doc CHANGELOG COPYING
75%{_bindir}/tksysv
76%{_bindir}/tksysv.en
77%{_bindir}/tksysv.ja
78/usr/lib/tksysv
79/usr/lib/rhs/control-panel/tksysv.init
80/usr/lib/rhs/control-panel/tksysv.gif
81/usr/lib/rhs/control-panel/tksysv.xpm
82%{_mandir}/man8/tksysv.8*
83%{_mandir}/%{locale_ja}/man8/tksysv.8*
84
85
86%changelog
87* Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-4vl5
88- applied new versioning policy, spec in utf-8
89- s/Copyright/License/
90- /usr/X11R6/bin -> %%{_bindir}
91
92* Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
93- 1.1-3vl2
94- /usr/man -> %%{_mandir}
95
96* Wed Jul  5 2000 Lisa Sagami <czs14350@nifty.ne.jp>
97- 1.1-2vl1: from Vine 1.0_jp-2 and RHL 1.1-2 in RH 6.2
98- fixed: version number and Japanese doc/man in source
99- fixed: manpath (for BRP) and Distribution in spec
100
101* Thu Feb 10 2000 Bill Nottingham <notting@redhat.com>
102- re-introduce djb's changes (why weren't these in CVS??)
103
104* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
105- rebuild to gzip man page
106
107* Wed Nov 24 1999 Donnie Barnes <djb@redhat.com>
108- added two patches from Florent Villard <warly@mandrakesoft.com>
109  to fix man page syntax bug and root depends in install scripts
110- added defattr(-,root,root) to file list
111- updated %clean to be "safer"
112- fixed broken version number in title bar and .
113
114* Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
115- modiry for Vine Linux
116
117* Sun Nov 7 1999 Toru Hoshina <t@kondara.org>
118- be a NoSrc :-P
119
120* Mon Nov 1 1999 Norihito Ohmori <ohmori@flatout.org>
121- fix help file [Kondara-devel: 00390]
122- change file name -j -> -ja.
123
124* Thu Aug 5 1999 Norihito Ohmori <ohmori@flatout.org>
125- Japanese SPEC file
126- Japanise tksysv
127- Japanese man page added.
128
129* Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
130- set BOOTUP for new initscripts (no ANSI in capture, please!)
131
132* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
133- Injected new description and group.
134
135* Tue Dec 22 1998 Preston Brown <pbrown@redhat.com>
136- bumped spec number for 6.0 build
137
138* Thu Apr 23 1998 Prospector System <bugs@redhat.com>
139- translations modified for de, fr, tr
140
141* Thu Apr 23 1998 Donnie Barnes <djb@redhat.com>
142- fixed version number in title bar
Note: See TracBrowser for help on using the repository browser.