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