]> git.pld-linux.org Git - packages/xfce4-sensors-plugin.git/blob - xfce4-sensors-plugin.spec
- x32 rebuild
[packages/xfce4-sensors-plugin.git] / xfce4-sensors-plugin.spec
1 Summary:        Sensors plugin for the Xfce panel
2 Summary(pl.UTF-8):      Wtyczka sensorów dla panelu Xfce
3 Name:           xfce4-sensors-plugin
4 Version:        1.2.5
5 Release:        5
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  33a8203f88c207e7e40ffaacae5d2404
10 Patch0:         %{name}-configure_fix.patch
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
18 BuildRequires:  lm_sensors-devel >= 2.8
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpmbuild(macros) >= 1.601
21 BuildRequires:  xfce4-dev-tools >= 4.3.90.2
22 BuildRequires:  xfce4-panel-devel >= 4.3.90.1
23 Requires:       gtk-update-icon-cache
24 Requires:       hicolor-icon-theme
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         skip_post_check_so      libxfce4sensors.so.*
28
29 %description
30 This plugin displays various hardware sensor values in the Xfce panel.
31
32 %description -l pl.UTF-8
33 Ta wtyczka wyświetla różne dane z czujników sprzętowych na panelu
34 Xfce.
35
36 %prep
37 %setup -q
38 %patch0 -p0
39
40 %build
41 %{__intltoolize}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoheader}
45 %{__automake}
46 %{__autoconf}
47 %configure \
48         --disable-static
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.la
58 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_icon_cache hicolor
67
68 %postun
69 %update_icon_cache hicolor
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README TODO
74 %attr(755,root,root) %{_bindir}/xfce4-sensors
75 %attr(755,root,root) %{_libdir}/xfce4/modules/libxfce4sensors.so*
76 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*
77 %{_iconsdir}/hicolor/*/*/*
78 %{_datadir}/xfce4/panel-plugins/*.desktop
79 %{_desktopdir}/xfce4-sensors.desktop
This page took 0.097928 seconds and 3 git commands to generate.