Summary: Disk Info - disk information utility
-Summary(pl): Disk Info - informacje o dyskach
+Summary(pl): Disk Info - informacje o dyskach
Name: di
-Version: 4.3
+Version: 4.8
Release: 1
License: custom (see LICENSE* files)
Group: Applications/System
Source0: http://www.gentoo.com/di/%{name}-%{version}.tar.gz
-# Source0-md5: 50be422e4ff8ec1dbaf92120c8ce2e53
+# Source0-md5: fb200576e6f9b0b6151c105263a97831
URL: http://www.gentoo.com/di/
+BuildRequires: gettext-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%{__make} install \
prefix=$RPM_BUILD_ROOT%{_prefix} \
MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
-
+
mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README MANIFEST LICENSE*
%attr(755,root,root) %{_bindir}/di
%attr(755,root,root) %{_bindir}/mi
%{_mandir}/man1/di.*
-%lang(de) %{_datadir}/locale/de/LC_MESSAGES/di.mo
-%lang(en_US) %{_datadir}/locale/en_US/LC_MESSAGES/di.mo