]> git.pld-linux.org Git - packages/fusecompress.git/blob - fusecompress.spec
13ff0926555f1801dff0c546c590780e966b2358
[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.2
6 Release:        0.1
7 License:        GPL
8 Group:          Applications/System
9 # http://github.com/tex/fusecompress/tree/master
10 Source0:        tex-fusecompress-%{tag}.tar.gz
11 # Source0-md5:  733fcf027b7d030d659bbb655c527999
12 Patch0:         %{name}-boost.patch
13 URL:            http://miio.net/fusecompress/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  boost-devel
17 BuildRequires:  bzip2-devel
18 BuildRequires:  libfuse-devel
19 BuildRequires:  libmagic-devel
20 BuildRequires:  lzma-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  rlog-devel >= 1.3
23 BuildRequires:  zlib-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 FuseCompress provides a mountable Linux filesystem which transparently
28 compress its content. Files stored in this filesystem are compressed
29 on the fly and Fuse allows to create a transparent interface between
30 compressed files and user applications.
31
32 %description -l pl.UTF-8
33 FuseCompress udostępnia montowalny system plików, który przezroczyście
34 kompresuje swoją zawartość. Pliki przechowywane na tym systemie plików
35 są kompresowane w locie, a Fuse pozwala utworzyć przezroczysty
36 interfejs między skompresowanymi plikami a aplikacjami użytkownika
37
38 %prep
39 %setup -q -n tex-%{name}-%{tag}
40 %patch0 -p1
41
42 %build
43 %{__aclocal} -I m4
44 %{__autoconf}
45 %configure \
46         --with-boost-libdir=%{_libdir} \
47         --with-boost-serialization=boost_serialization \
48         --with-boost-iostreams=boost_iostreams \
49         --with-boost-program-options=boost_program_options \
50         --with-boost-filesystem=boost_filesystem \
51         --with-lzma \
52         --with-z \
53         --with-bz2 \
54         --with-lzo2
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 mv $RPM_BUILD_ROOT%{_bindir}/{print_compress,fusecompress_print_compress}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README TODO
71 %attr(755,root,root) %{_bindir}/%{name}
72 %attr(755,root,root) %{_bindir}/%{name}_offline
73 %attr(755,root,root) %{_bindir}/%{name}_print_compress
74 %{_mandir}/man1/*.1*
This page took 0.143873 seconds and 3 git commands to generate.