]> git.pld-linux.org Git - packages/fusecompress.git/blob - fusecompress.spec
- known corruption
[packages/fusecompress.git] / fusecompress.spec
1 %define tag     c5e5eb58e48a6ad08298f178a9d91b9539abf883
2 Summary:        Transparent read-write compression filesystem
3 Summary(pl.UTF-8):      System plików z przezroczystą kompresją danych
4 Name:           fusecompress
5 Version:        2.6
6 # known data corruption:  https://bugzilla.redhat.com/show_bug.cgi?id=995998, dead upstream
7 Release:        8.1
8 License:        GPL v2+
9 Group:          Applications/System
10 Source0:        https://github.com/tex/fusecompress/archive/2.6.tar.gz
11 # Source0-md5:  923688bd13b9d87fb74a0449bdf86724
12 Patch0:         fusecompress-git.patch
13 URL:            https://code.google.com/p/fusecompress/
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake
16 BuildRequires:  boost-devel >= 1.33.1
17 BuildRequires:  bzip2-devel
18 BuildRequires:  libfuse-devel >= 2.6
19 BuildRequires:  libmagic-devel
20 BuildRequires:  lzo-devel >= 2
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  rlog-devel >= 1.3
23 BuildRequires:  xz-devel
24 BuildRequires:  zlib-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 FuseCompress provides a mountable Linux filesystem which transparently
29 compress its content. Files stored in this filesystem are compressed
30 on the fly and Fuse allows to create a transparent interface between
31 compressed files and user applications.
32
33 %description -l pl.UTF-8
34 FuseCompress udostępnia montowalny system plików, który przezroczyście
35 kompresuje swoją zawartość. Pliki przechowywane na tym systemie plików
36 są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty
37 interfejs między skompresowanymi plikami a aplikacjami użytkownika
38
39 %prep
40 %setup -q -n %{name}-%{version}
41 %patch0 -p1
42
43 # gold causes really weird issues with fuse apps
44 install -d ld-dir
45 [ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
46
47 %build
48 PATH=$(pwd)/ld-dir:$PATH
49 %{__aclocal} -I m4
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --bindir=%{_sbindir} \
55         --with-boost-libdir=%{_libdir} \
56         --with-boost-filesystem=boost_filesystem \
57         --with-boost-iostreams=boost_iostreams \
58         --with-boost-program-options=boost_program_options \
59         --with-boost-serialization=boost_serialization \
60         --with-boost-system=boost_system \
61         --with-bz2 \
62         --with-lzma \
63         --with-lzo2 \
64         --with-z
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %{__mv} $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress}
74 %{__rm} $RPM_BUILD_ROOT%{_sbindir}/xattrs
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS LICENSE NEWS README TODO
82 %attr(755,root,root) %{_sbindir}/mount.fusecompress
83 %attr(755,root,root) %{_sbindir}/%{name}
84 %attr(755,root,root) %{_sbindir}/%{name}_offline
85 %attr(755,root,root) %{_sbindir}/%{name}_print_compress
86 %{_mandir}/man1/fusecompress.1*
87 %{_mandir}/man1/fusecompress_offline.1*
This page took 0.086446 seconds and 3 git commands to generate.