]> git.pld-linux.org Git - packages/xfce4-genmon-plugin.git/blob - xfce4-genmon-plugin.spec
- rel 4
[packages/xfce4-genmon-plugin.git] / xfce4-genmon-plugin.spec
1 Summary:        Generic monitor plugin for the Xfce4 Panel
2 Summary(pl.UTF-8):      Wtyczka ogólnego przeznaczenia dla panelu Xfce4
3 Name:           xfce4-genmon-plugin
4 Version:        3.2
5 Release:        4
6 License:        LGPL v2.1
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/3.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  5f292aa102a87d45207b6a373939a35d
10 Patch0:         link.patch
11 Patch1:         %{name}-ui.patch
12 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  libtool
17 BuildRequires:  libxfce4ui-devel
18 BuildRequires:  perl-XML-Parser
19 BuildRequires:  pkgconfig
20 BuildRequires:  xfce4-dev-tools >= 4.4.0
21 BuildRequires:  xfce4-panel-devel >= 4.4.0
22 Obsoletes:      xfce4-genmon-plugin-scripts
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The GenMon plugin cyclically spawns the indicated script/program,
27 captures its output and displays it as a string into the panel.
28
29 %description -l pl.UTF-8
30 Wtyczka GenMon cyklicznie wykonuje podany skrypt lub program,
31 przechwytując jego standardowe wyjście i wyświetla je w postaci
32 tekstowej na panelu.
33
34 %package scripts
35 Summary:        Sample scripts for xfce4-genmon-plugin
36 Summary(pl.UTF-8):      Przykładowe skrypty dla xfce4-genmon-plugin
37 Group:          X11/Applications
38 Requires:       %{name} = %{version}-%{release}
39
40 %description scripts
41 Sample scripts for xfce4-genmon-plugin.
42
43 %description scripts -l pl.UTF-8
44 Przykładowe skrypty dla xfce4-genmon-plugin.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-static
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
68
69 %if 0
70 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
71 install scripts/{datetime,disktemp,dkspuse,monBat,monCPU,monTime,monUSB,monWIFI,samples.txt} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
72 %endif
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README
82 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/%{name}
83 %{_datadir}/xfce4/panel-plugins/genmon.desktop
84
85 %if 0
86 %files scripts
87 %defattr(644,root,root,755)
88 %dir %{_examplesdir}/%{name}-%{version}
89 %{_examplesdir}/%{name}-%{version}/datetime
90 %{_examplesdir}/%{name}-%{version}/disktemp
91 %{_examplesdir}/%{name}-%{version}/dkspuse
92 %{_examplesdir}/%{name}-%{version}/monBat
93 %{_examplesdir}/%{name}-%{version}/monCPU
94 %{_examplesdir}/%{name}-%{version}/monTime
95 %{_examplesdir}/%{name}-%{version}/monUSB
96 %{_examplesdir}/%{name}-%{version}/monWIFI
97 %{_examplesdir}/%{name}-%{version}/samples.txt
98 %endif
This page took 0.162956 seconds and 4 git commands to generate.