From 3ed8df1e962fde25e3aec94eb6eef0f2f14a1661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sat, 2 May 2020 22:46:23 +0200 Subject: [PATCH] Add spec file for RPM packaging --- xfce4-i3-workspaces-plugin.spec | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 xfce4-i3-workspaces-plugin.spec diff --git a/xfce4-i3-workspaces-plugin.spec b/xfce4-i3-workspaces-plugin.spec new file mode 100644 index 0000000..b1e3cd5 --- /dev/null +++ b/xfce4-i3-workspaces-plugin.spec @@ -0,0 +1,48 @@ +Summary: A workspaces plugin for xfce4 and the i3 window manager +Name: xfce4-i3-workspaces-plugin +Version: 1.2.0 +Release: 1%{?dist} +Source0: %{name}-%{version}.tar.gz +License: GPL v3 +URL: https://github.com/altdesktop/xfce4-i3-workspaces-plugin + +BuildRequires: libtool +BuildRequires: gtk2-devel +BuildRequires: xfce4-dev-tools +BuildRequires: libxfce4ui-devel +BuildRequires: libxfce4util-devel +BuildRequires: xfce4-panel-devel +BuildRequires: i3ipc-glib + +Requires: glib2 +Requires: libxfce4ui +Requires: libxfce4util +Requires: xfce4-panel +Requires: i3ipc-glib + +%description +A workspaces plugin for xfce4 and the i3 window manager. + +%prep +%setup -q + + +%build +./autogen.sh --prefix=%{_prefix} --libdir=%{_libdir} +make + + +%install +%make_install + + +%files +%doc COPYING +%doc README.md +%{_libdir}/xfce4/panel/plugins/libi3workspaces.* +%{_datadir}/xfce4/panel/plugins/i3-workspaces.desktop +%{_datadir}/icons/hicolor/48x48/apps/xfce4-sample-plugin.png +%{_datadir}/icons/hicolor/scalable/apps/xfce4-sample-plugin.svg + + +%changelog