/[packages]/cauldron/afpfs-ng/current/SPECS/afpfs-ng.spec
ViewVC logotype

Contents of /cauldron/afpfs-ng/current/SPECS/afpfs-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 751240 - (show annotations) (download)
Wed Oct 15 04:20:19 2014 UTC (5 years, 8 months ago) by umeabot
File size: 1977 byte(s)
Second Mageia 5 Mass Rebuild
1 %define major 0
2 %define libname %mklibname afpclient %major
3 %define devname %mklibname afpclient -d
4
5 Summary: An open source client for Apple Filing Protocol
6 Name: afpfs-ng
7 Version: 0.8.1
8 Release: %mkrel 6
9 License: GPLv2+
10 Group: Networking/File transfer
11 URL: http://sites.google.com/site/alexthepuffin/home
12 Source: http://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/%version/afpfs-ng-%version.tar.bz2
13 # patches from Debian:
14 Patch10: build-error-fixes.patch
15 Patch11: header-path-fix.patch
16 Patch12: include-headers-fix.patch
17 BuildRequires: fuse-devel
18 BuildRequires: readline-devel
19 BuildRequires: ncurses-devel
20 BuildRequires: libgcrypt-devel
21
22 %description
23 afpfs-ng is a client for the Apple Filing Protocol (AFP) which will let
24 you mount and access shared volumes from Mac OS X (or netatalk).
25
26 There is a FUSE-based client which lets you mount a remote filesystem.
27
28 There is also a simple, command-line AFP client; think about it as an
29 FTP client for AFP.
30
31 %package -n %libname
32 Summary: Shared library of %name
33 Group: System/Libraries
34 Provides: %name = %version-%release
35
36 %description -n %libname
37 This package contains the library needed to run programs dynamically
38 linked with libafpclient, an Apple Filing Protocol (AFP) client library.
39
40 %package -n %devname
41 Summary: Development headers for libafpclient
42 Group: Development/C
43 Requires: %libname = %version
44 Provides: %name-devel = %version-%release
45 Provides: afpclient-devel = %version-%release
46
47 %description -n %devname
48 This package contains the headers needed to compile programs that use
49 libafpclient, an Apple Filing Protocol (AFP) client library.
50
51 %prep
52 %setup -q
53 %apply_patches
54
55 %build
56 autoreconf -if
57 %configure2_5x --disable-static
58 %make
59
60 %install
61 %makeinstall_std
62
63 find %{buildroot} -name '*.la' | xargs rm
64
65 %files
66 %doc docs/*.txt docs/README
67 %{_bindir}/afp*
68 %{_bindir}/mount_afp
69 %{_mandir}/man1/*afp*.1*
70
71 %files -n %libname
72 %{_libdir}/*.so.%{major}*
73
74 %files -n %devname
75 %{_libdir}/*.so
76 %{_includedir}/%{name}

  ViewVC Help
Powered by ViewVC 1.1.28