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