]> git.pld-linux.org Git - packages/fuse-exfat.git/blob - fuse-exfat.spec
- typo: missing spec changes
[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.1.0
5 Release:        1
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:        %{name}-%{version}.tar.gz
11 # Source0-md5:  b2a23c032661cb1c1da4514e7af33916
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
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
28 %prep
29 %setup -q
30
31 %build
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
38 export CFLAGS="%{rpmcflags} -std=c99"
39 %scons
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 export CFLAGS="%{rpmcflags} -std=c99"
45 %scons install \
46         DESTDIR=$RPM_BUILD_ROOT/sbin
47
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
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc ChangeLog
58 %attr(755,root,root) /sbin/mount.exfat
59 %attr(755,root,root) /sbin/mount.exfat-fuse
60 %{_mandir}/man8/mount.exfat.8*
61 %{_mandir}/man8/mount.exfat-fuse.8*
This page took 0.065223 seconds and 4 git commands to generate.