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