]>
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 | |
7f7025f4 AO |
4 | Version: 1.1.0 |
5 | Release: 1 | |
cdb34aa5 JB |
6 | License: GPL v3+ |
7 | Group: Applications/System | |
8 | #Source0Download: http://code.google.com/p/exfat/downloads/list | |
7f7025f4 AO |
9 | #Source0: http://exfat.googlecode.com/files/%{name}-%{version}.tar.gz |
10 | Source0: %{name}-%{version}.tar.gz | |
11 | # Source0-md5: b2a23c032661cb1c1da4514e7af33916 | |
cdb34aa5 JB |
12 | URL: http://code.google.com/p/exfat/ |
13 | BuildRequires: libfuse-devel >= 2.6 | |
14 | BuildRequires: rpmbuild(macros) >= 1.385 | |
15 | BuildRequires: scons | |
16 | Requires: libfuse >= 2.6 | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | This project aims to provide a full-featured exFAT file system | |
21 | implementation for Linux and other Unix-like systems as a FUSE module. | |
22 | ||
cdb34aa5 JB |
23 | %description -l pl.UTF-8 |
24 | Celem tego projektu jest umożliwienie pełnego dostępu do systemu | |
25 | plików exFAT z poziomu Linuksa i innych systemów uniksowych poprzez | |
26 | moduł FUSE. | |
27 | ||
cdb34aa5 JB |
28 | %prep |
29 | %setup -q | |
30 | ||
31 | %build | |
b2befcbe AM |
32 | # "fuse: unknown option `'" error with gold |
33 | install -d ld-dir | |
34 | [ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld | |
35 | ||
36 | PATH=$(pwd)/ld-dir:$PATH | |
37 | ||
7f7025f4 | 38 | export CFLAGS="%{rpmcflags} -std=c99" |
1e21c9d9 | 39 | %scons |
cdb34aa5 JB |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
7f7025f4 | 44 | export CFLAGS="%{rpmcflags} -std=c99" |
0ae7754a JB |
45 | %scons install \ |
46 | DESTDIR=$RPM_BUILD_ROOT/sbin | |
cdb34aa5 | 47 | |
0ae7754a JB |
48 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
49 | install fuse/mount.exfat-fuse.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
50 | echo '.so mount.exfat-fuse.8' >$RPM_BUILD_ROOT%{_mandir}/man8/mount.exfat.8 | |
cdb34aa5 JB |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc ChangeLog | |
cdb34aa5 JB |
58 | %attr(755,root,root) /sbin/mount.exfat |
59 | %attr(755,root,root) /sbin/mount.exfat-fuse | |
0ae7754a JB |
60 | %{_mandir}/man8/mount.exfat.8* |
61 | %{_mandir}/man8/mount.exfat-fuse.8* |