X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgrub2.git;a=blobdiff_plain;f=grub2.spec;h=dc359e8cd2c91ccc71e0d355470940a84c261cce;hp=e66015df5297fc9e9ecf1ce2f0add5a5b80198d0;hb=f70448640b83ae5ebec0579e4b9ecee8c405bb22;hpb=e25e980117bde060e9d3af55723f1a063d4da54b diff --git a/grub2.spec b/grub2.spec index e66015d..dc359e8 100644 --- a/grub2.spec +++ b/grub2.spec @@ -16,7 +16,7 @@ %ifnarch %{ix86} %{x8664} %undefine with_pc %endif -%ifnarch %{ix86} %{x8664} ia64 +%ifnarch %{ix86} %{x8664} %undefine with_efi %endif @@ -26,41 +26,30 @@ %endif # the 'most natural' platform should go last -%ifarch %{ix86} %{x8664} ia64 +%ifarch %{ix86} %{x8664} %define platforms %{?with_efi:efi} %{?with_pc:pc} %endif -%ifarch ppc ppc64 sparc64 -%define platforms ieee1275 -%endif -%ifarch mips -%define platforms arc -%endif -%ifarch mipsel -%define platforms loongson -%endif Summary: GRand Unified Bootloader -Summary(de.UTF-8): GRUB2 - ein Bootloader für x86 und ppc -Summary(hu.UTF-8): GRUB2 - rendszerbetöltő x86 és ppc gépekhez -Summary(pl.UTF-8): GRUB2 - bootloader dla x86 i ppc +Summary(de.UTF-8): GRUB2 - ein Bootloader für x86 +Summary(hu.UTF-8): GRUB2 - rendszerbetöltő x86 gépekhez +Summary(pl.UTF-8): GRUB2 - bootloader dla x86 Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2 %define beta beta2 Name: grub2 Version: 2.02 -Release: 0.%{beta}.2 +Release: 0.%{beta}.5 License: GPL v2 Group: Base -# http://git.savannah.gnu.org/cgit/grub.git -Source0: http://git.savannah.gnu.org/cgit/grub.git/snapshot/grub-%{version}-%{beta}.tar.gz -# Source0-md5: ca6c18f6c5f1ed05b7444017a40573d9 +# 1. Download and unpack latest official beta snapshot from http://git.savannah.gnu.org/cgit/grub.git +# 2. Run ./autogen.sh and ./linguas.sh +# 3. Recompress and upload to DF +Source0: grub-%{version}-%{beta}.tar.xz +# Source0-md5: f262e61eba2e76a6f60b39a810814284 Source1: update-grub Source2: update-grub.8 Source3: grub.sysconfig Source4: grub-custom.cfg -# ./linguas.sh -# TS=$(date +'%Y%m%d') ; tar cjvf grub-po-2.00.git$TS.tar.bz2 po/*.po po/LINGUAS -Source5: grub-po-%{version}.git20140104.tar.bz2 -# Source5-md5: aeef3e636178093cf9d780d92da7afdb Patch1: pld-sysconfdir.patch Patch2: grub-garbage.patch Patch3: grub-lvmdevice.patch @@ -107,7 +96,7 @@ BuildRequires: gcc-multilib %endif %endif Requires: %{name}-platform = %{version}-%{release} -Requires: pld-release +Requires: issue Requires: which %ifarch %{ix86} %{x8664} Suggests: %{name}-platform-pc @@ -116,7 +105,7 @@ Suggests: cdrkit-mkisofs Suggests: os-prober Provides: bootloader Conflicts: grub -ExclusiveArch: %{ix86} %{x8664} ia64 mips mipsel ppc ppc64 sparc64 +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin @@ -282,7 +271,7 @@ starfield theme for GRUB. Motyw starfield dla GRUB-a. %prep -%setup -q -n grub-%{version}~%{beta} -a5 +%setup -q -n grub-%{version}-%{beta} %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -386,9 +375,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %ifnarch %{ix86} %{x8664} %{__rm} $RPM_BUILD_ROOT{%{_sbindir}/grub-bios-setup,%{_mandir}/man8/grub-bios-setup.8} %endif -%ifnarch sparc64 %{__rm} $RPM_BUILD_ROOT{%{_sbindir}/grub-sparc64-setup,%{_mandir}/man8/grub-sparc64-setup.8} -%endif # core.img - bootable image generated by grub-mkimage(1) via grub-install(1) touch $RPM_BUILD_ROOT%{_grubdir}/core.img @@ -463,10 +450,6 @@ fi %attr(755,root,root) %{_sbindir}/grub-probe %{_mandir}/man8/grub-probe.8* %endif -%ifarch sparc64 -%attr(755,root,root) %{_sbindir}/grub-sparc64-setup -%{_mandir}/man8/grub-sparc64-setup.8* -%endif %{_mandir}/man1/grub-editenv.1* %{_mandir}/man1/grub-file.1* %{_mandir}/man1/grub-fstest.1* @@ -551,7 +534,7 @@ fi %{_libexecdir}/*-pc/efiemu*.o %endif %{_libexecdir}/*-pc/kernel.img -%ifarch %{ix86} %{x8664} sparc sparc64 +%ifarch %{ix86} %{x8664} %{_libexecdir}/*-pc/boot.img %{_libexecdir}/*-pc/boot_hybrid.img %{_libexecdir}/*-pc/cdboot.img