|
 |
1a9d372 |
# No FUSE on RHEL5
|
|
 |
1a9d372 |
%if %{?el5:1}0
|
|
 |
1a9d372 |
%define _without_fuse 1
|
|
 |
1a9d372 |
%endif
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
Name: afpfs-ng
|
|
 |
1a9d372 |
Version: 0.8.1
|
|
 |
be0dd65 |
Release: 19%{?dist}
|
|
 |
1a9d372 |
Summary: Apple Filing Protocol client
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
Group: System Environment/Base
|
|
 |
64607b8 |
License: GPL+
|
|
 |
1a9d372 |
URL: http://alexthepuffin.googlepages.com/home
|
|
 |
1a9d372 |
Source0: http://downloads.sourceforge.net/afpfs-ng/%{name}-%{version}.tar.bz2
|
|
 |
1a9d372 |
Patch0: afpfs-ng-0.8.1-overflows.patch
|
|
Jan F. Chadima |
dae616b |
Patch1: afpfs-ng-0.8.1-pointer.patch
|
|
 |
766f481 |
# Sent by e-mail to Alex deVries <alexthepuffin@gmail.com>
|
|
 |
766f481 |
Patch2: afpfs-ng-0.8.1-formatsec.patch
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%{?!_without_fuse:BuildRequires: fuse-devel}
|
|
 |
1a9d372 |
BuildRequires: libgcrypt-devel gmp-devel readline-devel
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%description
|
|
 |
1a9d372 |
A command line client to access files exported from Mac OS system via
|
|
 |
415a2ed |
Apple Filing Protocol.
|
|
 |
1a9d372 |
%{?!_without_fuse:The FUSE filesystem module for AFP is in fuse-afp package}
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%if %{?!_without_fuse:1}0
|
|
 |
1a9d372 |
%package -n fuse-afp
|
|
 |
1a9d372 |
Summary: FUSE driver for AFP filesystem
|
|
 |
1a9d372 |
Group: System Environment/Base
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%description -n fuse-afp
|
|
 |
1a9d372 |
A FUSE file system server to access files exported from Mac OS system
|
|
 |
1a9d372 |
via AppleTalk or TCP using Apple Filing Protocol.
|
|
 |
1a9d372 |
The command line client for AFP is in fuse-afp package
|
|
 |
1a9d372 |
%endif
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%package devel
|
|
 |
1a9d372 |
Summary: Development files for afpfs-ng
|
|
 |
1a9d372 |
Group: Development/Libraries
|
|
 |
1a9d372 |
Requires: %{name} = %{version}
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%description devel
|
|
 |
1a9d372 |
Library for dynamic linking and header files of afpfs-ng.
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%prep
|
|
 |
1a9d372 |
%setup -q
|
|
 |
1a9d372 |
%patch0 -p1 -b .overflows
|
|
Jan F. Chadima |
dae616b |
%patch1 -p1 -b .pointer
|
|
 |
766f481 |
%patch2 -p1 -b .formatsec
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%build
|
|
 |
1a9d372 |
# make would rebuild the autoconf infrastructure due to the following:
|
|
 |
1a9d372 |
# Prerequisite `configure.ac' is newer than target `Makefile.in'.
|
|
 |
1a9d372 |
# Prerequisite `aclocal.m4' is newer than target `Makefile.in'.
|
|
 |
1a9d372 |
# Prerequisite `configure.ac' is newer than target `aclocal.m4'.
|
|
 |
1a9d372 |
touch --reference aclocal.m4 configure.ac Makefile.in
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%configure %{?_without_fuse:--disable-fuse} --disable-static
|
|
 |
1a9d372 |
make %{?_smp_mflags}
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%install
|
|
 |
106289b |
make install DESTDIR=%{buildroot}
|
|
 |
106289b |
install -d %{buildroot}%{_includedir}/afpfs-ng
|
|
 |
106289b |
cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%files
|
|
 |
1a9d372 |
%{_bindir}/afpcmd
|
|
 |
1a9d372 |
%{_bindir}/afpgetstatus
|
|
 |
1a9d372 |
%{_mandir}/man1/afpcmd.1*
|
|
 |
1a9d372 |
%{_mandir}/man1/afpgetstatus.1*
|
|
 |
