3 %bcond_without fuse # FUSE driver for AFP filesystem
5 Summary: Apple Filing Protocol client
11 Source0: http://downloads.sourceforge.net/afpfs-ng/%{name}-%{version}.tar.bz2
12 # Source0-md5: 1bdd9f8a06e6085ea4cc38ce010ef60b
13 URL: https://sites.google.com/site/alexthepuffin/
14 Patch0: overflows.patch
16 Patch2: formatsec.patch
17 BuildRequires: gmp-devel
18 BuildRequires: libgcrypt-devel
19 BuildRequires: readline-devel
21 BuildRequires: libfuse-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 A command line client to access files exported from Mac OS system via
28 Apple Filing Protocol.
31 Summary: FUSE driver for AFP filesystem
34 %description -n fuse-afp
35 A FUSE file system server to access files exported from Mac OS system
36 via AppleTalk or TCP using Apple Filing Protocol. The command line
37 client for AFP is in fuse-afp package
40 Summary: Development files for afpfs-ng
41 Group: Development/Libraries
42 Requires: %{name} = %{version}
45 Library for dynamic linking and header files of afpfs-ng.
53 # make would rebuild the autoconf infrastructure due to the following:
54 # Prerequisite `configure.ac' is newer than target `Makefile.in'.
55 # Prerequisite `aclocal.m4' is newer than target `Makefile.in'.
56 # Prerequisite `configure.ac' is newer than target `aclocal.m4'.
57 touch --reference aclocal.m4 configure.ac Makefile.in
61 %{!?with_fuse:--disable-fuse} \
66 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libafpclient.la
72 install -d $RPM_BUILD_ROOT%{_includedir}/afpfs-ng
73 cp -p include/* $RPM_BUILD_ROOT%{_includedir}/afpfs-ng
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
83 %doc COPYING AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
84 %attr(755,root,root) %{_bindir}/afpcmd
85 %attr(755,root,root) %{_bindir}/afpgetstatus
86 %{_mandir}/man1/afpcmd.1*
87 %{_mandir}/man1/afpgetstatus.1*
88 %attr(755,root,root) %{_libdir}/libafpclient.so.0.0.0
89 %ghost %{_libdir}/libafpclient.so.0
92 %defattr(644,root,root,755)
93 %{_includedir}/afpfs-ng
94 %{_libdir}/libafpclient.so
98 %defattr(644,root,root,755)
99 %doc COPYING AUTHORS ChangeLog
100 %attr(755,root,root) %{_bindir}/afp_client
101 %attr(755,root,root) %{_bindir}/afpfs
102 %attr(755,root,root) %{_bindir}/afpfsd
103 %attr(755,root,root) %{_bindir}/mount_afp
104 %{_mandir}/man1/afp_client.1*
105 %{_mandir}/man1/afpfsd.1*
106 %{_mandir}/man1/mount_afp.1*