]>
Commit | Line | Data |
---|---|---|
cdb34aa5 JB |
1 | Summary: FUSE module to access exFAT filesystem |
2 | Summary(pl.UTF-8): Moduł FUSE pozwalający na dostęp do systemu plików exFAT | |
3 | Name: fuse-exfat | |
a29c9ddf | 4 | Version: 1.0.1 |
68e2756a | 5 | Release: 2 |
cdb34aa5 JB |
6 | License: GPL v3+ |
7 | Group: Applications/System | |
8 | #Source0Download: http://code.google.com/p/exfat/downloads/list | |
9 | Source0: http://exfat.googlecode.com/files/%{name}-%{version}.tar.gz | |
a29c9ddf | 10 | # Source0-md5: 7988a5111841593231f20af22153362d |
68e2756a AM |
11 | # svn diff -r342:HEAD http://exfat.googlecode.com/svn/trunk/fuse > exfat-svn-fuse.patch |
12 | Patch0: exfat-svn-fuse.patch | |
13 | # svn diff -r342:HEAD http://exfat.googlecode.com/svn/trunk/libexfat > exfat-svn-libexfat.patch | |
14 | Patch1: exfat-svn-libexfat.patch | |
cdb34aa5 JB |
15 | URL: http://code.google.com/p/exfat/ |
16 | BuildRequires: libfuse-devel >= 2.6 | |
17 | BuildRequires: rpmbuild(macros) >= 1.385 | |
18 | BuildRequires: scons | |
19 | Requires: libfuse >= 2.6 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This project aims to provide a full-featured exFAT file system | |
24 | implementation for Linux and other Unix-like systems as a FUSE module. | |
25 | ||
cdb34aa5 JB |
26 | %description -l pl.UTF-8 |
27 | Celem tego projektu jest umożliwienie pełnego dostępu do systemu | |
28 | plików exFAT z poziomu Linuksa i innych systemów uniksowych poprzez | |
29 | moduł FUSE. | |
30 | ||
cdb34aa5 JB |
31 | %prep |
32 | %setup -q | |
68e2756a AM |
33 | cd fuse |
34 | %patch0 -p0 | |
35 | cd ../libexfat | |
36 | %patch1 -p0 | |
cdb34aa5 JB |
37 | |
38 | %build | |
1e21c9d9 | 39 | %scons |
cdb34aa5 JB |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
0ae7754a JB |
44 | %scons install \ |
45 | DESTDIR=$RPM_BUILD_ROOT/sbin | |
cdb34aa5 | 46 | |
0ae7754a JB |
47 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
48 | install fuse/mount.exfat-fuse.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
49 | echo '.so mount.exfat-fuse.8' >$RPM_BUILD_ROOT%{_mandir}/man8/mount.exfat.8 | |
cdb34aa5 JB |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc ChangeLog | |
cdb34aa5 JB |
57 | %attr(755,root,root) /sbin/mount.exfat |
58 | %attr(755,root,root) /sbin/mount.exfat-fuse | |
0ae7754a JB |
59 | %{_mandir}/man8/mount.exfat.8* |
60 | %{_mandir}/man8/mount.exfat-fuse.8* |