]> git.pld-linux.org Git - packages/exfat-utils.git/commitdiff
- new URLs, updated to 1.2.1; relicensed to GPL v2+ since 1.1.0 auto/th/exfat-utils-1.2.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 4 Oct 2015 09:38:38 +0000 (11:38 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 4 Oct 2015 09:38:38 +0000 (11:38 +0200)
- 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 [new file with mode: 0644]
exfat-utils.spec

diff --git a/exfat-utils-man.patch b/exfat-utils-man.patch
new file mode 100644 (file)
index 0000000..6132a8b
--- /dev/null
@@ -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@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
index a5ec06aea2c0fd1d74da1df219980c87d908cceb..f064c4e4a7e8b3f923281d1df13863cd4e8f71a0 100644 (file)
@@ -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
This page took 0.113517 seconds and 4 git commands to generate.