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