Toshaan Bharvani
2 years ago
commit
1d8f7a83d1
2 changed files with 127 additions and 0 deletions
@ -0,0 +1,127 @@
@@ -0,0 +1,127 @@
|
||||
Name: i3 |
||||
Version: 4.20.1 |
||||
Release: 1%{?dist} |
||||
Summary: Improved tiling window manager |
||||
License: BSD |
||||
URL: http://i3wm.org |
||||
Source0: http://i3wm.org/downloads/%{name}-%{version}.tar.xz |
||||
Source1: %{name}-logo.svg |
||||
BuildRequires: asciidoc |
||||
BuildRequires: bison |
||||
BuildRequires: cairo-devel |
||||
BuildRequires: flex |
||||
BuildRequires: libev-devel |
||||
BuildRequires: libX11-devel |
||||
BuildRequires: libxcb-devel |
||||
BuildRequires: libXcursor-devel |
||||
BuildRequires: libxkbcommon-x11-devel |
||||
BuildRequires: libxkbfile-devel |
||||
BuildRequires: pango-devel |
||||
BuildRequires: pcre-devel |
||||
BuildRequires: perl(Getopt::Long) |
||||
BuildRequires: startup-notification-devel |
||||
BuildRequires: xcb-proto |
||||
BuildRequires: xcb-util-cursor-devel |
||||
BuildRequires: xcb-util-devel |
||||
BuildRequires: xcb-util-keysyms-devel |
||||
BuildRequires: xcb-util-wm-devel |
||||
BuildRequires: xcb-util-xrm-devel |
||||
BuildRequires: xmlto |
||||
%ifnarch s390 s390x |
||||
BuildRequires: xorg-x11-drv-dummy |
||||
%endif |
||||
BuildRequires: yajl-devel |
||||
Requires: dmenu |
||||
Requires: dzen2 |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: i3status |
||||
Requires: rxvt-unicode |
||||
Requires: xorg-x11-apps |
||||
Requires: xorg-x11-fonts-misc |
||||
|
||||
|
||||
%description |
||||
Key features of i3 are correct implementation of XrandR, horizontal and vertical |
||||
columns (think of a table) in tiling. Also, special focus is on writing clean, |
||||
readable and well documented code. i3 uses xcb for asynchronous communication |
||||
with X11, and has several measures to be very fast. |
||||
Please be aware that i3 is primarily targeted at advanced users and developers. |
||||
|
||||
|
||||
%package doc |
||||
Summary: Documentation for %{name} |
||||
BuildRequires: doxygen |
||||
BuildArch: noarch |
||||
Requires: %{name} = %{version}-%{release} |
||||
%description doc |
||||
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 |
||||
|
||||
|
||||
%build |
||||
%meson |
||||
%meson_build |
||||
doxygen pseudo-doc.doxygen |
||||
mv pseudo-doc/html pseudo-doc/doxygen |
||||
|
||||
|
||||
%install |
||||
%meson_install |
||||
mkdir -p %{buildroot}%{_mandir}/man1/ |
||||
install -Dpm0644 man/*.1 %{buildroot}%{_mandir}/man1/ |
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps/ |
||||
install -Dpm0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ |
||||
|
||||
|
||||
%files |
||||
%doc RELEASE-NOTES-%{version} |
||||
%license LICENSE |
||||
%{_bindir}/%{name}* |
||||
%{_includedir}/%{name}/ |
||||
%dir %{_sysconfdir}/%{name}/ |
||||
%config(noreplace) %{_sysconfdir}/%{name}/config |
||||
%config(noreplace) %{_sysconfdir}/%{name}/config.keycodes |
||||
%{_datadir}/xsessions/%{name}.desktop |
||||
%{_datadir}/xsessions/%{name}-with-shmlog.desktop |
||||
%{_mandir}/man*/%{name}* |
||||
%{_datadir}/pixmaps/%{name}-logo.svg |
||||
%{_datadir}/applications/%{name}.desktop |
||||
%exclude %{_docdir}/%{name}/ |
||||
|
||||
|
||||
%files doc |
||||
%license LICENSE |
||||
%doc docs/*.{html,png} pseudo-doc/doxygen/ |
||||
|
||||
|
||||
%files devel |
||||
%license LICENSE |
||||
%{_includedir}/%{name}/ |
||||
|
||||
|
||||
%files devel-doc |
||||
%license LICENSE |
||||
%doc pseudo-doc/doxygen/ |
||||
|
||||
|
||||
%changelog |
Loading…
Reference in new issue