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