]>
Commit | Line | Data |
---|---|---|
f8ea3240 | 1 | # TODO |
2 | # do --enable-dav switch | |
3 | ||
d0b65ff4 JB |
4 | Summary: AVFS - A Virtual Filesystem |
5 | Summary(pl.UTF-8): AVFS - wirtualny system plików | |
53c31a04 | 6 | Name: avfs |
0f8ead42 | 7 | Version: 0.9.8 |
f8ea3240 | 8 | Release: 0.1 |
53c31a04 JB |
9 | License: GPL |
10 | Group: Libraries | |
53c31a04 | 11 | Source0: http://dl.sourceforge.net/avf/%{name}-%{version}.tar.gz |
0f8ead42 | 12 | # Source0-md5: cd1d5c3616124bc8397936718cc0d651 |
53c31a04 | 13 | URL: http://sourceforge.net/projects/avf/ |
91a047a5 | 14 | BuildRequires: automake |
0f8ead42 | 15 | BuildRequires: libfuse-devel >= 0:2.4 |
d0b65ff4 JB |
16 | #BuildRequires: neon-devel >= 0.12 |
17 | #BuildRequires: neon-devel < 0.13 | |
18 | BuildRequires: openssl-devel >= 0.9.7d | |
53c31a04 JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | AVFS is a system, which enables all programs to look inside archived | |
23 | or compressed files, or access remote files without recompiling the | |
24 | programs or changing the kernel. | |
25 | ||
26 | At the moment it supports floppies, tar and gzip files, zip, bzip2, ar | |
93c66e17 | 27 | and rar files, FTP sessions, http, webdav, rsh/rcp, ssh/scp. Quite a |
53c31a04 JB |
28 | few other handlers are implemented with the Midnight Commander's |
29 | external FS. | |
30 | ||
6d44e6de JR |
31 | %description -l pl.UTF-8 |
32 | AVFS to system, który umożliwia wszystkim programom zaglądanie do | |
33 | zarchiwizowanych lub skompresowanych plików lub dostęp do zdanych | |
34 | plików bez rekompilacji programów lub zmiany jądra. | |
91a047a5 | 35 | |
6d44e6de JR |
36 | Aktualnie obsługuje dyskietki, pliki tar, gzip, zip, bzip2, ar i rar, |
37 | sesje FTP, http, webdav, rsh/rcp, ssh/scp. Jest też trochę innych | |
38 | procedur obsługi zaimplementowanych z użyciem extfs (zewnętrznych | |
39 | systemów plików) Midnight Commandera. | |
91a047a5 | 40 | |
7ea1f3b1 | 41 | %package devel |
5d6afb84 | 42 | Summary: Header files for avfs library |
d0b65ff4 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki avfs |
5d6afb84 | 44 | Group: Development/Libraries |
45 | Requires: %{name} = %{version}-%{release} | |
7ea1f3b1 | 46 | |
47 | %description devel | |
48 | The avfs-devel package includes the header files necessary for | |
d0b65ff4 | 49 | developing programs using the avfs library. |
7ea1f3b1 | 50 | |
6d44e6de JR |
51 | %description devel -l pl.UTF-8 |
52 | Pakiet avfs-devel zawiera pliki nagłówkowe niezbędne do budowania | |
d0b65ff4 | 53 | programów używających biblioteki avfs. |
7ea1f3b1 | 54 | |
55 | %package static | |
d0b65ff4 JB |
56 | Summary: Static avfs library |
57 | Summary(pl.UTF-8): Statyczna biblioteka avfs | |
5d6afb84 | 58 | Group: Development/Libraries |
59 | Requires: %{name} = %{version}-%{release} | |
7ea1f3b1 | 60 | |
61 | %description static | |
d0b65ff4 | 62 | This package contains the static version of avfs library. |
7ea1f3b1 | 63 | |
6d44e6de | 64 | %description static -l pl.UTF-8 |
d0b65ff4 | 65 | Ten pakiet zawiera statyczną wersję biblioteki avfs. |
7ea1f3b1 | 66 | |
53c31a04 JB |
67 | %prep |
68 | %setup -q | |
69 | ||
70 | %build | |
d0b65ff4 | 71 | cp -f /usr/share/automake/config.* . |
f8ea3240 | 72 | %configure \ |
d0b65ff4 | 73 | --disable-avfscoda \ |
0f8ead42 | 74 | --enable-fuse \ |
d0b65ff4 JB |
75 | --enable-library \ |
76 | --with-ssl | |
f8ea3240 | 77 | # Comment: |
d0b65ff4 | 78 | # I've no idea how to build this package with dav option with expat-devel --blekot |
53c31a04 JB |
79 | %{__make} |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
f8ea3240 | 84 | %{__make} install \ |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
53c31a04 JB |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post -p /sbin/ldconfig | |
91 | %postun -p /sbin/ldconfig | |
92 | ||
93 | %files | |
94 | %defattr(644,root,root,755) | |
0f8ead42 | 95 | %doc README doc/README.avfs-fuse |
d0b65ff4 | 96 | %attr(755,root,root) %{_libdir}/libavfs.so.*.*.* |
0f8ead42 | 97 | %attr(755,root,root) %{_bindir}/avfsd |
f8ea3240 | 98 | %attr(755,root,root) %{_bindir}/davpass |
99 | %attr(755,root,root) %{_bindir}/ftppass | |
0f8ead42 | 100 | %attr(755,root,root) %{_bindir}/mountavfs |
101 | %attr(755,root,root) %{_bindir}/umountavfs | |
f8ea3240 | 102 | %{_libdir}/%{name} |
7ea1f3b1 | 103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_bindir}/avfs-config | |
d0b65ff4 JB |
107 | %attr(755,root,root) %{_libdir}/libavfs.so |
108 | %{_libdir}/libavfs.la | |
7ea1f3b1 | 109 | %{_includedir}/*.h |
7ea1f3b1 | 110 | |
111 | %files static | |
112 | %defattr(644,root,root,755) | |
d0b65ff4 | 113 | %{_libdir}/libavfs.a |