]> git.pld-linux.org Git - packages/avfs.git/blame - avfs.spec
- typo
[packages/avfs.git] / avfs.spec
CommitLineData
f8ea3240 1# TODO
2# do --enable-dav switch
3
d0b65ff4
JB
4Summary: AVFS - A Virtual Filesystem
5Summary(pl.UTF-8): AVFS - wirtualny system plików
53c31a04 6Name: avfs
3baa3f4d 7Version: 1.0.0
8Release: 1
53c31a04
JB
9License: GPL
10Group: Libraries
53c31a04 11Source0: http://dl.sourceforge.net/avf/%{name}-%{version}.tar.gz
3baa3f4d 12# Source0-md5: be6dd4417c3e96a294f1539ad22fddc9
13Patch0: %{name}-unrar.c.patch
53c31a04 14URL: http://sourceforge.net/projects/avf/
91a047a5 15BuildRequires: automake
0f8ead42 16BuildRequires: libfuse-devel >= 0:2.4
d0b65ff4
JB
17#BuildRequires: neon-devel >= 0.12
18#BuildRequires: neon-devel < 0.13
19BuildRequires: openssl-devel >= 0.9.7d
53c31a04
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23AVFS is a system, which enables all programs to look inside archived
24or compressed files, or access remote files without recompiling the
25programs or changing the kernel.
26
27At the moment it supports floppies, tar and gzip files, zip, bzip2, ar
93c66e17 28and rar files, FTP sessions, http, webdav, rsh/rcp, ssh/scp. Quite a
53c31a04
JB
29few other handlers are implemented with the Midnight Commander's
30external FS.
31
6d44e6de
JR
32%description -l pl.UTF-8
33AVFS to system, który umożliwia wszystkim programom zaglądanie do
34zarchiwizowanych lub skompresowanych plików lub dostęp do zdanych
35plików bez rekompilacji programów lub zmiany jądra.
91a047a5 36
6d44e6de
JR
37Aktualnie obsługuje dyskietki, pliki tar, gzip, zip, bzip2, ar i rar,
38sesje FTP, http, webdav, rsh/rcp, ssh/scp. Jest też trochę innych
39procedur obsługi zaimplementowanych z użyciem extfs (zewnętrznych
40systemów plików) Midnight Commandera.
91a047a5 41
7ea1f3b1 42%package devel
5d6afb84 43Summary: Header files for avfs library
d0b65ff4 44Summary(pl.UTF-8): Pliki nagłówkowe biblioteki avfs
5d6afb84 45Group: Development/Libraries
46Requires: %{name} = %{version}-%{release}
7ea1f3b1 47
48%description devel
49The avfs-devel package includes the header files necessary for
d0b65ff4 50developing programs using the avfs library.
7ea1f3b1 51
6d44e6de
JR
52%description devel -l pl.UTF-8
53Pakiet avfs-devel zawiera pliki nagłówkowe niezbędne do budowania
d0b65ff4 54programów używających biblioteki avfs.
7ea1f3b1 55
56%package static
d0b65ff4
JB
57Summary: Static avfs library
58Summary(pl.UTF-8): Statyczna biblioteka avfs
5d6afb84 59Group: Development/Libraries
60Requires: %{name} = %{version}-%{release}
7ea1f3b1 61
62%description static
d0b65ff4 63This package contains the static version of avfs library.
7ea1f3b1 64
6d44e6de 65%description static -l pl.UTF-8
d0b65ff4 66Ten 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 73cp -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
84rm -rf $RPM_BUILD_ROOT
85
f8ea3240 86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
53c31a04
JB
89%clean
90rm -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.*.*.*
e2d599b2 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
This page took 0.083308 seconds and 4 git commands to generate.