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