]> git.pld-linux.org Git - packages/xfce4-sensors-plugin.git/blob - xfce4-sensors-plugin.spec
- up to 1.4.4
[packages/xfce4-sensors-plugin.git] / xfce4-sensors-plugin.spec
1 # TODO: remove libexec workarond, will need whole xfce rebuild
2 Summary:        Sensors plugin for the Xfce panel
3 Summary(pl.UTF-8):      Wtyczka sensorów dla panelu Xfce
4 Name:           xfce4-sensors-plugin
5 Version:        1.4.4
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.4/%{name}-%{version}.tar.bz2
10 # Source0-md5:  0684f0f86e2edfb306086445478f7bbd
11 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools
15 BuildRequires:  intltool
16 BuildRequires:  libtool
17 BuildRequires:  libxfce4ui-devel >= 4.16.0
18 BuildRequires:  libxfce4util-devel >= 4.17.2
19 BuildRequires:  lm_sensors-devel >= 2.8
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 2.000
22 BuildRequires:  xfce4-dev-tools >= 4.17.0
23 BuildRequires:  xfce4-panel-devel >= 4.16.0
24 Requires:       gtk-update-icon-cache
25 Requires:       hicolor-icon-theme
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         skip_post_check_so      libxfce4sensors.so.*
29
30 %description
31 This plugin displays various hardware sensor values in the Xfce panel.
32
33 %description -l pl.UTF-8
34 Ta wtyczka wyświetla różne dane z czujników sprzętowych na panelu
35 Xfce.
36
37 %prep
38 %setup -q
39
40 mkdir -p m4
41
42 %build
43 %{__intltoolize}
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoheader}
47 %{__automake}
48 %{__autoconf}
49 %configure \
50         --libexecdir=%{_libdir} \
51         --disable-static
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.la
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4-sensors-plugin.la
62 %{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/libxfce4sensors-1.0.pc
63 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hye,ie,pt_BR,ur_PK}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_icon_cache hicolor
72
73 %postun
74 %update_icon_cache hicolor
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog README TODO
79 %attr(755,root,root) %{_bindir}/xfce4-sensors
80 %attr(755,root,root) %{_libdir}/xfce4/modules/libxfce4sensors.so*
81 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4-sensors-plugin.so
82 %{_iconsdir}/hicolor/*/*/*
83 %{_datadir}/xfce4/panel/plugins/xfce4-sensors-plugin.css
84 %{_datadir}/xfce4/panel/plugins/xfce4-sensors-plugin.desktop
85 %{_desktopdir}/xfce4-sensors.desktop
86 %{_mandir}/man1/xfce4-sensors.1*
This page took 0.088032 seconds and 4 git commands to generate.