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