]> git.pld-linux.org Git - packages/xfsdump.git/blobdiff - xfsdump.spec
- updated to 3.1.4
[packages/xfsdump.git] / xfsdump.spec
index abb480977c5e038cd7e86d6b0665577d835f9f08..f7e2aedfc4611a336ebf1f974998c9edd94d26f9 100644 (file)
@@ -1,18 +1,18 @@
 Summary:       Tools for the XFS filesystem
 Summary(pl.UTF-8):     Narzędzia do systemu plikowego XFS
 Name:          xfsdump
-Version:       2.2.46
+Version:       3.1.4
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/Archiving
-Source0:       ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
-# Source0-md5: c233a3f032d183d5bfa5dce210a08418
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
+# Source0-md5: a8b1761be5feb363131e7b506639ad4c
 Patch0:                %{name}-miscfix.patch
-Patch1:                %{name}-libtool.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
 BuildRequires: ncurses-devel
 BuildRequires: xfsprogs-devel >= 2.6.9
@@ -57,9 +57,8 @@ używane włącznie z pełną kopią.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
-rm -f aclocal.m4
+%{__rm} aclocal.m4
 
 %build
 %{__aclocal} -I m4
@@ -67,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
@@ -85,17 +85,19 @@ export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV
 %{__make} install-dev \
        DIST_MANIFEST="$DIST_INSTALL_DEV"
 
-rm -f $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8*
-echo ".so man8/xfsdq.8" > $RPM_BUILD_ROOT%{_mandir}/man8/xfsrq.8
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xfsdump
 
-rm -rf $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) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%attr(755,root,root) %{_sbindir}/xfsdump
+%attr(755,root,root) %{_sbindir}/xfsrestore
+%attr(755,root,root) %{_sbindir}/xfsinvutil
+%{_mandir}/man8/xfsdump.8*
+%{_mandir}/man8/xfsinvutil.8*
+%{_mandir}/man8/xfsrestore.8*
This page took 0.027268 seconds and 4 git commands to generate.