Summary(uk): ðÒÏÇÒÁÍÁ, ÝÏ ×ÉÛÔÏ×ÈÕ¤ ÚͦÎΦ ÎÏÓ¦§ Ú ÎÁËÏÐÉÞÕ×ÁÞ¦×
Name: eject
Version: 2.0.12
-Release: 5
+Release: 6
License: GPL
-Vendor: Jeff Tranter <tranter@users.sourceforge.net>
Group: Applications/System
Source0: http://www.pobox.com/~tranter/%{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
+Patch1: %{name}-gettext.patch
URL: http://sourceforge.net/projects/eject/
-BuildRequires: automake
BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
rm -f missing
%{__gettextize}
-aclocal
+%{__aclocal} -I m4
%{__autoconf}
%{__automake}
%configure
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
-gzip -9nf AUTHORS ChangeLog NEWS PORTING PROBLEMS README TODO
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS PORTING PROBLEMS README TODO
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%lang(fi) %{_mandir}/fi/man1/*