[packages/exfat-utils] - 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 11:37:32 CEST 2015


commit 977d7c449dfc1792f18823cc92344935aee5fb80
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 4 11:38:38 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

 exfat-utils-man.patch | 11 +++++++++++
 exfat-utils.spec      | 43 +++++++++++++++++++++++--------------------
 2 files changed, 34 insertions(+), 20 deletions(-)
---
diff --git a/exfat-utils.spec b/exfat-utils.spec
index a5ec06a..f064c4e 100644
--- a/exfat-utils.spec
+++ b/exfat-utils.spec
@@ -1,21 +1,23 @@
 Summary:	Utilities for exFAT filesystem
 Summary(pl.UTF-8):	Narzędzia do systemu plików exFAT
 Name:		exfat-utils
-Version:	1.1.1
+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:	6f0a276bbfdcdd8c94ac2f72625cc7c9
-URL:		http://code.google.com/p/exfat/
-BuildRequires:	rpmbuild(macros) >= 1.385
-BuildRequires:	scons
+#Source0Download: https://github.com/relan/exfat/releases
+Source0:	https://github.com/relan/exfat/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	33e6356b8bec238944b9ea5d682bdc65
+Patch0:		%{name}-man.patch
+URL:		https://github.com/relan/exfat
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1:1.11.2
 Suggests:	fuse-exfat
 Conflicts:	fuse-exfat < 0.9.4
 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,22 +29,23 @@ moduł FUSE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-export CFLAGS="%{rpmcflags} -std=c99"
-%scons
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-export CFLAGS="%{rpmcflags} -std=c99"
-%scons install \
-	DESTDIR=$RPM_BUILD_ROOT/sbin
 
-install -d $RPM_BUILD_ROOT%{_mandir}/man8
-cp -p dump/dumpexfat.8 \
-	fsck/exfatfsck.8 \
-	label/exfatlabel.8 \
-	mkfs/mkexfatfs.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
 echo '.so man8/exfatfsck.8' >$RPM_BUILD_ROOT%{_mandir}/man8/fsck.exfat.8
 echo '.so man8/mkexfatfs.8' >$RPM_BUILD_ROOT%{_mandir}/man8/mkfs.exfat.8
 
@@ -51,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog
+%doc ChangeLog README
 %attr(755,root,root) /sbin/dumpexfat
 %attr(755,root,root) /sbin/exfatfsck
 %attr(755,root,root) /sbin/exfatlabel
diff --git a/exfat-utils-man.patch b/exfat-utils-man.patch
new file mode 100644
index 0000000..6132a8b
--- /dev/null
+++ b/exfat-utils-man.patch
@@ -0,0 +1,11 @@
+--- exfat-utils-1.2.1/configure.ac.orig	2015-09-24 07:46:01.000000000 +0200
++++ exfat-utils-1.2.1/configure.ac	2015-10-04 11:28:12.297402828 +0200
+@@ -25,7 +25,7 @@
+ 	[relan at users.noreply.github.com],
+ 	[exfat-utils],
+ 	[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/exfat-utils.git/commitdiff/977d7c449dfc1792f18823cc92344935aee5fb80



More information about the pld-cvs-commit mailing list