]> git.pld-linux.org Git - packages/di.git/commitdiff
- version 4.1
authortommat <tommat@pld-linux.org>
Mon, 3 Oct 2005 18:02:12 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    di.spec -> 1.24

di.spec

diff --git a/di.spec b/di.spec
index 1498d87005c7c963b8fe357ed3ae36e4dea9cbe5..ae11cc6a5de71ed78f8648b8bd135f26ca5a5734 100644 (file)
--- a/di.spec
+++ b/di.spec
@@ -1,12 +1,12 @@
 Summary:       Disk Info - disk information utility
 Summary(pl):   Disk Info - informacje o dyskach 
 Name:          di
-Version:       3.11
+Version:       4.1
 Release:       1
-License:       GPL
+License:       custom (see LICENSE* files)
 Group:         Applications/System
 Source0:       http://www.gentoo.com/di/%{name}-%{version}.tar.gz
-# Source0-md5: 13f5c38bde30091ae53fb8483426ce34
+# Source0-md5: a7988245f9fb0632568b340f25056d64
 URL:           http://www.gentoo.com/di/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,27 +29,29 @@ Jest zaprojektowane w spos
 %setup -q
 
 %build
-./Configure -ds -e \
-       -Dprefix=%{prefix} \
-       -Dcc="%{__cc}" \
-       -Doptimize="%{rpmcflags}"
-
-%{__make}
+%{__make} \
+       prefix=%{_prefix} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
 %{__make} install \
-       PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
+       
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{de_DE,de}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README MANIFEST
+%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 
This page took 0.246842 seconds and 4 git commands to generate.