|
|
@ -1,5 +1,5 @@ |
|
|
|
Name: i3 |
|
|
|
Name: i3 |
|
|
|
Version: 4.18 |
|
|
|
Version: 4.18.1 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Summary: Improved tiling window manager |
|
|
|
Summary: Improved tiling window manager |
|
|
|
License: BSD |
|
|
|
License: BSD |
|
|
@ -79,20 +79,35 @@ Asciidoc and doxygen generated documentations for %{name}. |
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -q |
|
|
|
%setup -q |
|
|
|
# Drop /usr/bin/env lines in those which will be installed to %%_bindir. |
|
|
|
|
|
|
|
find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;#!/usr/bin/perl;' {} + -print |
|
|
|
find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;#!/usr/bin/perl;' {} + -print |
|
|
|
### ### sed -i 's/1\.14\.4/1\.14\.1/g' configure |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
%configure |
|
|
|
./configure \ |
|
|
|
%make_build -C *-powerel-linux-gnu |
|
|
|
--build=%{_arch}-powerel-linux-gnu \ |
|
|
|
#doxygen pseudo-doc.doxygen |
|
|
|
--host=%{_arch}-powerel-linux-gnu \ |
|
|
|
#mv pseudo-doc/html pseudo-doc/doxygen |
|
|
|
--disable-dependency-tracking \ |
|
|
|
|
|
|
|
--program-prefix= \ |
|
|
|
|
|
|
|
--prefix=/usr \ |
|
|
|
|
|
|
|
--exec-prefix=/usr \ |
|
|
|
|
|
|
|
--bindir=/usr/bin \ |
|
|
|
|
|
|
|
--sbindir=/usr/sbin \ |
|
|
|
|
|
|
|
--sysconfdir=/etc \ |
|
|
|
|
|
|
|
--datadir=/usr/share \ |
|
|
|
|
|
|
|
--includedir=/usr/include \ |
|
|
|
|
|
|
|
--libdir=/usr/lib64 \ |
|
|
|
|
|
|
|
--libexecdir=/usr/libexec \ |
|
|
|
|
|
|
|
--localstatedir=/var \ |
|
|
|
|
|
|
|
--sharedstatedir=/var/lib \ |
|
|
|
|
|
|
|
--mandir=/usr/share/man \ |
|
|
|
|
|
|
|
--infodir=/usr/share/info |
|
|
|
|
|
|
|
%make_build -C %{_arch}-powerel-linux-gnu |
|
|
|
|
|
|
|
doxygen pseudo-doc.doxygen |
|
|
|
|
|
|
|
mv pseudo-doc/html pseudo-doc/doxygen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
%make_install -C *-powerel-linux-gnu |
|
|
|
%make_install -C %{_arch}-powerel-linux-gnu |
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/ |
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/ |
|
|
|
install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ |
|
|
|
install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ |
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/ |
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/ |
|
|
@ -100,10 +115,7 @@ install -Dpm0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check |
|
|
|
%check |
|
|
|
%ifnarch s390 s390x |
|
|
|
|
|
|
|
# TODO: with xorg dummy to test the package. |
|
|
|
|
|
|
|
#cd testcases/ && ./complete-run.pl -p 1 |
|
|
|
#cd testcases/ && ./complete-run.pl -p 1 |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|