[521] | 1 | %define locale_ja ja |
---|
| 2 | Summary: An X editor for editing runlevel services. |
---|
| 3 | Name: tksysv |
---|
| 4 | Version: 1.1 |
---|
| 5 | Release: 4%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/System |
---|
| 8 | Source: tksysv-%{version}.tar.gz |
---|
| 9 | # Vine stuff |
---|
| 10 | Source1: tksysv.ja |
---|
| 11 | Source2: about-ja.txt |
---|
| 12 | Source3: sysvinit-ja.txt |
---|
| 13 | Source4: tksysv-ja.txt |
---|
| 14 | Source5: tksysv.8 |
---|
| 15 | Source6: tksysv.exe |
---|
| 16 | Requires: tcl tk chkconfig |
---|
| 17 | BuildArchitectures: noarch |
---|
| 18 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Summary(ja): サービスの runlevel をエディットするための X のエディタ |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | Tksysv is an X Window System based graphical interface for editing the |
---|
| 25 | services provided by different runlevels. Tksysv is used to set which |
---|
| 26 | services are stopped and which services are started in the different |
---|
| 27 | runlevels on your system. |
---|
| 28 | |
---|
| 29 | Install the tksysv package if you'd like to use a graphical tool for |
---|
| 30 | editing runlevel services. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | tksysv は異なる runlevel によって提供されるサービスをエディットするための |
---|
| 34 | X Window System ベースのグラフィカルインターフェースである。tksysv は |
---|
| 35 | あなたのシステムの異なる runlevel で起動するサービスを起動したり終了したり |
---|
| 36 | するよう set するために使われる。 |
---|
| 37 | |
---|
| 38 | もし runlevel サービスをエディットするグラフィカルツールが使いたいときは、 |
---|
| 39 | tksysv パッケージをインストールしなさい。 |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | sed -e 's|/usr/man|%{_mandir}|g' Install > Install.new |
---|
| 45 | mv -f Install.new Install |
---|
| 46 | chmod 755 Install |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | PREFIX=$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 | |
---|
| 59 | install -d $RPM_BUILD_ROOT%{_bindir} |
---|
| 60 | mv $RPM_BUILD_ROOT/usr/X11R6/bin/tksysv $RPM_BUILD_ROOT%{_bindir}/tksysv.en |
---|
| 61 | install -p -m 0755 %SOURCE1 $RPM_BUILD_ROOT%{_bindir} |
---|
| 62 | cp -p %SOURCE2 %SOURCE3 %SOURCE4 $RPM_BUILD_ROOT/usr/lib/tksysv |
---|
| 63 | install -p -m 0755 %SOURCE6 $RPM_BUILD_ROOT%{_bindir}/tksysv |
---|
| 64 | |
---|
| 65 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8 |
---|
| 66 | cp -p %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/%{locale_ja}/man8 |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %clean |
---|
| 70 | rm -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 |
---|