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