Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates-src > by-pkgid > 1385d59fd7f23c124c7937511e213241 > files > 2

afpfs-ng-0.8.1-1mdv2010.2.src.rpm

%define major	0
%define libname	%mklibname afpclient %{major}
%define devname	%mklibname afpclient -d

Summary:	An open source client for Apple Filing Protocol
Name:		afpfs-ng
Version:	0.8.1
Release:	%mkrel 1
License:	GPLv2+
Group:		Networking/File transfer
URL:		http://sites.google.com/site/alexthepuffin/home
Source:		http://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/%{version}/afpfs-ng-%{version}.tar.bz2
# patches from Debian:
Patch10:	build-error-fixes.patch
Patch11:	header-path-fix.patch
Patch12:	include-headers-fix.patch
BuildRequires:	fuse-devel
BuildRequires:	readline-devel
BuildRequires:	ncurses-devel
BuildRequires:	libgcrypt-devel

%description
afpfs-ng is a client for the Apple Filing Protocol (AFP) which will let
you mount and access shared volumes from Mac OS X (or netatalk).

There is a FUSE-based client which lets you mount a remote filesystem.

There is also a simple, command-line AFP client; think about it as an
FTP client for AFP.

%package -n %{libname}
Summary:	Shared library of %{name}
Group:		System/Libraries
Provides:	%{name} = %{EVRD}

%description -n %{libname}
This package contains the library needed to run programs dynamically
linked with libafpclient, an Apple Filing Protocol (AFP) client library.

%package -n %{devname}
Summary:	Development headers for libafpclient
Group:		Development/C
Requires:	%{libname} = %{EVRD}
Provides:	%{name}-devel = %{EVRD}
Provides:	afpclient-devel = %{EVRD}

%description -n %{devname}
This package contains the headers needed to compile programs that use
libafpclient, an Apple Filing Protocol (AFP) client library.

%prep
%setup -q
%apply_patches

%build
autoreconf -if
%configure2_5x --disable-static
%make

%install
%__rm -rf %{buildroot}
%makeinstall_std

%clean
%__rm -rf %{buildroot}

%files
%doc docs/*.txt docs/README
%{_bindir}/afp*
%{_bindir}/mount_afp
%{_mandir}/man1/*afp*.1*

%files -n %{libname}
%{_libdir}/*.so.%{major}*

%files -n %{devname}
%{_libdir}/*.so
%{_includedir}/%{name}
%if %{mdvver} < 201200
%{_libdir}/*.la
%endif



%changelog
* Mon Mar 26 2012 Andrey Bondrov <abondrov@mandriva.org> 0.8.1-1
+ Revision: 786885
- imported package afpfs-ng