[521] | 1 | Summary: A text mode system configuration tool |
---|
| 2 | Summary(ja): テキストモードのシステム設定ツール |
---|
| 3 | # the name is "setuptool" because we already have a package |
---|
| 4 | # named "setup". Oh, well. |
---|
| 5 | Name: setuptool |
---|
| 6 | Version: 1.19.4 |
---|
[3612] | 7 | Release: 2%{?_dist_release} |
---|
[521] | 8 | License: GPL |
---|
| 9 | Group: Applications/System |
---|
| 10 | Source: %{name}-%{version}.tar.gz |
---|
| 11 | Source10: %{name}-1.19.4-ja.po |
---|
| 12 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
[3612] | 16 | Packager: daisuke |
---|
[521] | 17 | |
---|
| 18 | Requires: usermode |
---|
| 19 | BuildRequires: newt-devel, desktop-file-utils |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Setuptool is a user-friendly text mode menu utility which allows you |
---|
| 23 | to access all of the text mode configuration programs included in the |
---|
| 24 | Vine Linux operating system. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | setuptool は Vine Linux オペレーティングシステムに含まれる全ての |
---|
| 28 | テキストモード設定プログラムにアクセスするためのユーザフレンドリーな |
---|
| 29 | テキストモードのメニューユーティリティーです。 |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | if [ -e %{buildroot} ] ; then |
---|
| 33 | [ "%{buildroot}" != "/" ] && %{__rm} -r %{buildroot} |
---|
| 34 | fi |
---|
| 35 | |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | cp -f %{SOURCE10} po/ja.po |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %configure |
---|
| 42 | %{__make} |
---|
| 43 | %{__make} setuptool.desktop |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 47 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications setuptool.desktop |
---|
| 50 | |
---|
| 51 | %find_lang setup |
---|
| 52 | |
---|
| 53 | %post |
---|
| 54 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
| 55 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
| 56 | fi |
---|
| 57 | |
---|
| 58 | %postun |
---|
| 59 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
| 60 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
| 61 | fi |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | %{__rm} -rf %{buildroot} |
---|
| 66 | |
---|
| 67 | %files -f setup.lang |
---|
| 68 | %defattr(-,root,root) |
---|
| 69 | %doc README |
---|
| 70 | %{_sysconfdir}/pam.d/setup |
---|
| 71 | %{_sysconfdir}/security/console.apps/setup |
---|
| 72 | %dir %{_sysconfdir}/setuptool.d |
---|
| 73 | %{_sysconfdir}/setuptool.d/* |
---|
| 74 | %{_bindir}/* |
---|
| 75 | %{_sbindir}/* |
---|
| 76 | %{_datadir}/applications/* |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[3612] | 80 | * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.19.4-2 |
---|
| 81 | - rebuild for Vine 6 |
---|
| 82 | |
---|
[521] | 83 | * Wed Aug 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.19.4-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
| 86 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-6vl5 |
---|
| 87 | - applied new versioning policy, spec in utf-8 |
---|
| 88 | |
---|
| 89 | * Wed Feb 20 2008 Takuya Kobayashi <ruby11@cocoa.ocn.ne.jp> 1.2-5vl9 |
---|
| 90 | - rebuild for Vine Seed |
---|
| 91 | |
---|
| 92 | * Wed Feb 20 2008 Takuya Kobayashi <ruby11@cocoa.ocn.ne.jp> 1.2-5vl8 |
---|
| 93 | - update desktop entry file <BTS:VineLinux:509> |
---|
| 94 | - merge Source10,Source11 into new Source10 |
---|
| 95 | - add %{_sbindir}/setup-with-su for xfce |
---|
| 96 | - update Source1(setuptool-ja.po) for %{_sbindir}/setup-with-su |
---|
| 97 | - update Spec File |
---|
| 98 | - update %%description |
---|
| 99 | - add %%check, %%post, and %%postun for desktop entry file |
---|
| 100 | - update %%prep and %%install for deleting unnecessary files |
---|
| 101 | - add Requires: newt |
---|
| 102 | - add BuildRequires: newt-devel desktop-file-utils |
---|
| 103 | - use macros |
---|
| 104 | |
---|
| 105 | * Sun Sep 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-5vl7 |
---|
| 106 | - use alsaconf instead of sndconfig |
---|
| 107 | - add lokkit |
---|
| 108 | |
---|
| 109 | * Sun Aug 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.2-5vl6 |
---|
| 110 | - use License instead of Copyright |
---|
| 111 | |
---|
| 112 | * Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-5vl5 |
---|
| 113 | - add Japanese translation for desktopfile. (SOURCE11) |
---|
| 114 | - add setuptool icon. (SOURCE10) |
---|
| 115 | |
---|
| 116 | * Sun Jul 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> |
---|
| 117 | - 1.2-5vl4 |
---|
| 118 | - added Patch12 |
---|
| 119 | - Xconfigurator -> Xautoconfig4 for ppc |
---|
| 120 | - disable sndconfig for ppc |
---|
| 121 | |
---|
| 122 | * Thu Jun 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> |
---|
| 123 | - 1.2-5vl3 |
---|
| 124 | - change checkbox color |
---|
| 125 | - use better macros |
---|
| 126 | |
---|
| 127 | * Wed Feb 09 2000 Preston Brown <pbrown@redhat.com> |
---|
| 128 | - wmconfig -> desktop |
---|
| 129 | |
---|
| 130 | * Thu Feb 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 131 | - rebuilt in new environment |
---|
| 132 | |
---|
| 133 | * Mon Aug 2 1999 Matt Wilson <msw@redhat.com> |
---|
| 134 | - rebuilt against newt 0.50 |
---|
| 135 | |
---|
| 136 | * Mon Apr 5 1999 Bill Nottingham <notting@redhat.com> |
---|
| 137 | - strip binary |
---|
| 138 | |
---|
| 139 | * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com> |
---|
| 140 | - port to C, so we can get python out of base component |
---|
| 141 | |
---|
| 142 | * Tue Mar 16 1999 Bill Nottingham <notting@redhat.com> |
---|
| 143 | - add support for authconfig, remove cabaret |
---|
| 144 | |
---|
| 145 | * Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com> |
---|
| 146 | - initial version |
---|
| 147 | |
---|