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