]> git.pld-linux.org Git - packages/xfsprogs.git/blobdiff - xfsprogs.spec
- updated
[packages/xfsprogs.git] / xfsprogs.spec
index b7f49831265ba6d44326a05e3d7292f738634596..5a3cf122c41cfc50b73ed7f58712be2cec38897c 100644 (file)
@@ -1,20 +1,21 @@
 #
 # Conditional build:
-%bcond_with    static  # link statically with \-luuid
+%bcond_with    static          # link statically with \-luuid
+%bcond_with    dynamic_exe     # link executables dynamically with xfs libs
 #
 Summary:       Tools for the XFS filesystem
 Summary(pl):   Narzêdzia do systemu plików XFS
 Name:          xfsprogs
-Version:       2.7.3
+Version:       2.8.3
 Release:       1
 License:       LGPL v2.1 (libhandle), GPL v2 (the rest)
 Group:         Applications/System
-Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.src.tar.gz
-# Source0-md5: 89728c0d84258c94e629bf39e4ba1509
+Source0:       ftp://linux-xfs.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
+# Source0-md5: 88703cf432f3e958f15a193e508c0e5c
 Patch0:                %{name}-miscfix-v2.patch
 Patch1:                %{name}-install-sh.patch
 Patch2:                %{name}-sharedlibs.patch
-Patch3:                %{name}-cflags.patch
+Patch3:                %{name}-dynamic_exe.patch
 URL:           http://oss.sgi.com/projects/xfs/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -87,11 +88,11 @@ Biblioteki statyczne do XFS.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+%{?with_dynamic_exe:%patch3 -p1}
 
 %build
 DEBUG="%{?debug:-DDEBUG}%{!?debug:-DNDEBUG}"
-OPTIMIZER="%{rpmcflags}"
+OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
 export DEBUG OPTIMIZER
 rm -f aclocal.m4
 %{__aclocal} -I m4
@@ -141,13 +142,15 @@ ln -sf %{_libdir}/$(cd $RPM_BUILD_ROOT%{_libdir}; echo libxlog.so.*.*.*) \
 %{__sed} -e "s|libdir='%{_libdir}'|libdir='%{_libexecdir}'|" \
        $RPM_BUILD_ROOT%{_libexecdir}/lib{disk,handle,xfs,xlog}.la
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README doc/{CHANGES,CREDITS}
 %attr(755,root,root) %{_sbindir}/*
This page took 0.032009 seconds and 4 git commands to generate.