]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # do --enable-dav switch | |
3 | ||
4 | Summary: AFS - A Virtual Filesystem | |
5 | Summary(pl.UTF-8): AFS - wirtualny system plików | |
6 | Name: avfs | |
7 | Version: 0.9.7 | |
8 | Release: 0.1 | |
9 | License: GPL | |
10 | Group: Libraries | |
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) | |
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 | |
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 | |
28 | external FS. | |
29 | ||
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. | |
34 | ||
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. | |
39 | ||
40 | %package devel | |
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} | |
45 | ||
46 | %description devel | |
47 | The avfs-devel package includes the header files necessary for | |
48 | developing programs using the avfs libraries. | |
49 | ||
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. | |
53 | ||
54 | %package static | |
55 | Summary: Static avfs libraries | |
56 | Summary(pl.UTF-8): Statyczne biblioteki avfs | |
57 | Group: Development/Libraries | |
58 | Requires: %{name} = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | This package contains the static version of avfs libraries. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Ten pakiet zawiera statyczną wersję bibliotek avfs. | |
65 | ||
66 | %prep | |
67 | %setup -q | |
68 | ||
69 | %build | |
70 | install /usr/share/automake/config.* . | |
71 | ||
72 | %configure \ | |
73 | --enable-library \ | |
74 | --enable-xml \ | |
75 | --with-neon \ | |
76 | --with-ssl \ | |
77 | --disable-fast-install \ | |
78 | --with-kernel=%{_kernelsrcdir} | |
79 | # --enable-dav | |
80 | # Comment: | |
81 | # I've no idea how to build this package with dav option with expat-devel. | |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %{__make} install \ | |
88 | DESTDIR=$RPM_BUILD_ROOT | |
89 | ||
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) | |
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} | |
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 |