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