]>
Commit | Line | Data |
---|---|---|
588df80d | 1 | Summary: A cellmodem plugin for the Xfce panel |
18f2d897 | 2 | Summary(pl.UTF-8): Wtyczka cellmodem dla panelu Xfce |
588df80d MB |
3 | Name: xfce4-cellmodem-plugin |
4 | Version: 0.0.5 | |
b82040c0 | 5 | Release: 7 |
588df80d MB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
8 | Source0: http://goodies.xfce.org/releases/xfce4-cellmodem-plugin/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: e438eb703d40c42917027fcbc742d4eb | |
c2e82062 | 10 | Patch0: link.patch |
0fc3a5c6 | 11 | Patch1: %{name}-ui.patch |
588df80d MB |
12 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-cellmodem-plugin |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: intltool | |
16 | BuildRequires: libusb-devel >= 0.1.12 | |
0fc3a5c6 | 17 | BuildRequires: libxfce4ui-devel |
588df80d MB |
18 | BuildRequires: pciutils-devel |
19 | BuildRequires: xfce4-dev-tools >= 4.4.0 | |
20 | BuildRequires: zlib-devel | |
21 | Requires: xfce4-panel >= 4.4.0 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | The cellmodem plugin is a monitoring plugin for cellular modems. It | |
26 | reports provider and signal quality for GPRS/UMTS(3G)/HSDPA(3.5G) | |
27 | modem cards. It works with mostly all cards which support an | |
28 | out-of-band channel for monitoring purposes. | |
29 | ||
30 | The current features include: | |
31 | - Display the current network type (GPRS/UMTS) | |
32 | - Display the current signal level | |
33 | - Configure the maximum signal level | |
34 | - Configure the low and critical signal level | |
35 | - Asking for PIN if modem needs it | |
36 | - Quick visual feedback on modem and registration status via LEDs | |
37 | ||
18f2d897 JB |
38 | %description -l pl.UTF-8 |
39 | Wtyczka cellmodem to wtyczka monitorująca dla modemów komórkowych. | |
40 | Informuje o dostawcy i jakości sygnału dla kart modemowych | |
41 | GPRS/UMTS(3G)/HSDPA(3.5G). Działa z prawie każdą kartą obsługującą | |
42 | kanał out-of-band do celów monitoringu. | |
43 | ||
44 | Aktualne możliwości obejmują: | |
45 | - wyświetlanie aktualnego rodzaju sieci (GPRS/UMTS) | |
46 | - wyświetlanie aktualnego poziomu sygnału | |
47 | - konfigurację maksymalnego poziomu sygnału | |
48 | - konfigurację niskiego i krytycznego poziomu sygnału | |
49 | - pytanie o PIN jeśli modem tego wymaga | |
50 | - szybką wizualną informację o stanie modemu i rejestracji za pomocą | |
51 | LED-ów | |
52 | ||
588df80d MB |
53 | %prep |
54 | %setup -q | |
c2e82062 | 55 | %patch0 -p1 |
0fc3a5c6 | 56 | %patch1 -p1 |
588df80d MB |
57 | |
58 | %build | |
59 | %{__intltoolize} | |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__automake} | |
63 | %configure | |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
72 | %find_lang %{name} | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog NEWS README | |
80 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-cellmodem-plugin | |
81 | %{_datadir}/xfce4/panel-plugins/cellmodem.desktop |