1 |
%define name multiarch-utils |
2 |
%define version 1.0.10 |
3 |
%define release %mkrel 2 |
4 |
%define multiarch_distro 1020 |
5 |
|
6 |
Summary: Tools to help creation of multiarch binaries and includes |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release} |
10 |
Source0: %{name}-%{version}.tar.bz2 |
11 |
License: GPL |
12 |
Group: Development/Other |
13 |
Url: http://www.mandrivalinux.com/ |
14 |
BuildArch: noarch |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
16 |
%if %{mdkversion} >= %{multiarch_distro} |
17 |
Conflicts: rpm < 4.2.3-6mdk |
18 |
%endif |
19 |
%if %{mdkversion} >= 200600 |
20 |
Conflicts: rpm < 4.4 |
21 |
%define macros %{_sysconfdir}/rpm/macros.d/multiarch.macros |
22 |
%else |
23 |
%define macros %{_sysconfdir}/rpm/macros.multiarch |
24 |
%endif |
25 |
|
26 |
%description |
27 |
multiarch-utils is a collection of helper utilities to dispatch |
28 |
binaries and include files during RPM package build. |
29 |
|
30 |
%prep |
31 |
%setup -q |
32 |
|
33 |
%build |
34 |
|
35 |
%install |
36 |
rm -rf %{buildroot} |
37 |
%makeinstall_std |
38 |
|
39 |
%clean |
40 |
rm -rf %{buildroot} |
41 |
|
42 |
%files |
43 |
%defattr(-,root,root) |
44 |
%doc NEWS ChangeLog |
45 |
%{_bindir}/multiarch-platform |
46 |
%{_bindir}/multiarch-dispatch |
47 |
%{_includedir}/multiarch-dispatch.h |
48 |
%{macros} |
49 |
%{_prefix}/lib/rpm/mkmultiarch |
50 |
%{_prefix}/lib/rpm/check-multiarch-files |
51 |
|
52 |
|
53 |
|