]> git.pld-linux.org Git - packages/gnu-efi.git/blob - gnu-efi.spec
- converted to UTF-8
[packages/gnu-efi.git] / gnu-efi.spec
1 Summary:        GNU-EFI - building EFI applications using the GNU toolchain
2 Summary(pl.UTF-8):   GNU-EFI - tworzenie aplikacji EFI przy użyciu narzędzi GNU
3 Name:           gnu-efi
4 Version:        3.0c
5 Release:        1
6 # efilib is on Intel's BSD-like license, HP's glue code is GPL'd
7 License:        GPL v2+, portions on Intel's BSD-like license (see README.*)
8 Group:          Development/Libraries
9 Source0:        ftp://ftp.hpl.hp.com/pub/linux-ia64/%{name}-%{version}.tar.gz
10 # Source0-md5:  823e5f04d1c0a7b88831f91fbf12d470
11 BuildRequires:  binutils >= 2.11
12 BuildRequires:  gcc >= 5:3.0
13 Requires:       binutils >= 2.11
14 Requires:       gcc >= 5:3.0
15 ExclusiveArch:  %{ix86} ia64
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         specflags_ia64  -frename-registers
19
20 %description
21 GNU-EFI development environment allows to create EFI applications for
22 IA-64 and x86 platforms using the GNU toolchain.
23
24 %description -l pl.UTF-8
25 Środowisko programistyczne GNU-EFI umożliwia tworzenie aplikacji EFI
26 dla platform IA-64 i x86 przy użyciu narzędzi GNU.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__make} \
33         CC="%{__cc}" \
34         CFLAGS="%{rpmcflags} -fpic -Wall -fshort-wchar"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         INSTALLROOT=$RPM_BUILD_ROOT%{_prefix}
41
42 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43 cp -a apps/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ChangeLog README.*
51 %{_libdir}/lib*efi.a
52 %{_libdir}/crt0-efi-*.o
53 %{_libdir}/elf_*_efi.lds
54 %{_includedir}/efi
55 %{_examplesdir}/%{name}-%{version}
This page took 0.045412 seconds and 3 git commands to generate.