]> git.pld-linux.org Git - packages/fusecompress.git/blame - fusecompress.spec
- release 3 (by relup.sh)
[packages/fusecompress.git] / fusecompress.spec
CommitLineData
6f4f39e6 1%define tag c5e5eb58e48a6ad08298f178a9d91b9539abf883
5c426756 2Summary: Transparent read-write compression filesystem
4e4f2daf 3Summary(pl.UTF-8): System plików z przezroczystą kompresją danych
5c426756 4Name: fusecompress
a19841f1 5Version: 2.6
7398c027 6Release: 3
83653df3 7License: GPL v2+
5c426756 8Group: Applications/System
a19841f1
AM
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/
83653df3 13BuildRequires: autoconf >= 2.59
5c426756 14BuildRequires: automake
83653df3 15BuildRequires: boost-devel >= 1.33.1
5c426756 16BuildRequires: bzip2-devel
83653df3 17BuildRequires: libfuse-devel >= 2.6
f93f26da 18BuildRequires: libmagic-devel
83653df3 19BuildRequires: lzo-devel >= 2
5c426756 20BuildRequires: libstdc++-devel
f69c9b8a 21BuildRequires: rlog-devel >= 1.3
83653df3 22BuildRequires: xz-devel
5c426756 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
4e4f2daf
JB
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
5c426756 37
38%prep
a19841f1 39%setup -q -n %{name}-%{version}
d7993bac 40%patch0 -p1
5c426756 41
a19841f1
AM
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
5c426756 46%build
a19841f1 47PATH=$(pwd)/ld-dir:$PATH
6f4f39e6 48%{__aclocal} -I m4
5c426756 49%{__autoconf}
83653df3
JB
50%{__autoheader}
51%{__automake}
6f4f39e6 52%configure \
a19841f1 53 --bindir=%{_sbindir} \
6f4f39e6 54 --with-boost-libdir=%{_libdir} \
83653df3 55 --with-boost-filesystem=boost_filesystem \
6f4f39e6
AM
56 --with-boost-iostreams=boost_iostreams \
57 --with-boost-program-options=boost_program_options \
83653df3 58 --with-boost-serialization=boost_serialization \
a19841f1 59 --with-boost-system=boost_system \
6f4f39e6 60 --with-bz2 \
83653df3
JB
61 --with-lzma \
62 --with-lzo2 \
63 --with-z
5c426756 64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT
71
83653df3
JB
72%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{print_compress,fusecompress_print_compress}
73%{__rm} $RPM_BUILD_ROOT%{_sbindir}/xattrs
d7993bac 74
5c426756 75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
83653df3 80%doc AUTHORS LICENSE NEWS README TODO
a19841f1
AM
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
83653df3
JB
85%{_mandir}/man1/fusecompress.1*
86%{_mandir}/man1/fusecompress_offline.1*
This page took 0.106259 seconds and 4 git commands to generate.