]> git.pld-linux.org Git - packages/eject.git/blobdiff - eject.spec
- added includes patch (don't include headers from /usr/src/linux)
[packages/eject.git] / eject.spec
index c47b65baadf4a419ed8f68640435818125c0742c..6d3d7624e8623972c23c3d87f8fc44d167f15a57 100644 (file)
@@ -8,15 +8,18 @@ Summary(ru):  
 Summary(tr):   Eject yeteneði olan aygýtlarý kontrol eder
 Summary(uk):   ðÒÏÇÒÁÍÁ, ÝÏ ×ÉÛÔÏ×ÈÕ¤ ÚͦÎΦ ÎÏÓ¦§ Ú ÎÁËÏÐÉÞÕ×ÁÞ¦×
 Name:          eject
-Version:       2.0.12
-Release:       5
+Version:       2.0.13
+Release:       2
 License:       GPL
-Vendor:                Jeff Tranter <tranter@users.sourceforge.net>
 Group:         Applications/System
 Source0:       http://www.pobox.com/~tranter/%{name}-%{version}.tar.gz
+# Source0-md5: b796ad77beb4e7bdd08d6149701ab778
 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/
+# Source1-md5: dd66d948c94fe0f0b4483c51873e6e20
+Source2:       %{name}-pl.po
+Patch0:                %{name}-gettext.patch
+Patch1:                %{name}-includes.patch
+URL:           http://eject.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
@@ -68,11 +71,20 @@ Iomega Jaz 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+
+# standardize locale names
+mv -f po/{de_DE,de}.po
+mv -f po/{fr_FR,fr}.po
+mv -f po/{ja_JP.eucJP,ja}.po
+mv -f po/{zh_TW.Big5,zh_TW}.po
+
+cp %{SOURCE2} po/pl.po
 
 %build
 rm -f missing
 %{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 %configure
@@ -81,14 +93,17 @@ rm -f missing
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS PORTING PROBLEMS README TODO
 %attr(755,root,root) %{_bindir}/*
This page took 0.087669 seconds and 4 git commands to generate.