forked from elementary/monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.stsdc.monitor.spec
executable file
·81 lines (60 loc) · 1.71 KB
/
com.github.stsdc.monitor.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
%global srcname monitor
%global appname com.github.stsdc.monitor
Name: com.github.stsdc.monitor
Version: 0.12.0
Release: %autorelease
Summary: Manage processes and monitor system resources
License: GPLv3
URL: https://github.com/stsdc/monitor
Source: monitor.tar.gz
BuildRequires: meson
BuildRequires: vala
BuildRequires: gcc
BuildRequires: sassc
BuildRequires: git
BuildRequires: cmake
BuildRequires: libXNVCtrl-devel
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-2.0)
# libgtop2-devel
BuildRequires: pkgconfig(libgtop-2.0)
# libwnck3-devel
BuildRequires: pkgconfig(libwnck-3.0)
# wingpanel-devel
BuildRequires: pkgconfig(wingpanel)
# gdk3-devel
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: libX11-devel
# libhandy-devel
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: libudisks2-devel
%description
%prep
%autosetup -n %{srcname} -p1
%build
%meson -Dindicator-wingpanel=enabled # this will probably go away, since majority uses gnome on Fedora
%meson_build
%install
%meson_install
%find_lang %{appname}
%files -f %{appname}.lang
%{_bindir}/com.github.stsdc.monitor
%{_libdir}/liblivechart.so
%{_libdir}/wingpanel/libmonitor.so
%{_libdir}/pkgconfig/livechart.pc
%{_datadir}/vala/vapi/livechart.vapi
%{_includedir}/livechart.h
# %{_srcdir}/vapi/libxnvctrl.vapi
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Tue Oct 05 2021 meson <[email protected]> -
-