]> git.pld-linux.org Git - packages/xfsdump.git/blobdiff - xfsdump.spec
- updated to 3.1.4
[packages/xfsdump.git] / xfsdump.spec
index 2d974144776a43877be21b00fe5a94b728fc6be4..f7e2aedfc4611a336ebf1f974998c9edd94d26f9 100644 (file)
@@ -1,16 +1,16 @@
 Summary:       Tools for the XFS filesystem
 Summary(pl.UTF-8):     Narzędzia do systemu plikowego XFS
 Name:          xfsdump
-Version:       3.0.0
-Release:       2
+Version:       3.1.4
+Release:       1
 License:       GPL v2
 Group:         Applications/Archiving
-Source0:       ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
-# Source0-md5: 63f05d3d131cedae2a1cdf78b47e448d
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
+# Source0-md5: a8b1761be5feb363131e7b506639ad4c
 Patch0:                %{name}-miscfix.patch
-URL:           http://oss.sgi.com/projects/xfs/
+URL:           http://www.xfs.org/
 BuildRequires: attr-devel >= 2.4.15
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRequires: libuuid-devel
@@ -58,7 +58,7 @@ używane włącznie z pełną kopią.
 %setup -q
 %patch0 -p1
 
-rm -f aclocal.m4
+%{__rm} aclocal.m4
 
 %build
 %{__aclocal} -I m4
@@ -66,10 +66,11 @@ rm -f aclocal.m4
 CPPFLAGS="-I/usr/include/ncurses"
 %configure \
        DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}" \
-       OPTIMIZER="%{rpmcflags} -I/usr/include/ncurses"
+       OPTIMIZER="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses"
 
 %{__make} \
-       LIBUUID="-luuid"
+       LIBUUID="-luuid" \
+       V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,19 +85,19 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
 %{__make} install-dev \
        DIST_MANIFEST="$DIST_INSTALL_DEV"
 
-rm -rf $RPM_BUILD_ROOT%{_docdir}/xfsdump
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xfsdump
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc doc/{CHANGES,README.*}
 %attr(755,root,root) %{_sbindir}/xfsdump
 %attr(755,root,root) %{_sbindir}/xfsrestore
-%attr(755,root,root) %{_bindir}/xfsdump
-%attr(755,root,root) %{_bindir}/xfsinvutil
-%attr(755,root,root) %{_bindir}/xfsrestore
+%attr(755,root,root) %{_sbindir}/xfsinvutil
 %{_mandir}/man8/xfsdump.8*
 %{_mandir}/man8/xfsinvutil.8*
 %{_mandir}/man8/xfsrestore.8*
This page took 0.068425 seconds and 4 git commands to generate.