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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1916237 - (hide annotations) (download)
Sat Dec 3 22:51:24 2022 UTC (16 months, 2 weeks ago) by danf
File size: 2035 byte(s)
SILENT: Switch project URLs to https:
1 anssi 217426 %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 umeabot 1797772 Release: %mkrel 14
9 anssi 217426 License: GPLv2+
10     Group: Networking/File transfer
11 danf 1916237 URL: https://sites.google.com/site/alexthepuffin/home
12 danf 1563275 Source: https://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/%version/afpfs-ng-%version.tar.bz2
13 anssi 217426 # patches from Debian:
14     Patch10: build-error-fixes.patch
15     Patch11: header-path-fix.patch
16     Patch12: include-headers-fix.patch
17 ovitters 1143912 BuildRequires: pkgconfig(fuse)
18 anssi 217426 BuildRequires: readline-devel
19 ovitters 1143912 BuildRequires: pkgconfig(ncurses)
20 anssi 217426 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 ovitters 875651 %autopatch -p1
54 anssi 217426
55     %build
56 neoclust 1587717 export CFLAGS="${RPM_OPT_FLAGS} -fcommon"
57 anssi 217426 autoreconf -if
58 wally 1478258 %configure --disable-static
59 ovitters 1578756 %make_build
60 anssi 217426
61     %install
62 wally 1470869 %make_install
63 anssi 217426
64     find %{buildroot} -name '*.la' | xargs rm
65    
66     %files
67     %doc docs/*.txt docs/README
68     %{_bindir}/afp*
69     %{_bindir}/mount_afp
70     %{_mandir}/man1/*afp*.1*
71    
72     %files -n %libname
73 ovitters 875651 %{_libdir}/*.so.%{major}{,.*}
74 anssi 217426
75     %files -n %devname
76     %{_libdir}/*.so
77     %{_includedir}/%{name}

  ViewVC Help
Powered by ViewVC 1.1.30