%define name eject %define version 2.0.12 %define release 3mdk %define prefix %{_prefix} Name: %{name} Summary: A program that ejects removable media using software control. Version: %{version} Release: %{release} License: GPL Url: http://metalab.unc.edu/pub/Linux/utils/disk-management/ Group: System/Kernel and hardware Source: http://metalab.unc.edu/pub/Linux/utils/disk-management/eject-%version.tar.bz2 Patch: eject-supermount.patch.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description The eject program allows the user to eject removable media (typically CD-ROMs, floppy disks or Iomega Jaz or Zip disks) using software control. Eject can also control some multi- disk CD changers and even some devices' auto-eject features. Install eject if you'd like to eject removable media using software control. %prep %setup -q %patch -p0 %build %configure make DEFAULTDEVICE="/dev/cdrom" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 %makeinstall ROOTDIR=$RPM_BUILD_ROOT # I think fr_FR is wrong. r=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%_datadir/locale/fr/LC_MESSAGES mv $r/%_datadir/locale/fr_FR/LC_MESSAGES/* $r/%_datadir/locale/fr/LC_MESSAGES %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc README TODO COPYING ChangeLog %{_bindir}/eject %_bindir/volname %{_mandir}/man1/eject.1* %_mandir/man1/volname.1* %changelog * Mon Jan 28 2002 François Pons <fpons@mandrakesoft.com> 2.0.12-3mdk - supermount patches from Andrej Borsenkow. * Fri Jan 18 2002 Warly <warly@mandrakesoft.com> 2.0.12-2mdk - rpmlint fixes * Mon Oct 29 2001 Warly <warly@mandrakesoft.com> 2.0.12-1mdk - new version * Mon Sep 17 2001 Warly <warly@mandrakesoft.com> 2.0.10-2mdk - added new fr_FR contributed by Christophe Combelles <combech@gemse.fr> * Wed Jul 04 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.10-1mdk - New and shiny source which supports localizd strings (kewl). - s/Copyright/License/, finally. * Mon Jul 02 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.7-2mdk - Include the manual page for volname. * Wed May 16 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.7-1mdk - Version 2.0.7 out for general consumption. * Mon May 14 2001 Daouda Lo<daouda@mandrakesoft.com> 2.0.6-2mdk - Resync rpm/srpm (happy nono? ) * Fri May 11 2001 Geoffrey Lee <snaitalk@mandrakesoft.com> 2.0.6-1mdk - 2.0.6. - Run ./configure. * Sat May 05 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.5-2mdk - Include volname binary. * Thu May 03 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.0.5-1mdk - new release * Tue May 01 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.0.4-1mdk - new version * Wed Apr 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.0.3-1mdk - A new and shiny source for folks on Anzac Day, and general cleanups. * Thu Jul 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 2.0.2-8mdk - BM - specfile cleanup - macrozashions * Wed Mar 22 2000 Daouda Lo <daouda@mandrakesoft.com> 2.0.2-7mdk - fix group * Wed Oct 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build Release. * Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> - Injected new description and group. * Tue Feb 16 1999 Preston Brown <pbrown@redhat.com> - solved a lot of problems by finding eject 2.0.2. :) * Tue Feb 09 1999 Preston Brown <pbrown@redhat.com> - patch to improve symlink handling folded into linux-2.2 patch * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com> - bumped spec number for initial rh 6.0 build * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com> - build root * Wed Jul 15 1998 Donnie Barnes <djb@redhat.com> - added small patch to 1.5 for longer device names * Mon Apr 27 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com> - upgraded to 1.5 - various spec file clean ups - eject rocks! * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> - built against glibc