Browse Source

ntfs-3g-2016.2.22-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10698 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
8c76934460
1 changed files with 19 additions and 2 deletions
  1. 19 2
      n/ntfs-3g/ntfs-3g-vl.spec

+ 19 - 2
n/ntfs-3g/ntfs-3g-vl.spec

@@ -4,13 +4,16 @@ Summary: 	Linux NTFS userspace driver
 Summary(ja): 	Linux NTFS ユーザ空間ドライバ
 Name:		ntfs-3g
 
-Version:	2015.3.14
-Release:	3%{?_dist_release}
+Version:	2016.2.22
+Release:	1%{?_dist_release}
 
 License:	GPLv2+
 Group:		System Environment/Base
 URL:		http://www.ntfs-3g.org/
 
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
 Source0:	http://tuxera.com/opensource/%{name}_ntfsprogs-%{version}.tgz
 Source1:        20-ntfs-config-write-policy.fdi
 Patch0:         ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
@@ -19,7 +22,9 @@ BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  libtool
 BuildRequires:  libattr-devel
+%if %{?_dist_release} != "vl6"
 BuildRequires:  libconfig-devel
+%endif
 BuildRequires:  libgcrypt-devel
 BuildRequires:  gnutls-devel
 BuildRequires:  libuuid-devel
@@ -110,6 +115,11 @@ ln -s /bin/ntfsmount $RPM_BUILD_ROOT%{_bindir}/ntfsmount
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
 mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
 
+%if %{?_dist_release} == "vl6"
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
+%endif
+
 # We get this on our own, thanks.
 rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/README
 
@@ -139,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/mount.lowntfs-3g.*
 %{_mandir}/man8/mount.ntfs-3g.*
 %{_mandir}/man8/ntfs-3g*
+%if %{?_dist_release} == "vl6"
+%{_datadir}/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi
+%endif
 
 %files devel
 %defattr(-,root,root,-)
@@ -161,6 +174,7 @@ rm -rf $RPM_BUILD_ROOT
 /bin/ntfsfallocate
 /bin/ntfsmftalloc
 /bin/ntfsmove
+/bin/ntfsrecover
 /bin/ntfstruncate
 /bin/ntfswipe
 /sbin/fsck.ntfs
@@ -177,6 +191,9 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{_mandir}/man8/ntfs-3g*
 
 %changelog
+* Mon Jul 25 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2016.2.22-1
+- new upstream release.
+
 * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2015.3.14-3
 - rebuilt with gnutls-3.4.x.