]> git.pld-linux.org Git - packages/fuse-exfat.git/blob - fuse-exfat.spec
- rel 3; magic bugs happen when built with gold; force bfd linker
[packages/fuse-exfat.git] / fuse-exfat.spec
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
4 Version:        1.0.1
5 Release:        3
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
10 # Source0-md5:  7988a5111841593231f20af22153362d
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
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
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
31 %prep
32 %setup -q
33 cd fuse
34 %patch0 -p0
35 cd ../libexfat
36 %patch1 -p0
37
38 %build
39 # "fuse: unknown option `'" error with gold
40 install -d ld-dir
41 [ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
42
43 PATH=$(pwd)/ld-dir:$PATH
44
45 %scons
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %scons install \
51         DESTDIR=$RPM_BUILD_ROOT/sbin
52
53 install -d $RPM_BUILD_ROOT%{_mandir}/man8
54 install fuse/mount.exfat-fuse.8 $RPM_BUILD_ROOT%{_mandir}/man8
55 echo '.so mount.exfat-fuse.8' >$RPM_BUILD_ROOT%{_mandir}/man8/mount.exfat.8
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc ChangeLog
63 %attr(755,root,root) /sbin/mount.exfat
64 %attr(755,root,root) /sbin/mount.exfat-fuse
65 %{_mandir}/man8/mount.exfat.8*
66 %{_mandir}/man8/mount.exfat-fuse.8*
This page took 0.076558 seconds and 4 git commands to generate.