[packages/fuse-exfat] - new URLs, updated to 1.2.1; relicensed to GPL v2+ since 1.1.0 - upstream switched to autotools, so

qboosh qboosh at pld-linux.org
Sun Oct 4 12:13:02 CEST 2015


commit a323f7c61d5d1e428c61409dae26d4740e32a2cf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 4 12:14:01 2015 +0200

    - new URLs, updated to 1.2.1; relicensed to GPL v2+ since 1.1.0
    - upstream switched to autotools, so things are simpler now
    - added man patch to disable no-installman option and package man pages

 fuse-exfat-man.patch | 11 +++++++++++
 fuse-exfat.spec      | 44 ++++++++++++++++++++++----------------------
 2 files changed, 33 insertions(+), 22 deletions(-)
---
diff --git a/fuse-exfat.spec b/fuse-exfat.spec
index 82811c4..693c147 100644
--- a/fuse-exfat.spec
+++ b/fuse-exfat.spec
@@ -1,21 +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.1.0
+Version:	1.2.1
 Release:	1
-License:	GPL v3+
+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:	%{name}-%{version}.tar.gz
-# Source0-md5:	b2a23c032661cb1c1da4514e7af33916
-URL:		http://code.google.com/p/exfat/
+#Source0Download: https://github.com/relan/exfat/releases
+Source0:	https://github.com/relan/exfat/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	9d889d2c3d8c3080c442eb55717ee73b
+Patch0:		%{name}-man.patch
+URL:		https://github.com/relan/exfat
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1:1.11.2
 BuildRequires:	libfuse-devel >= 2.6
-BuildRequires:	rpmbuild(macros) >= 1.385
-BuildRequires:	scons
+BuildRequires:	pkgconfig
 Requires:	libfuse >= 2.6
 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.
@@ -27,26 +30,23 @@ moduł FUSE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-# "fuse: unknown option `'" error with gold
-install -d ld-dir
-[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
-
-PATH=$(pwd)/ld-dir:$PATH
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 
-export CFLAGS="%{rpmcflags} -std=c99"
-%scons
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-export CFLAGS="%{rpmcflags} -std=c99"
-%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
@@ -54,7 +54,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*
diff --git a/fuse-exfat-man.patch b/fuse-exfat-man.patch
new file mode 100644
index 0000000..a6f28fd
--- /dev/null
+++ b/fuse-exfat-man.patch
@@ -0,0 +1,11 @@
+--- fuse-exfat-1.2.1/configure.ac.orig	2015-09-24 07:45:55.000000000 +0200
++++ fuse-exfat-1.2.1/configure.ac	2015-10-04 11:43:39.207363931 +0200
+@@ -25,7 +25,7 @@
+ 	[relan at users.noreply.github.com],
+ 	[fuse-exfat],
+ 	[https://github.com/relan/exfat])
+-AM_INIT_AUTOMAKE([1.11.2 -Wall -Werror foreign subdir-objects no-installman])
++AM_INIT_AUTOMAKE([1.11.2 -Wall -Werror foreign subdir-objects])
+ AC_PROG_CC
+ AC_PROG_CC_C99
+ AC_PROG_RANLIB
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fuse-exfat.git/commitdiff/a323f7c61d5d1e428c61409dae26d4740e32a2cf



More information about the pld-cvs-commit mailing list