]>
Commit | Line | Data |
---|---|---|
f8ea3240 | 1 | # TODO |
2 | # do --enable-dav switch | |
3 | ||
53c31a04 | 4 | Summary: AFS - A Virtual Filesystem |
6d44e6de | 5 | Summary(pl.UTF-8): AFS - wirtualny system plików |
53c31a04 | 6 | Name: avfs |
7ea1f3b1 | 7 | Version: 0.9.7 |
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 |
7ea1f3b1 | 12 | # Source0-md5: 88da3489b1c1d80d080ce780333cedef |
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 |
53c31a04 JB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
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. | |
24 | ||
25 | At the moment it supports floppies, tar and gzip files, zip, bzip2, ar | |
93c66e17 | 26 | and rar files, FTP sessions, http, webdav, rsh/rcp, ssh/scp. Quite a |
53c31a04 JB |
27 | few other handlers are implemented with the Midnight Commander's |
28 | external FS. | |
29 | ||
6d44e6de JR |
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. | |
91a047a5 | 34 | |
6d44e6de JR |
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. | |
91a047a5 | 39 | |
7ea1f3b1 | 40 | %package devel |
5d6afb84 | 41 | Summary: Header files for avfs library |
6d44e6de | 42 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek avfs |
5d6afb84 | 43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
7ea1f3b1 | 45 | |
46 | %description devel | |
47 | The avfs-devel package includes the header files necessary for | |
48 | developing programs using the avfs libraries. | |
49 | ||
6d44e6de JR |
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. | |
7ea1f3b1 | 53 | |
54 | %package static | |
5d6afb84 | 55 | Summary: Static avfs libraries |
6d44e6de | 56 | Summary(pl.UTF-8): Statyczne biblioteki avfs |
5d6afb84 | 57 | Group: Development/Libraries |
58 | Requires: %{name} = %{version}-%{release} | |
7ea1f3b1 | 59 | |
60 | %description static | |
61 | This package contains the static version of avfs libraries. | |
62 | ||
6d44e6de JR |
63 | %description static -l pl.UTF-8 |
64 | Ten pakiet zawiera statyczną wersję bibliotek avfs. | |
7ea1f3b1 | 65 | |
53c31a04 JB |
66 | %prep |
67 | %setup -q | |
68 | ||
69 | %build | |
3dc2ac7e | 70 | install /usr/share/automake/config.* . |
f8ea3240 | 71 | |
72 | %configure \ | |
7ea1f3b1 | 73 | --enable-library \ |
53c31a04 | 74 | --enable-xml \ |
53c31a04 JB |
75 | --with-neon \ |
76 | --with-ssl \ | |
7ea1f3b1 | 77 | --disable-fast-install \ |
53c31a04 | 78 | --with-kernel=%{_kernelsrcdir} |
7ea1f3b1 | 79 | # --enable-dav |
f8ea3240 | 80 | # Comment: |
81 | # I've no idea how to build this package with dav option with expat-devel. | |
53c31a04 JB |
82 | %{__make} |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
f8ea3240 | 87 | %{__make} install \ |
88 | DESTDIR=$RPM_BUILD_ROOT | |
89 | ||
53c31a04 JB |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
f8ea3240 | 98 | %doc README |
99 | %attr(755,root,root) %{_libdir}/*.so.*.* | |
100 | %attr(755,root,root) %{_bindir}/davpass | |
101 | %attr(755,root,root) %{_bindir}/ftppass | |
102 | %{_libdir}/%{name} | |
7ea1f3b1 | 103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_bindir}/avfs-config | |
107 | %{_includedir}/*.h | |
108 | %{_libdir}/*.la | |
109 | ||
110 | %files static | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/*.a |