Selaa lähdekoodia

xfsprogs-5.2.1-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12132 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 vuotta sitten
vanhempi
commit
583ac20bbb
1 muutettua tiedostoa jossa 19 lisäystä ja 23 poistoa
  1. 19 23
      x/xfsprogs/xfsprogs-vl.spec

+ 19 - 23
x/xfsprogs/xfsprogs-vl.spec

@@ -1,22 +1,23 @@
 Summary:	Utilities for managing the XFS filesystem
 Summary(ja):	XFS ファイルシステムを管理するためのユーティリティ
 Name:		xfsprogs
-Version:	3.2.0
-Release:        2%{?_dist_release}
+Version:	5.2.1
+Release:        1%{?_dist_release}
 # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
 # in source, with no mention of version.
 # doc/COPYING file specifies what is GPL and what is LGPL
 # but no mention of versions in the source.
 License:	GPL+ and LGPLv2+
 Group:		System Environment/Base
-URL:		http://oss.sgi.com/projects/xfs/
-Source0:	ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}-%{version}.tar.gz
-Source1:	xfsprogs-wrapper.h
+URL:		http://xfs.org/
+Source0:	https://mirrors.edge.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:	libtool, gettext
-BuildRequires:	e2fsprogs-devel
-BuildRequires:	libuuid-devel
+BuildRequires:	libattr-devel
 BuildRequires:  libblkid-devel
+BuildRequires:  libicu-devel
+BuildRequires:	libuuid-devel
+BuildRequires:  lvm2-devel
 BuildRequires:  readline-devel
 
 %description
@@ -56,17 +57,14 @@ export tagname=CC DEBUG=-DNDEBUG
 
 %configure \
         --enable-readline=yes   \
-        --enable-blkid=yes
-
-# Kill rpaths
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+        --enable-blkid=yes      \
+        --enable-lto=no
 
 make V=1 %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa
+make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev
 
 # nuke .la files, etc
 rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
@@ -78,15 +76,6 @@ ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
 # remove non-versioned docs location
 rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
 
-# ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
-%define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64
-
-%ifarch %{multilib_arches}
-mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \
-      $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs-%{_arch}.h
-install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h
-%endif
-
 %find_lang %{name}
 
 %clean
@@ -98,10 +87,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc doc/CHANGES doc/COPYING doc/CREDITS README
+%license LICENSES/*
+%doc README
 /sbin/*
 %{_sbindir}/*
 /%{_lib}/*.so.*
+%dir %{_libdir}/xfsprogs
+%{_libdir}/xfsprogs/xfs_scrub_all.cron
 %{_mandir}/man8/*
 %{_mandir}/man5/*
 
@@ -109,9 +101,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %{_includedir}/xfs
 %{_libdir}/*.so
+%{_mandir}/man2/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Aug 31 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.1-1
+- new upstream release.
+
 * Thu Apr  2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.0-2
 - rebuilt with readline 6.3