setuptool-vl.spec 3.9 KB

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