1a9d372 |
%{_libdir}/*.so.*
|
|
 |
1a9d372 |
%exclude %{_libdir}/*.la
|
|
 |
1a9d372 |
%doc COPYING AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%if %{?!_without_fuse:1}0
|
|
 |
1a9d372 |
%files -n fuse-afp
|
|
 |
1a9d372 |
%{_bindir}/afp_client
|
|
 |
1a9d372 |
%{_bindir}/afpfs
|
|
 |
1a9d372 |
%{_bindir}/afpfsd
|
|
 |
1a9d372 |
%{_bindir}/mount_afp
|
|
 |
1a9d372 |
%{_mandir}/man1/afp_client.1*
|
|
 |
1a9d372 |
%{_mandir}/man1/afpfsd.1*
|
|
 |
1a9d372 |
%{_mandir}/man1/mount_afp.1*
|
|
 |
1a9d372 |
%doc COPYING AUTHORS ChangeLog
|
|
 |
1a9d372 |
%endif
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%files devel
|
|
 |
1a9d372 |
%{_includedir}/afpfs-ng
|
|
 |
1a9d372 |
%{_libdir}/*.so
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%post -p /sbin/ldconfig
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%postun -p /sbin/ldconfig
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
%changelog
|
|
 |
be0dd65 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-19
|
|
 |
be0dd65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
be0dd65 |
|
|
 |
4416edf |
* Tue Nov 25 2014 <hguemar@fedoraproject.org> - 0.8.1-18
|
|
 |
4416edf |
- Fix mount_afp crash (RHBZ #1165296)
|
|
 |
4416edf |
|
|
 |
6a2c075 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-17
|
|
 |
6a2c075 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
 |
6a2c075 |
|
|
 |
36bd03e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-16
|
|
 |
36bd03e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
36bd03e |
|
|
 |
b824cba |
* Tue Apr 22 2014 Tomáš Mráz <tmraz@redhat.com> - 0.8.1-15
|
|
 |
b824cba |
- Rebuild for new libgcrypt
|
|
 |
b824cba |
|
|
 |
766f481 |
* Wed Dec 04 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-14
|
|
 |
766f481 |
- Fix build with -Werror=format-security
|
|
 |
766f481 |
|
|
 |
106289b |
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-13.3
|
|
 |
106289b |
- Bulk sad and useless attempt at consistent SPEC file formatting
|
|
 |
106289b |
|
|
 |
134eb3d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-12.3
|
|
 |
134eb3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
134eb3d |
|
|
 |
8c9df65 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-11.3
|
|
 |
8c9df65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
 |
8c9df65 |
|
|
 |
25cb831 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-10.3
|
|
 |
25cb831 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
25cb831 |
|
|
 |
ce90444 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-9.3
|
|
 |
ce90444 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
 |
ce90444 |
|
|
Marcela Mašláňová |
3598866 |
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.8.1-8.3
|
|
Marcela Mašláňová |
3598866 |
- rebuild with new gmp without compat lib
|
|
Marcela Mašláňová |
3598866 |
|
|
Marcela Mašláňová |
82600ad |
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.2
|
|
Marcela Mašláňová |
82600ad |
- rebuild with new gmp
|
|
Marcela Mašláňová |
82600ad |
|
|
Marcela Mašláňová |
2456994 |
* Mon Sep 26 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.1
|
|
Marcela Mašláňová |
2456994 |
- rebuild with new gmp
|
|
Marcela Mašláňová |
2456994 |
|
|
Jan F. Chadima |
dae616b |
* Mon Jul 4 2011 Jan F. Chadima <jchadima@redhat.com> - 0.8.1-8
|
|
Jan F. Chadima |
dae616b |
- Repair ponter arithmetic
|
|
Jan F. Chadima |
dae616b |
|
|
 |
1ac35f0 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
|
|
 |
1ac35f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
 |
1ac35f0 |
|
|
 |
90e65a6 |
* Thu Sep 17 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.8.1-6
|
|
 |
90e65a6 |
- Rebuild with new fuse
|
|
 |
90e65a6 |
|
|
 |
d988137 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
|
|
 |
d988137 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
 |
d988137 |
|
|
 |
415a2ed |
* Fri Jul 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-4
|
|
 |
415a2ed |
- Don't refer to AppleTalk in Summary
|
|
 |
415a2ed |
|
|
 |
64607b8 |
* Tue Jul 14 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-3
|
|
 |
64607b8 |
- Fix up license tag
|
|
 |
64607b8 |
|
|
 |
1a9d372 |
* Thu Mar 19 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-2
|
|
 |
1a9d372 |
- Add more include files (Jan F. Chadima)
|
|
 |
1a9d372 |
- Don't needlessly build static library (Stefan Kasal)
|
|
 |
1a9d372 |
- Fix fuse-afp summary (Stefan Kasal)
|
|
 |
1a9d372 |
- Remove redundant license file from -devel (Stefan Kasal)
|
|
 |
1a9d372 |
|
|
 |
1a9d372 |
* Mon Oct 6 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-1
|
|
 |
1a9d372 |
- Initial packaging attempt
|