Author: glen Date: Sat Dec 18 19:55:06 2010 GMT Module: packages Tag: HEAD ---- Log message: - new, based on PCLinuxOS src.rpm
---- Files affected: packages/os-prober: os-prober.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/os-prober/os-prober.spec diff -u /dev/null packages/os-prober/os-prober.spec:1.1 --- /dev/null Sat Dec 18 20:55:06 2010 +++ packages/os-prober/os-prober.spec Sat Dec 18 20:55:01 2010 @@ -0,0 +1,74 @@ +# $Revision$, $Date$ +Summary: Utilities that detect other operating system installs on a set of drives +Name: os-prober +Version: 1.22 +Release: 1 +License: GPL +Group: Base/Kernel +URL: http://packages.qa.debian.org/o/os-prober.html +Source0: http://ftp.debian.org/debian/pool/main/o/os-prober/%{name}_%{version}.tar.bz2 +# Source0-md5: 89c7744bb1dd3ff09ffbd896ff0baea0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +# no binary blobs +%define _enable_debug_packages 0 + +%description +This is a small package that may be depended on by any bootloader +installer package to detect other filesystems with operating systems +on them, and work out how to boot other linux installs. + +%prep +%setup -q + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{/var/lib/os-prober,%{_bindir},%{_datadir}/%{name}} +install -p %{name} $RPM_BUILD_ROOT%{_bindir} +install -p linux-boot-prober $RPM_BUILD_ROOT%{_bindir} +cp -a common.sh $RPM_BUILD_ROOT%{_datadir}/%{name} + +%ifarch m68k +ARCH=m68k +%endif +%ifarch ppc ppc64 +ARCH=powerpc +%endif +%ifarch sparc sparc64 +ARCH=sparc +%endif +%ifarch %{ix86} %{x8664} +ARCH=x86 +%endif +for i in os-probes os-probes/mounted os-probes/init \ + linux-boot-probes linux-boot-probes/mounted; do + install -d $RPM_BUILD_ROOT%{_libdir}/$i + cp -a $i/common/* $RPM_BUILD_ROOT%{_libdir}/$i + if [ -e "$i/$ARCH" ]; then + cp -a $i/$ARCH/* $RPM_BUILD_ROOT%{_libdir}/$i + fi +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README TODO debian/changelog debian/copyright +%attr(755,root,root) %{_bindir}/*prober +%dir %{_libdir}/os-probes +%{_libdir}/os-probes/* +%dir %{_libdir}/linux-boot-probes +%{_libdir}/linux-boot-probes/* +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/common.sh +%dir /var/lib/os-prober + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/12/18 19:55:01 glen +- new, based on PCLinuxOS src.rpm ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
