Browse Source

-update to 1.2.4 & fix [BTS:0003059]

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10820 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 7 years ago
parent
commit
55e26c9691
1 changed files with 23 additions and 9 deletions
  1. 23 9
      f/fuse-exfat/fuse-exfat-vl.spec

+ 23 - 9
f/fuse-exfat/fuse-exfat-vl.spec

@@ -1,40 +1,54 @@
 Name:           fuse-exfat
 Summary:        Free exFAT file system implementation
 Summary(ja):    フリーの exFAT ファイルシステム実装
-Version:        1.0.1
+Version:        1.2.4
 Release:        1%{?_dist_release}
 License:        GPLv3+
 Group:          System Environment/Base
 Source0:        http://exfat.googlecode.com/files/fuse-exfat-%{version}.tar.gz
 URL:            http://code.google.com/p/exfat/
 BuildRequires:  fuse-devel
-BuildRequires:  scons
+# BuildRequires:  scons
 
 %description
 This driver is the first free exFAT file system implementation with write
 support. exFAT is a simple file system created by Microsoft. It is intended
 to replace FAT32 removing some of it's limitations. exFAT is a standard FS
 for SDXC memory cards.
+#'
 
 %prep
 %setup -q
 
 %build
-scons CFLAGS="%{optflags}"
+# scons CFLAGS="%{optflags}"
+%{configure}
+%{__make} %{?_smp_mflags}
 
 %install
-scons install DESTDIR=%{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_mandir}/man8/
-cp -a fuse/mount.exfat-fuse.8 %{buildroot}%{_mandir}/man8/mount.exfat-fuse.8
-ln -s %{_mandir}/man8/mount.exfat-fuse.8 %{buildroot}%{_mandir}/man8/mount.exfat.8
+# scons install DESTDIR=%{buildroot}%{_sbindir}
+%{makeinstall}
+# move /usr/sbin/* to /sbin/* for automount
+%{__mkdir_p} %{buildroot}/sbin
+%{__ln_s} %{_sbindir}/mount.exfat %{buildroot}/sbin/
+%{__mv} %{buildroot}/%{_sbindir}/* %{buildroot}/sbin/
+%{__rm} -rf %{buildroot}/%{_sbindir}
+
+%{__mkdir} -p %{buildroot}%{_mandir}/man8/
+%{__cp} -a fuse/mount.exfat-fuse.8 %{buildroot}%{_mandir}/man8/mount.exfat-fuse.8
+%{__ln_s} %{_mandir}/man8/mount.exfat-fuse.8 %{buildroot}%{_mandir}/man8/mount.exfat.8
 
 %files
 %doc COPYING
-%{_sbindir}/mount.exfat-fuse
-%{_sbindir}/mount.exfat
+/sbin/mount.exfat
+/sbin/mount.exfat-fuse
 %{_mandir}/man8/*
 
 %changelog
+* Sat Nov 19 2016 Toshiaki Ara <ara_t@384.jp>  1.2.4-1
+- new upstream release
+- move /usr/sbin/* to /sbin/* for automaunt
+
 * Fri Nov 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.1-1
 - initial build for Vine Linux