]> git.pld-linux.org Git - packages/psensor.git/blob - psensor.spec
- release 4 (by relup.sh)
[packages/psensor.git] / psensor.spec
1 Summary:        A Graphical Temperature Monitor
2 Name:           psensor
3 Version:        0.6.2.19
4 Release:        4
5 License:        GPL v2
6 Group:          X11/Applications
7 URL:            http://wpitchoune.net/psensor
8 Source0:        http://wpitchoune.net/psensor/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  ddc21cbb36c6c622f7b5c1c7eb277374
10 BuildRequires:  GConf2-devel
11 BuildRequires:  cairo-devel
12 BuildRequires:  curl-devel
13 BuildRequires:  gettext-tools
14 BuildRequires:  gtk+3-devel
15 BuildRequires:  json-c-devel
16 BuildRequires:  libXNVCtrl-devel
17 BuildRequires:  libgtop-devel
18 BuildRequires:  libmicrohttpd-devel
19 BuildRequires:  libnotify-devel
20 BuildRequires:  lm_sensors-devel
21 BuildRequires:  pkgconfig
22 Requires:       desktop-file-utils
23 Requires:       gtk-update-icon-cache
24 Requires:       hddtemp
25 Requires:       hicolor-icon-theme
26 Requires:       lm_sensors
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Psensor is a graphical hardware temperature monitor for Linux.
31
32 It is based on:
33 - lm-sensors for retrieving hardware temperatures
34 - GTK for the UI
35 - Cairo for the graph drawing
36 - NVidia library for retrieving NVidia GPUs temperature (not included
37   - licensing problem)
38
39 %prep
40 %setup -q
41
42 %build
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
52
53 %find_lang %{name}
54
55 # unsupported themes, or size. remove
56 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-dark
57 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/ubuntu-mono-light
58 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/14x14
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %update_desktop_database
65 %update_icon_cache hicolor
66
67 %postun
68 %update_desktop_database
69 %update_icon_cache hicolor
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS NEWS README
74 %attr(755,root,root) %{_bindir}/psensor
75 %attr(755,root,root) %{_bindir}/psensor-server
76 %{_mandir}/man1/psensor-server.1*
77 %{_mandir}/man1/psensor.1*
78 /etc/xdg/autostart/psensor.desktop
79 %{_desktopdir}/psensor.desktop
80 %{_iconsdir}/hicolor/*/apps/psensor*.*
81 %{_datadir}/%{name}
This page took 0.07251 seconds and 3 git commands to generate.