SPECS: hfsplusutils.spec (NEW) - initial, NFY

speedy speedy at pld-linux.org
Sun Jul 3 17:10:07 CEST 2005


Author: speedy                       Date: Sun Jul  3 15:10:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, NFY

---- Files affected:
SPECS:
   hfsplusutils.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/hfsplusutils.spec
diff -u /dev/null SPECS/hfsplusutils.spec:1.1
--- /dev/null	Sun Jul  3 17:10:07 2005
+++ SPECS/hfsplusutils.spec	Sun Jul  3 17:10:01 2005
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+Summary:	HFS+ volume utils
+Summary(pl):	Narzędzia do woluminów HFS+
+Name:		hfsplusutils
+Version:	1.0.4
+Release:	0.1
+License:	GPL
+Group:		Applications/System
+Source0:	ftp://ftp.penguinppc.org/users/hasi/hfsplus_%{version}.src.tar.bz2
+# Source0-md5:	18fa1efb5432469357ffa6bfa7c08fcd
+Patch0:		%{name}-nullisnotachar.patch
+Patch1:		%{name}-errno.patch
+Patch2:		%{name}-includes.patch
+Patch3:		%{name}-gcc4.patch
+URL:		http://www.penguinppc.org
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HFS+ volume utils.
+
+%description -l pl
+Narzędzia do woluminów HFS+.
+
+%prep
+%setup  -q -n hfsplus-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1 
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure --disable-shared
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/sbin
+cp -f $RPM_BUILD_ROOT/%{_bindir}/hpfsck $RPM_BUILD_ROOT/sbin/fsck.hfsplus
+
+install -d $RPM_BUILD_ROOT/%{_mandir}/man1
+gzip -c < doc/man/hfsp.man > $RPM_BUILD_ROOT/%{_mandir}/man1/hfsp.1.gz
+for a in hpcd hpcopy hpfsck hpls hpmkdir hpmount hppwd hprm hpumount fsck.hfsplus ; do
+        ln -sf hfsp.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/$a.1.gz
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README 
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) /sbin/fsck.hfsplus
+%{_mandir}/man?/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/03 15:10:01  speedy
+- initial, NFY
+
================================================================



More information about the pld-cvs-commit mailing list