eject-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: A program that ejects removable media using software control.
  2. Summary(ja): リムーバブルメディアをソフトウェア制御でイジェクトするプログラム
  3. Name: eject
  4. Version: 2.1.5
  5. Release: 2%{?_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
  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. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-2
  68. - rebuild for Vine 6
  69. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.1-1vl5
  70. - applied new versioning policy, spec in utf-8
  71. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl4
  72. - new upstream release
  73. - use cosolehelper, add Requires: usermode
  74. * Sat Apr 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.13-3vl2
  75. - added %{_bindir}/volname
  76. * Thu Jul 24 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.13-3vl1
  77. - rebuild with new toolchains
  78. - s/Copyright/License/
  79. - based on Redhat Rawhide 2.0.13-3 (added autoclose.patch)
  80. * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org>
  81. - 2.0.12-0vl1
  82. * Thu May 24 2001 <sagami@vinelinux.org>
  83. - 2.0.9-0vl1
  84. * Sun May 20 2001 <sagami@vinelinux.org>
  85. - 2.0.8-0vl1
  86. * Fri May 18 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  87. - 2.0.6-1vl1
  88. - rebuilt for Vine Linux
  89. - added Japanese summary and description
  90. * Mon May 14 2001 Than Ngo <than@redhat.com>
  91. - update to 2.0.6, fixed buffer overrun
  92. * Tue May 01 2001 Than Ngo <than@redhat.com>
  93. - update to 2.0.4
  94. * Tue Apr 24 2001 Than Ngo <than@redhat.com>
  95. - update to 2.0.3, supports devfs available in 2.4.x kernels and fixes
  96. a number of small problems
  97. * Tue Apr 3 2001 Preston Brown <pbrown@redhat.com>
  98. - ignore commented out entries in /etc/fstab (#33734)
  99. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  100. - automatic rebuild
  101. * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
  102. - FHS paths
  103. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  104. - gzip man page.
  105. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  106. - auto rebuild in the new build environment (release 3)
  107. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  108. - Injected new description and group.
  109. * Tue Feb 16 1999 Preston Brown <pbrown@redhat.com>
  110. - solved a lot of problems by finding eject 2.0.2. :)
  111. * Tue Feb 09 1999 Preston Brown <pbrown@redhat.com>
  112. - patch to improve symlink handling folded into linux-2.2 patch
  113. * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
  114. - bumped spec number for initial rh 6.0 build
  115. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com>
  116. - build root
  117. * Wed Jul 15 1998 Donnie Barnes <djb@redhat.com>
  118. - added small patch to 1.5 for longer device names
  119. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  120. - translations modified for de, fr, tr
  121. * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com>
  122. - upgraded to 1.5
  123. - various spec file clean ups
  124. - eject rocks!
  125. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  126. - built against glibc