Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 9699f630534c537e84c6a08ef68767ae > files > 2

afpfs-ng-0.8.1-6.mga5.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 6
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 = %version-%release

%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 = %version
Provides:	%name-devel = %version-%release
Provides:	afpclient-devel = %version-%release

%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
%makeinstall_std

find %{buildroot} -name '*.la' | xargs rm

%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}


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.8.1-6.mga5
+ Revision: 751240
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.8.1-5.mga5
+ Revision: 686462
- Rebuild to fix library dependencies

* Tue Sep 16 2014 umeabot <umeabot> 0.8.1-4.mga5
+ Revision: 677714
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.8.1-3.mga4
+ Revision: 502465
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 0.8.1-2.mga3
+ Revision: 345323
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Mar 03 2012 anssi <anssi> 0.8.1-1.mga2
+ Revision: 217438
- initial Mageia package release