|
@@ -1,5 +1,5 @@
|
|
|
%define name ntfsprogs
|
|
|
-%define ver 1.13.0
|
|
|
+%define ver 2.0.0
|
|
|
%define rel 1%{?_dist_release}
|
|
|
|
|
|
Summary: NTFS filesystem libraries and utilities
|
|
@@ -7,7 +7,15 @@ Summary(ja): NTFS ファイルシステム用ライブラリおよびユーテ
|
|
|
Name: %{name}
|
|
|
Version: %{ver}
|
|
|
Release: %{rel}
|
|
|
-Source: http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.gz
|
|
|
+Source: http://prdownloads.sf.net/linux-ntfs/ntfsprogs-%{ver}.tar.bz2
|
|
|
+Patch0: ntfsprogs-2.0.0-build-extras-by-default.patch
|
|
|
+Patch1: ntfsprogs-2.0.0-mbonly-info.patch
|
|
|
+Patch2: ntfsprogs-2.0.0-check_volume.patch
|
|
|
+Patch3: ntfsprogs-2.0.0-undelete-segfault-fix.patch
|
|
|
+Patch4: ntfsprogs-2.0.0-avoid_crash_on_failed_readall_attr.patch
|
|
|
+Patch5: ntfsprogs-2.0.0-implicit-DSO-libgcrypt.patch
|
|
|
+
|
|
|
+BuildRequires: libuuid-devel
|
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
|
License: GPL
|
|
|
Group: System Environment/Base
|
|
@@ -55,12 +63,18 @@ with libntfs.
|
|
|
|
|
|
%prep
|
|
|
%setup
|
|
|
+%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
+%patch2 -p1 -b .check_volume
|
|
|
+%patch3 -p1 -b .undelete-segfault-fix
|
|
|
+%patch4 -p1 -b .avoid_crash_on_failed_readall_attr
|
|
|
+%patch5 -p1 -b .DSO
|
|
|
|
|
|
%build
|
|
|
+autoreconf -if
|
|
|
if [ -n "$LINGUAS" ]; then unset LINGUAS; fi
|
|
|
-%configure --enable-gnome-vfs
|
|
|
-make
|
|
|
-
|
|
|
+%configure --enable-gnome-vfs --disable-static
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
@@ -78,12 +92,14 @@ rm -rf "$RPM_BUILD_ROOT"
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%doc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO.include TODO.libntfs TODO.ntfsprogs doc/CodingStyle doc/attribute_definitions doc/attributes.txt doc/compression.txt doc/tunable_settings doc/template.c doc/template.h doc/system_files.txt doc/system_security_descriptors.txt
|
|
|
-%{_bindir}/ntfs[^m][^o]*
|
|
|
+# %{_bindir}/ntfs[^m][^o]*
|
|
|
+%{_bindir}/*
|
|
|
%{_sbindir}/*
|
|
|
/sbin/mkfs.ntfs
|
|
|
%{_mandir}/man8/mkntfs.8*
|
|
|
%{_mandir}/man8/mkfs.ntfs.8*
|
|
|
%{_mandir}/man8/ntfs[^m][^o]*.8*
|
|
|
+%{_mandir}/man8/libntfs*
|
|
|
%{_libdir}/libntfs.*so*
|
|
|
|
|
|
%files gnomevfs
|
|
@@ -95,10 +111,15 @@ rm -rf "$RPM_BUILD_ROOT"
|
|
|
%files devel
|
|
|
%defattr(-,root,root)
|
|
|
%{_includedir}/*
|
|
|
-%{_libdir}/libntfs.*a*
|
|
|
-%{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
|
|
|
+# %{_libdir}/libntfs.*a*
|
|
|
+# %{_libdir}/gnome-vfs-2.0/modules/libntfs-gnomevfs.*a*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Nov 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.0.0-1
|
|
|
+- new upstream release
|
|
|
+- remove *.a files from -devel pkg
|
|
|
+- fix files list
|
|
|
+
|
|
|
* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.13.0-1vl5
|
|
|
- applied new versioning policy, spec in utf-8
|
|
|
- removed *.la
|