|
|
|
@ -83,6 +83,16 @@ find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;
@@ -83,6 +83,16 @@ find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%ifarch ppc64le |
|
|
|
|
%define buildarch powerpc64le |
|
|
|
|
%endif |
|
|
|
|
%ifarch ppc64 |
|
|
|
|
%define buildarch powerpc64 |
|
|
|
|
%endif |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
%define buildarch x86_64 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
./configure \ |
|
|
|
|
--build=%{_arch}-powerel-linux-gnu \ |
|
|
|
|
--host=%{_arch}-powerel-linux-gnu \ |
|
|
|
@ -101,13 +111,13 @@ find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;
@@ -101,13 +111,13 @@ find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;
|
|
|
|
|
--sharedstatedir=/var/lib \ |
|
|
|
|
--mandir=/usr/share/man \ |
|
|
|
|
--infodir=/usr/share/info |
|
|
|
|
%make_build -C %{_arch}-powerel-linux-gnu |
|
|
|
|
%make_build -C %{buildarch}-powerel-linux-gnu |
|
|
|
|
doxygen pseudo-doc.doxygen |
|
|
|
|
mv pseudo-doc/html pseudo-doc/doxygen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
%make_install -C %{_arch}-powerel-linux-gnu |
|
|
|
|
%make_install -C %{buildarch}-powerel-linux-gnu |
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/ |
|
|
|
|
install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ |
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/ |
|
|
|
|