Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > ea51a1d1614a5d21ce097b49ace71a37 > files > 1

hfsplusutils-1.0.2-2mdk.src.rpm

Summary:	User-space HFS+ utilities
Name:		hfsplusutils
Version:	1.0.2
Release:	2mdk
License:	GPL
Group:		File tools

Source:		hfsplus.src.tar.bz2

BuildRoot:	%_tmppath/%name-%version-%release-root
Packager:	David BAUDENS <baudens@mandrakesoft.com>
URL:		http://penguinppc.org/files/users/hasi/
ExclusiveArch:	ppc

%description
A portable, free implementation of routines for accessing HFS+ volumes.
Currently only reading is supported.

%prep

%setup -q -n hfsplus

%build
CFLAGS="%optflags" make -f Makefile.cvs

%make CFLAGS="%optflags"


%install
install -d %buildroot/%_bindir
install -d %buildroot/%_libdir

install -m 755 src/.libs/* %buildroot/%_bindir
install -m 644 libhfsp/src/libhfsp.la %buildroot/%_libdir
install -m 755 libhfsp/src/.libs/libhfsp.a %buildroot/%_libdir
install -m 755 libhfsp/src/.libs/libhfsp.so.0.0.0 %buildroot/%_libdir

# Dadou - 1.0.2-1mdk - hfsutils author: temporarily remove hpfsck, since it
#                      doesn't really work yet
rm -f %buildroot/%_bindir/hpfsck

(
cd %buildroot/%_libdir
ln -s libhfsp.so.0.0.0 libhfsp.so
ln -s libhfsp.so.0.0.0 libhfsp.so.0
)


%clean
rm -fr %buildroot


%post
/sbin/ldconfig

%postun
/sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc doc/bugs.html doc/faq.html doc/hfsp.html doc/libhfsp.html doc/man/hfsp.sgml
%_bindir/*
%_libdir/*


%changelog
* Thu Apr 20 2001 David BAUDENS <baudens@mandrakesoft.com> 1.0.2-2mdk
- ExclusiveArch: ppc

* Wed Apr 19 2001 David BAUDENS <baudens@mandrakesoft.com> 1.0.2-1mdk
- First spec for Linux-Mandrake distribution