2 # do --enable-dav switch
4 Summary: AVFS - A Virtual Filesystem
5 Summary(pl.UTF-8): AVFS - wirtualny system plików
11 Source0: http://downloads.sourceforge.net/avf/%{name}-%{version}.tar.bz2
12 # Source0-md5: ad04a13afc4c01a50b7c945602926ce7
13 URL: http://sourceforge.net/projects/avf/
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: bzip2-devel
17 BuildRequires: libfuse-devel >= 2.6.0
18 BuildRequires: libtool
19 BuildRequires: openssl-devel
20 BuildRequires: pkgconfig
21 BuildRequires: xz-devel
22 BuildRequires: zlib-devel
23 BuildRequires: zstd-devel
24 Requires: libfuse >= 2.6.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 AVFS is a system, which enables all programs to look inside archived
29 or compressed files, or access remote files without recompiling the
30 programs or changing the kernel.
32 At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
33 and rar files, FTP sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
34 few other handlers are implemented with the Midnight Commander's
37 %description -l pl.UTF-8
38 AVFS to system, który umożliwia wszystkim programom zaglądanie do
39 zarchiwizowanych lub skompresowanych plików lub dostęp do zdanych
40 plików bez rekompilacji programów lub zmiany jądra.
42 Aktualnie obsługuje dyskietki, pliki tar, gzip, zip, bzip2, ar i rar,
43 sesje FTP, http, webdav, rsh/rcp, ssh/scp. Jest też trochę innych
44 procedur obsługi zaimplementowanych z użyciem extfs (zewnętrznych
45 systemów plików) Midnight Commandera.
48 Summary: Header files for avfs library
49 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki avfs
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
54 The avfs-devel package includes the header files necessary for
55 developing programs using the avfs library.
57 %description devel -l pl.UTF-8
58 Pakiet avfs-devel zawiera pliki nagłówkowe niezbędne do budowania
59 programów używających biblioteki avfs.
62 Summary: Static avfs library
63 Summary(pl.UTF-8): Statyczna biblioteka avfs
64 Group: Development/Libraries
65 Requires: %{name} = %{version}-%{release}
68 This package contains the static version of avfs library.
70 %description static -l pl.UTF-8
71 Ten pakiet zawiera statyczną wersję biblioteki avfs.
83 EMACS=%{_bindir}/emacs \
84 PERL=%{_bindir}/perl \
86 UNZIP=%{_bindir}/unzip \
96 # I've no idea how to build this package with dav option with expat-devel --blekot
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 %doc README doc/README.avfs-fuse
114 %attr(755,root,root) %{_libdir}/libavfs.so.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libavfs.so.0
116 %attr(755,root,root) %{_bindir}/avfsd
117 %attr(755,root,root) %{_bindir}/davpass
118 %attr(755,root,root) %{_bindir}/ftppass
119 %attr(755,root,root) %{_bindir}/mountavfs
120 %attr(755,root,root) %{_bindir}/umountavfs
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_bindir}/avfs-config
126 %attr(755,root,root) %{_libdir}/libavfs.so
127 %{_libdir}/libavfs.la
131 %defattr(644,root,root,755)