Skip to content

Instantly share code, notes, and snippets.

@nikhiljha
Created March 1, 2020 02:31
Show Gist options
  • Save nikhiljha/b6318c30a6363dec0bdf117ab8b0f758 to your computer and use it in GitHub Desktop.
Save nikhiljha/b6318c30a6363dec0bdf117ab8b0f758 to your computer and use it in GitHub Desktop.
Feedbackd for Fedora
Name: feedbackd
# This is the "stable" version that other projects (such as phosh 0.2.0) depend on.
Version: 0.0.0+git20200214
Release: 0%{?dist}
Summary: Feedback library for GNOME
License: GPLv3+
URL: https://source.puri.sm/Librem5/feedbackd
Source0: https://source.puri.sm/Librem5/feedbackd/-/archive/v%{version}/%{name}-v%{version}.tar.gz
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig(gio-2.0) >= 2.50.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.50.0
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.50.0
BuildRequires: pkgconfig(gsound)
BuildRequires: pkgconfig(gudev-1.0) >= 232
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: gobject-introspection-devel
BuildRequires: vala
BuildRequires: vala-tools
%description
Phosh is a simple shell for Wayland compositors speaking the layer-surface
protocol. It currently supports
* a lockscreen
* brightness control and nighlight
* the gcr system-prompter interface
* acting as a polkit auth agent
* enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy
* a homebutton that toggles a simple favorites menu
* status icons for battery, wwan and wifi
%prep
%autosetup -p1 -n %{name}-v%{version}
%build
%meson
%meson_build
%install
%meson_install
%check
%meson_test
%files
%{_bindir}/fbcli
%{_includedir}/*
%{_libdir}/*
%{_libexecdir}/feedbackd
%{_datadir}/*
%changelog
* Sat Feb 29 2020 Nikhil Jha <[email protected]> - 0.0.0-1
- Initial packaging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment