Skip to content

Commit

Permalink
Add spec file for RPM packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed May 2, 2020
1 parent 52569f9 commit 3ed8df1
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions xfce4-i3-workspaces-plugin.spec
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3ed8df1

Please sign in to comment.