eject-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. Summary: A program that ejects removable media using software control.
  2. Summary(ja): リムーバブルメディアをソフトウェア制御でイジェクトするプログラム
  3. Name: eject
  4. Version: 2.1.5
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. URL: http://www.pobox.com/~tranter
  9. Source0: http://ca.geocities.com/jefftranter@rogers.com/eject-2.1.5.tar.gz
  10. Source1: eject.pam
  11. Patch1: eject-2.1.1-verbose.patch
  12. Patch2: eject-timeout.patch
  13. Patch3: eject-2.1.5-opendevice.patch
  14. Patch4: eject-2.1.5-spaces.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Requires: usermode
  17. ExcludeArch: s390 s390x
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
  21. %description
  22. The eject program allows the user to eject removable media (typically
  23. CD-ROMs, floppy disks or Iomega Jaz or Zip disks) using software
  24. control. Eject can also control some multi-disk CD changers and even
  25. some devices' auto-eject features.
  26. Install eject if you'd like to eject removable media using software
  27. control.
  28. %description -l ja
  29. eject プログラムを使うと,ユーザがリムーバブルメディア (特に
  30. CD-ROM, フロッピーディスク, Iomega Jaz/Zip ディスク等) をソフトウェア
  31. 制御でイジェクトすることが出来ます.eject は一部の CD チェンジャーや
  32. 一部のデバイスの自動イジェクト機能にも対応しています.
  33. リムーバブルメディアをソフトウェア制御でイジェクトしたい場合は
  34. eject をインストールして下さい.
  35. %prep
  36. %setup -q -n %{name}
  37. %patch1 -p1 -b .versbose
  38. %patch2 -p1 -b .timeout
  39. %patch3 -p0 -b .opendevice
  40. %patch4 -p0 -b .spaces
  41. %build
  42. %configure
  43. %__make
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. %__make DESTDIR=$RPM_BUILD_ROOT install
  47. # pam stuff
  48. install -m 755 -d %{buildroot}/%{_sysconfdir}/pam.d
  49. install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/pam.d/%{name}
  50. install -m 755 -d %{buildroot}/%{_sysconfdir}/security/console.apps/
  51. echo "FALLBACK=true" > %{buildroot}/%{_sysconfdir}/security/console.apps/%{name}
  52. install -m 755 -d %{buildroot}/%{_sbindir}
  53. mv %{buildroot}%{_bindir}/eject %{buildroot}%{_sbindir}
  54. ln -s consolehelper %{buildroot}%{_bindir}/eject
  55. %find_lang %{name}
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %files -f %{name}.lang
  59. %defattr(-,root,root)
  60. %doc README TODO COPYING ChangeLog
  61. %attr(644,root,root) %{_sysconfdir}/security/console.apps/*
  62. %attr(644,root,root) %{_sysconfdir}/pam.d/*
  63. %{_sbindir}/*
  64. %{_bindir}/*
  65. %{_mandir}/man1/*
  66. %changelog
  67. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.1-1vl5
  68. - applied new versioning policy, spec in utf-8
  69. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl4
  70. - new upstream release
  71. - use cosolehelper, add Requires: usermode
  72. * Sat Apr 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.13-3vl2
  73. - added %{_bindir}/volname
  74. * Thu Jul 24 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.13-3vl1
  75. - rebuild with new toolchains
  76. - s/Copyright/License/
  77. - based on Redhat Rawhide 2.0.13-3 (added autoclose.patch)
  78. * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org>
  79. - 2.0.12-0vl1
  80. * Thu May 24 2001 <sagami@vinelinux.org>
  81. - 2.0.9-0vl1
  82. * Sun May 20 2001 <sagami@vinelinux.org>
  83. - 2.0.8-0vl1
  84. * Fri May 18 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  85. - 2.0.6-1vl1
  86. - rebuilt for Vine Linux
  87. - added Japanese summary and description
  88. * Mon May 14 2001 Than Ngo <than@redhat.com>
  89. - update to 2.0.6, fixed buffer overrun
  90. * Tue May 01 2001 Than Ngo <than@redhat.com>
  91. - update to 2.0.4
  92. * Tue Apr 24 2001 Than Ngo <than@redhat.com>
  93. - update to 2.0.3, supports devfs available in 2.4.x kernels and fixes
  94. a number of small problems
  95. * Tue Apr 3 2001 Preston Brown <pbrown@redhat.com>
  96. - ignore commented out entries in /etc/fstab (#33734)
  97. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  98. - automatic rebuild
  99. * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
  100. - FHS paths
  101. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  102. - gzip man page.
  103. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  104. - auto rebuild in the new build environment (release 3)
  105. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  106. - Injected new description and group.
  107. * Tue Feb 16 1999 Preston Brown <pbrown@redhat.com>
  108. - solved a lot of problems by finding eject 2.0.2. :)
  109. * Tue Feb 09 1999 Preston Brown <pbrown@redhat.com>
  110. - patch to improve symlink handling folded into linux-2.2 patch
  111. * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
  112. - bumped spec number for initial rh 6.0 build
  113. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
  114. - build root
  115. * Wed Jul 15 1998 Donnie Barnes <djb@redhat.com>
  116. - added small patch to 1.5 for longer device names
  117. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  118. - translations modified for de, fr, tr
  119. * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
  120. - upgraded to 1.5
  121. - various spec file clean ups
  122. - eject rocks!
  123. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  124. - built against glibc