From 68871a61486b7e103d037aba15a56bed1cfdedc3 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 12:37:50 +0000 Subject: [PATCH] auto-import changelog data from star-1.5a08-4.src.rpm Wed Jan 22 2003 Tim Powers - rebuilt Tue Nov 12 2002 Elliot Lee 1.5a08-3 - Build when uname -m != _target_platform - Use _smp_mflags - Build on x86_64 Mon Nov 11 2002 Jeff Johnson 1.5a08-2 - update to 1.5a08. - build from cvs. --- .cvsignore | 2 +- sources | 2 +- star.spec | 64 +++++++++++++++++++++++++++++++++++++++++------------- 3 files changed, 51 insertions(+), 17 deletions(-) diff --git a/.cvsignore b/.cvsignore index 009044b..9ddb507 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -star-1.5a04.tar.bz2 +star-1.5a08.tar.bz2 diff --git a/sources b/sources index 68ad971..25e1f73 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6afdf910c2b738cd495a02caf0fbf430 star-1.5a04.tar.bz2 +207ff7f7e2c0d725fdfd5115f23165df star-1.5a08.tar.bz2 diff --git a/star.spec b/star.spec index eefd1df..422f632 100644 --- a/star.spec +++ b/star.spec @@ -1,49 +1,83 @@ Summary: An archiving tool with ACL support Name: star -Version: 1.5a04 -Release: 1.0p +Version: 1.5a08 +Release: 4 URL: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html Source: ftp://ftp.fokus.gmd.de/pub/unix/star/alpha/%{name}-%{version}.tar.bz2 Patch: star-1.5-icantusethestandardwayandmademyownmake.patch License: GPL Group: Applications/Archiving BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: libattr-devel libacl-devel +BuildRequires: libattr-devel libacl-devel libtool %description Star saves many files together into a single tape or disk archive, and can restore individual files from the archive. Star supports ACL. - %prep %setup -q -n star-1.5 %patch0 -p1 +for PLAT in x86_64 ppc64 s390 s390x; do + for AFILE in gcc cc; do + [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \ + && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul + done +done +cp -f /usr/share/libtool/config.sub conf/config.sub %build export CFLAGS="$RPM_OPT_FLAGS" -make PARCH=%{_target_cpu} K_ARCH=%{_target_cpu} +make %{?_smp_mflags} PARCH=%{_target_cpu} K_ARCH=%{_target_cpu} \ + CONFFLAGS="%{_target_platform} --prefix=%{_prefix} \ + --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} \ + --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ + --datadir=%{_datadir} --includedir=%{_includedir} \ + --libdir=%{_libdir} --libexec=%{_libexecdir} \ + --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} \ + --mandir=%{_mandir} --infodir=%{_infodir}" %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/%{_mandir} -make install RPM_INSTALLDIR=$RPM_BUILD_ROOT PARCH=%{_target_cpu} K_ARCH=%{_target_cpu} -mv $RPM_BUILD_ROOT/usr/man/* $RPM_BUILD_ROOT/%{_mandir} +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man1 +%makeinstall RPM_INSTALLDIR=${RPM_BUILD_ROOT} PARCH=%{_target_cpu} K_ARCH=%{_target_cpu} +rm -rf $RPM_BUILD_ROOT/usr/share/man +mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT/usr/share/man + +# XXX Nuke unpackaged files. +( cd ${RPM_BUILD_ROOT} + rm -f .%{_bindir}/mt + rm -f .%{_bindir}/smt + rm -f .%{_bindir}/tartest + rm -rf .%{_prefix}/include + rm -rf .%{_prefix}/lib + rm -rf .%{_mandir}/man5 + rm -rf .%{_mandir}/man1/{tartest,rmt}.1* + rm -rf .%{_prefix}/sbin +) %clean -rm -rf $RPM_BUILD_ROOT +rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README AN* COPYING README.ACL README.crash README.largefiles README.linux %doc README.otherbugs README.pattern README.posix-2001 README.SSPM STARvsGNUTAR %doc STATUS.alpha TODO -/usr/bin/star -/usr/bin/ustar +%{_bindir}/*star %{_mandir}/man1/star* - %changelog +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Tue Nov 12 2002 Elliot Lee 1.5a08-3 +- Build when uname -m != _target_platform +- Use _smp_mflags +- Build on x86_64 + +* Mon Nov 11 2002 Jeff Johnson 1.5a08-2 +- update to 1.5a08. +- build from cvs. + * Wed Jun 26 2002 Trond Eivind Glomsrød 1.5a04 - Initial build. Alpha version - it's needed for ACLs. - -