source: projects/specs/branches/6/e/eject/eject-vl.spec @ 3437

Revision 3437, 5.0 KB checked in by daisuke, 13 years ago (diff)

eject: rebuild for Vine6

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