]> git.pld-linux.org Git - packages/eject.git/blobdiff - eject.spec
- updated non-english-man-pages (pl/eject.1)
[packages/eject.git] / eject.spec
index 5107512f25b152ddcf1a75e42352fa5c0603c421..2527bd28841151470089a8b4b23bcd192e035e5e 100644 (file)
@@ -1,17 +1,19 @@
 Summary:       ejects ejectable media and controls auto ejection
-Summary(de):   wirft austauschbare Datenträger aus und steuert Auswurf 
+Summary(de):   wirft austauschbare Datenträger aus und steuert Auswurf
 Summary(fr):   éjecte un support éjectable et commande l'éjection automatique
 Summary(pl):   Eject otwieranie szuflad CDROM, Jaz, ZIP i innych
 Summary(tr):   Eject yeteneði olan aygýtlarý kontrol eder
 Name:          eject
-Version:       2.0.3
-Release:       1
+Version:       2.0.12
+Release:       3
 License:       GPL
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Source0:       http://metalab.unc.edu/pub/Linux/utils/disk-management/%{name}-%{version}.tar.gz
-URL:           http://www.pobox.com/~tranter/eject.html
+Source0:       http://members.home.net/jefftranter/%{name}-%{version}.tar.gz
+Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+Patch0:                %{name}-DESTDIR_fix.patch
+URL:           http://sourceforge.net/projects/eject/
+BuildRequires: automake
+BuildRequires: autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,18 +41,25 @@ CD-ROM'lar, Zip s
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} CFLAGS="-Wall %{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
+rm -f missing
+gettextize --copy --force
+aclocal
+autoconf
+automake -a -c -f
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install eject $RPM_BUILD_ROOT%{_bindir}/eject
-install eject.1 $RPM_BUILD_ROOT%{_mandir}/man1/eject.1
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README ChangeLog
+bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+
+gzip -9nf AUTHORS ChangeLog NEWS PORTING PROBLEMS README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,5 +67,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc *.gz
-%attr(755,root,root) %{_bindir}/eject
+%attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
+%lang(fi) %{_mandir}/fi/man1/*
+%lang(hu) %{_mandir}/hu/man1/*
+%lang(ja) %{_mandir}/ja/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
This page took 0.068999 seconds and 4 git commands to generate.