]>
Commit | Line | Data |
---|---|---|
f8ea3240 | 1 | # TODO |
2 | # do --enable-dav switch | |
3 | ||
53c31a04 | 4 | Summary: AFS - A Virtual Filesystem |
c136629a | 5 | Summary(pl.UTF-8): AFS - 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 |
f8ea3240 | 15 | BuildRequires: expat-devel |
53c31a04 | 16 | BuildRequires: neon-devel |
cec586f6 | 17 | BuildRequires: openssl-devel >= 0.9.7d |
0f8ead42 | 18 | BuildRequires: libfuse-devel >= 0:2.4 |
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 |
c136629a | 43 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek 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 | |
49 | developing programs using the avfs libraries. | |
50 | ||
6d44e6de JR |
51 | %description devel -l pl.UTF-8 |
52 | Pakiet avfs-devel zawiera pliki nagłówkowe niezbędne do budowania | |
53 | programów używających bibliotek avfs. | |
7ea1f3b1 | 54 | |
55 | %package static | |
5d6afb84 | 56 | Summary: Static avfs libraries |
c136629a | 57 | Summary(pl.UTF-8): Statyczne biblioteki avfs |
5d6afb84 | 58 | Group: Development/Libraries |
59 | Requires: %{name} = %{version}-%{release} | |
7ea1f3b1 | 60 | |
61 | %description static | |
62 | This package contains the static version of avfs libraries. | |
63 | ||
6d44e6de JR |
64 | %description static -l pl.UTF-8 |
65 | Ten pakiet zawiera statyczną wersję bibliotek avfs. | |
7ea1f3b1 | 66 | |
53c31a04 JB |
67 | %prep |
68 | %setup -q | |
69 | ||
70 | %build | |
3dc2ac7e | 71 | install /usr/share/automake/config.* . |
f8ea3240 | 72 | |
73 | %configure \ | |
7ea1f3b1 | 74 | --enable-library \ |
53c31a04 | 75 | --enable-xml \ |
53c31a04 JB |
76 | --with-neon \ |
77 | --with-ssl \ | |
7ea1f3b1 | 78 | --disable-fast-install \ |
0f8ead42 | 79 | --enable-fuse \ |
53c31a04 | 80 | --with-kernel=%{_kernelsrcdir} |
7ea1f3b1 | 81 | # --enable-dav |
f8ea3240 | 82 | # Comment: |
83 | # I've no idea how to build this package with dav option with expat-devel. | |
53c31a04 JB |
84 | %{__make} |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
f8ea3240 | 89 | %{__make} install \ |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
53c31a04 JB |
92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
0f8ead42 | 100 | %doc README doc/README.avfs-fuse |
f8ea3240 | 101 | %attr(755,root,root) %{_libdir}/*.so.*.* |
0f8ead42 | 102 | %attr(755,root,root) %{_bindir}/avfsd |
f8ea3240 | 103 | %attr(755,root,root) %{_bindir}/davpass |
104 | %attr(755,root,root) %{_bindir}/ftppass | |
0f8ead42 | 105 | %attr(755,root,root) %{_bindir}/mountavfs |
106 | %attr(755,root,root) %{_bindir}/umountavfs | |
f8ea3240 | 107 | %{_libdir}/%{name} |
7ea1f3b1 | 108 | |
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
111 | %attr(755,root,root) %{_bindir}/avfs-config | |
112 | %{_includedir}/*.h | |
113 | %{_libdir}/*.la | |
114 | ||
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/*.a |