2 # do --enable-dav switch
4 Summary: AFS - A Virtual Filesystem
5 Summary(pl.UTF-8): AFS - wirtualny system plików
11 Source0: http://dl.sourceforge.net/avf/%{name}-%{version}.tar.gz
12 # Source0-md5: 88da3489b1c1d80d080ce780333cedef
13 URL: http://sourceforge.net/projects/avf/
14 BuildRequires: automake
15 BuildRequires: expat-devel
16 BuildRequires: neon-devel
17 BuildRequires: openssl-devel >= 0.9.7d
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 AVFS is a system, which enables all programs to look inside archived
22 or compressed files, or access remote files without recompiling the
23 programs or changing the kernel.
25 At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
26 and rar files, FTP sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
27 few other handlers are implemented with the Midnight Commander's
30 %description -l pl.UTF-8
31 AVFS to system, który umożliwia wszystkim programom zaglądanie do
32 zarchiwizowanych lub skompresowanych plików lub dostęp do zdanych
33 plików bez rekompilacji programów lub zmiany jądra.
35 Aktualnie obsługuje dyskietki, pliki tar, gzip, zip, bzip2, ar i rar,
36 sesje FTP, http, webdav, rsh/rcp, ssh/scp. Jest też trochę innych
37 procedur obsługi zaimplementowanych z użyciem extfs (zewnętrznych
38 systemów plików) Midnight Commandera.
41 Summary: Header files for avfs library
42 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek avfs
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
47 The avfs-devel package includes the header files necessary for
48 developing programs using the avfs libraries.
50 %description devel -l pl.UTF-8
51 Pakiet avfs-devel zawiera pliki nagłówkowe niezbędne do budowania
52 programów używających bibliotek avfs.
55 Summary: Static avfs libraries
56 Summary(pl.UTF-8): Statyczne biblioteki avfs
57 Group: Development/Libraries
58 Requires: %{name} = %{version}-%{release}
61 This package contains the static version of avfs libraries.
63 %description static -l pl.UTF-8
64 Ten pakiet zawiera statyczną wersję bibliotek avfs.
70 install /usr/share/automake/config.* .
77 --disable-fast-install \
78 --with-kernel=%{_kernelsrcdir}
81 # I've no idea how to build this package with dav option with expat-devel.
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/*.so.*.*
100 %attr(755,root,root) %{_bindir}/davpass
101 %attr(755,root,root) %{_bindir}/ftppass
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/avfs-config
111 %defattr(644,root,root,755)