]> git.pld-linux.org Git - packages/fuse-exfat.git/blobdiff - fuse-exfat.spec
- updated to 1.4.0; fuse3 is preferred now
[packages/fuse-exfat.git] / fuse-exfat.spec
index 08da885185ee2341001296345126ab5275c6689a..1d930c0e4e86a0e422025255540fcee807e99be2 100644 (file)
@@ -1,24 +1,24 @@
 Summary:       FUSE module to access exFAT filesystem
 Summary(pl.UTF-8):     Moduł FUSE pozwalający na dostęp do systemu plików exFAT
 Name:          fuse-exfat
-Version:       1.0.1
-Release:       2
-License:       GPL v3+
+Version:       1.4.0
+Release:       1
+License:       GPL v2+
 Group:         Applications/System
-#Source0Download: http://code.google.com/p/exfat/downloads/list
-Source0:       http://exfat.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: 7988a5111841593231f20af22153362d
-# svn diff -r342:HEAD http://exfat.googlecode.com/svn/trunk/fuse > exfat-svn-fuse.patch
-Patch0:                exfat-svn-fuse.patch
-# svn diff -r342:HEAD http://exfat.googlecode.com/svn/trunk/libexfat > exfat-svn-libexfat.patch
-Patch1:                exfat-svn-libexfat.patch
-URL:           http://code.google.com/p/exfat/
-BuildRequires: libfuse-devel >= 2.6
-BuildRequires: rpmbuild(macros) >= 1.385
-BuildRequires: scons
-Requires:      libfuse >= 2.6
+#Source0Download: https://github.com/relan/exfat/releases
+Source0:       https://github.com/relan/exfat/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 765bf2484d48e5c253d0d8cb8de4f8c0
+URL:           https://github.com/relan/exfat
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.11.2
+# also libfuse-devel >= 2.6 possible, but libfuse3 is preferred
+BuildRequires: libfuse3-devel >= 3
+BuildRequires: pkgconfig
+Requires:      libfuse3-tools >= 3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sbindir        /sbin
+
 %description
 This project aims to provide a full-featured exFAT file system
 implementation for Linux and other Unix-like systems as a FUSE module.
@@ -30,22 +30,22 @@ moduł FUSE.
 
 %prep
 %setup -q
-cd fuse
-%patch0 -p0
-cd ../libexfat
-%patch1 -p0
 
 %build
-%scons
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%scons install \
-       DESTDIR=$RPM_BUILD_ROOT/sbin
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_mandir}/man8
-install fuse/mount.exfat-fuse.8 $RPM_BUILD_ROOT%{_mandir}/man8
 echo '.so mount.exfat-fuse.8' >$RPM_BUILD_ROOT%{_mandir}/man8/mount.exfat.8
 
 %clean
@@ -53,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog
+%doc ChangeLog README
 %attr(755,root,root) /sbin/mount.exfat
 %attr(755,root,root) /sbin/mount.exfat-fuse
 %{_mandir}/man8/mount.exfat.8*
This page took 0.03089 seconds and 4 git commands to generate.