Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spec file for RPM packaging #57

Merged
merged 1 commit into from
May 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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