source: projects/specs/trunk/g/gnu-efi/gnu-efi-vl.spec @ 9715

Revision 9715, 2.1 KB checked in by Takemikaduchi, 9 years ago (diff)

thunderbird: fix branding
gnu-efi: NEW PACKAGE
others: new upstream release

Line 
1Summary:        Building EFI Applications Using the GNU Toolchain
2Name:           gnu-efi
3Version:        3.0.2
4Release:        1%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://sourceforge.net/projects/gnu-efi/
9Source0:        %{name}-%{version}.tar.bz2
10
11Patch0:         0001-Add-setjmp-back-once-again.patch
12
13Vendor:         Project Vine
14Distribution:   Vine Linux
15Packager:       Takemikaduchi
16
17%global efidir  vine
18
19%ifarch x86_64
20%global efiarch x86_64
21%endif
22%ifarch %{ix86}
23%global efiarch ia32
24%endif
25
26
27%description
28Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF),
29and IA-32 (x86) platforms using the GNU toolchain and the EFI
30development environment.
31
32
33%package        devel
34Summary:        Development tools for %{name}
35Summary(ja):    %{name} の開発環境
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38
39%description    devel
40Header files and libraries for building a extension library for the %{name}.
41
42
43%package        utils
44Summary:        Utilities for EFI systems
45Group:          Applications/System
46
47%description utils
48This package contains utilties for debugging and developing EFI systems.
49
50
51%prep
52%setup -q
53%patch0 -p1
54
55%build
56make
57make apps
58
59%install
60rm -rf $RPM_BUILD_ROOT
61make install INSTALLROOT=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir}
62find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
63
64mkdir -p $RPM_BUILD_ROOT%{_libdir}/gnuefi
65mv $RPM_BUILD_ROOT%{_libdir}/*.lds $RPM_BUILD_ROOT%{_libdir}/*.o $RPM_BUILD_ROOT%{_libdir}/gnuefi
66
67mkdir -p $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/
68mv %{efiarch}/apps/{route80h.efi,modelist.efi} $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/
69
70
71%post -p /sbin/ldconfig
72
73%postun -p /sbin/ldconfig
74
75
76%files
77%doc README.gnuefi README.efilib README.elilo ChangeLog
78%defattr(-,root,root,-)
79%{_libdir}/*
80
81%files devel
82%defattr(-,root,root,-)
83%{_includedir}/efi
84
85%files utils
86%dir /boot/efi/EFI/%{efidir}/
87%attr(0644,root,root) /boot/efi/EFI/%{efidir}/*.efi
88
89
90%changelog
91* Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
92- initial build based on fedora
Note: See TracBrowser for help on using the repository browser.