From 12d30d50584357c81b29f9a80328345fe14250d5 Mon Sep 17 00:00:00 2001 From: guibuilder_pel7x64builder0 Date: Mon, 1 Nov 2021 23:09:45 +0100 Subject: [PATCH] i3 pckage update 4.19 with meson build Signed-off-by: guibuilder_pel7x64builder0 --- SPECS/i3.spec | 219 +++++++------------------------------------------- 1 file changed, 30 insertions(+), 189 deletions(-) diff --git a/SPECS/i3.spec b/SPECS/i3.spec index a99e4ea..4f03452 100644 --- a/SPECS/i3.spec +++ b/SPECS/i3.spec @@ -1,5 +1,5 @@ Name: i3 -Version: 4.18.3 +Version: 4.19 Release: 1%{?dist} Summary: Improved tiling window manager License: BSD @@ -56,8 +56,8 @@ Requires: dmenu Requires: dzen2 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: i3status -%{!?rhel:Recommends: rxvt-unicode} -%{!?rhel:Recommends: xorg-x11-apps} +#Requires: rxvt-unicode +Requires: xorg-x11-apps Requires: xorg-x11-fonts-misc @@ -78,47 +78,36 @@ Requires: %{name} = %{version}-%{release} Asciidoc and doxygen generated documentations for %{name}. +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +%description devel +Header files for %{name}. + + +%package devel-doc +Summary: Documentation for the development files of %{name} +BuildRequires: doxygen +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +%description devel-doc +Doxygen generated documentations for %{name}. + + %prep %setup -q find . -maxdepth 1 -type f -name "i3*" -exec sed -i -e '1s;^#!/usr/bin/env perl;#!/usr/bin/perl;' {} + -print #%patch0 -p0 %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 \ - --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 %{buildarch}-powerel-linux-gnu +%meson +%meson_build doxygen pseudo-doc.doxygen mv pseudo-doc/html pseudo-doc/doxygen %install -%make_install -C %{buildarch}-powerel-linux-gnu +%meson_install mkdir -p %{buildroot}%{_mandir}/man1/ install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ mkdir -p %{buildroot}%{_datadir}/pixmaps/ @@ -146,166 +135,18 @@ install -Dpm0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ %files doc +%license LICENSE %doc docs/*.{html,png} pseudo-doc/doxygen/ -%changelog -* Wed Nov 09 2016 Christian Dersch - 4.13-1 -- new version - -* Sun May 15 2016 Jitka Plesnikova - 4.12-4 -- Perl 5.24 rebuild - -* Mon Mar 07 2016 Christian Dersch - 4.12-3 -- Fixed mispelled dependency i3status - -* Sun Mar 06 2016 Christian Dersch - 4.12-2 -- Added BR: cairo-devel to enable new rendering implementation - -* Sun Mar 06 2016 Christian Dersch - 4.12-1 -- Upgrade to version 4.12 - -* Thu Feb 04 2016 Fedora Release Engineering - 4.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Nov 18 2015 Christian Dersch - 4.11-1 -- new version - -* Tue Sep 08 2015 Christopher Meng - 4.10.4-1 -- Update to 4.10.4 - -* Fri Aug 14 2015 Jonathan Underwood - 4.10.3-3 -- Fix typo in spec file - -* Fri Aug 14 2015 Jonathan Underwood - 4.10.3-2 -- Add Recommends for i3-status -- Move Requires for rxvt-unicode and xorg-x11-apps to Recommends - -* Thu Aug 13 2015 Martin Preisler - 4.10.3-1 -- Update to 4.10.3 (#1248840) -- Added Getopt::Long perl build dep - -* Wed Jun 17 2015 Fedora Release Engineering - 4.10.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Jun 05 2015 Jitka Plesnikova - 4.10.2-2 -- Perl 5.22 rebuild - -* Sun May 17 2015 Björn Esser - 4.10.2-1 -- Update to 4.10.2 (#1206967) - -* Sun Mar 08 2015 Christopher Meng - 4.9.1-1 -- Update to 4.9.1 - -* Thu Aug 28 2014 Jitka Plesnikova - 4.8-5 -- Perl 5.20 rebuild - -* Sat Aug 16 2014 Fedora Release Engineering - 4.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jul 04 2014 Dan Horák - 4.8-3 -- no xorg-x11-drv-* on s390(x) - -* Wed Jun 25 2014 Christopher Meng - 4.8-2 -- Bugfix: don't focus unmapped container on manage(regression) - -* Sat Jun 21 2014 Christopher Meng - 4.8-1 -- Update to 4.8 - -* Sat Jun 07 2014 Fedora Release Engineering - 4.7.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu Apr 03 2014 Martin Preisler - 4.7.2-1 -- New upstream release - -* Thu Aug 08 2013 Simon Wesp - 4.6-1 -- New upstream release - -* Sat Aug 03 2013 Fedora Release Engineering - 4.5.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jul 17 2013 Petr Pisar - 4.5.1-2 -- Perl 5.18 rebuild - -* Thu Mar 21 2013 Simon Wesp - 4.5.1-1 -- New upstream release - -* Tue Mar 12 2013 Simon Wesp - 4.5-1 -- New upstream release - -* Thu Feb 14 2013 Fedora Release Engineering - 4.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jan 17 2013 Martin Preisler - 4.4-1 -- update to 4.4 - -* Wed Oct 31 2012 Felix Wiedemann - 4.3-1 -- update to 4.3 -- enabled support for pango - -* Mon Aug 20 2012 Adam Jackson 4.2-3 -- Rebuild for new xcb-util soname - -* Thu Jul 19 2012 Fedora Release Engineering - 4.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Wed Jun 06 2012 Martin Preisler - 4.2-1 -- update to 4.2 - -* Mon Mar 26 2012 Tom Callaway - 4.1.2-1 -- update to 4.1.2 - -* Fri Jan 13 2012 Fedora Release Engineering - 4.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Nov 14 2011 Peter Robinson - 4.0.1-2 -- Rebuild for libyajl soname bump - -* Mon Aug 01 2011 Simon Wesp - 4.0.1-1 -- New upstream release - -* Sun Jul 31 2011 Simon Wesp -4.0-1 -- New upstream release - -* Wed Feb 09 2011 Fedora Release Engineering - 3.e-6.bf2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jan 19 2011 Simon Wesp - 3.e-5.bf2 -- New upstream release - -* Tue Jan 11 2011 Simon Wesp - 3.e-4.bf1 -- rebuild against newest libev - -* Wed Jun 09 2010 Simon Wesp - 3.e-3.bf1 -- New upstream release (3.e-bf1) - -* Fri Apr 16 2010 Simon Wesp - 3.e-2 -- Rebuild - -* Tue Mar 30 2010 Simon Wesp - 3.e-1 -- New upstream release - -* Sat Mar 20 2010 Simon Wesp - 3.d.bf1-4.20100320git -- Update to current git - -* Wed Feb 03 2010 Simon Wesp - 3.d.bf1-4 -- Some bugfixes (sync with upstream) - -* Wed Jan 06 2010 Simon Wesp - 3.d.bf1-3 -- Add Missing R: xorg-x11-fonts-misc -- Add i3-logo as SOURCE1 and install it to DATADIR/pixmaps +%files devel +%license LICENSE +%{_includedir}/%{name}/ -* Sun Dec 27 2009 Simon Wesp - 3.d.bf1-2 -- Add missing Requires for a functional minimal (not comfortable) i3-system. -- Build manpages and add them to main-pkg -- Build doxygen generated documentation and add them to the doc subpackage -* Fri Dec 25 2009 Simon Wesp - 3.d.bf1-1 -- Correct version-tag (Thanks to Michael Schwendt) -- Add more documentation (generated with asciidoc) +%files devel-doc +%license LICENSE +%doc pseudo-doc/doxygen/ -* Fri Dec 25 2009 Simon Wesp - 3.d-bf1_1 -- New upstream release -* Wed Dec 02 2009 Simon Wesp - 3.d-1 -- Package build for Fedora +%changelog