]>
Commit | Line | Data |
---|---|---|
65d427ca | 1 | %define pname StarterBar |
25a3683e | 2 | Summary: An icon bar for GNOME |
88260cd3 | 3 | Summary(pl.UTF-8): Pasek na ikony dla GNOME |
38370a53 | 4 | Name: gDesklets-%{pname} |
62ecc1e8 PG |
5 | Version: 0.31.3 |
6 | Release: 1 | |
38370a53 | 7 | License: GPL |
8 | Group: X11/Applications | |
62ecc1e8 PG |
9 | Source0: http://gdesklets.gnomedesktop.org/files/starterbar-desklet-%{version}.tar.gz |
10 | # Source0-md5: fee42cc50af5ac9fc4957719d6e7e1f0 | |
38370a53 | 11 | URL: http://www.pycage.de/software_gdesklets.html |
dbcde5c6 | 12 | BuildRequires: python >= 1:2.3 |
268a87b3 | 13 | BuildRequires: python-pygtk-gtk >= 1.99.14 |
62ecc1e8 | 14 | Requires: gDesklets >= 0.31 |
dbcde5c6 | 15 | %pyrequires_eq python-libs |
16 | Requires: python-gnome-vfs | |
71b3d3f1 | 17 | Provides: gDesklets-display |
18 | Provides: gDesklets-sensor | |
38370a53 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
9b32ccd9 PG |
21 | %define _sensorsdir %{_libdir}/gdesklets/Sensors |
22 | %define _displaysdir %{_libdir}/gdesklets/Displays | |
9df83a3f | 23 | |
38370a53 | 24 | %description |
25a3683e | 25 | An icon bar for GNOME. You can do the same with the GNOME panel, but |
26 | this one is pure eye candy. | |
38370a53 | 27 | |
dc2da5e3 JR |
28 | %description -l pl.UTF-8 |
29 | Pasek na ikony dla GNOME. Takie możliwości ma także panel GNOME, ale | |
30 | ten jest miły dla oka. | |
38370a53 | 31 | |
32 | %prep | |
9df83a3f | 33 | %setup -q -n starterbar-desklet-%{version} |
38370a53 | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
9df83a3f | 37 | install -d $RPM_BUILD_ROOT{%{_sensorsdir},%{_displaysdir}/%{pname}} |
38 | ||
39 | ./Install_%{pname}_Sensor.bin --nomsg \ | |
40 | $RPM_BUILD_ROOT%{_sensorsdir} | |
38370a53 | 41 | |
9df83a3f | 42 | cp -R gfx *.display $RPM_BUILD_ROOT%{_displaysdir}/%{pname} |
38370a53 | 43 | |
9df83a3f | 44 | %py_comp $RPM_BUILD_ROOT%{_sensorsdir} |
45 | %py_ocomp $RPM_BUILD_ROOT%{_sensorsdir} | |
38370a53 | 46 | |
9b32ccd9 | 47 | #rm -f $RPM_BUILD_ROOT%{_sensorsdir}/*/*.py |
38370a53 | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc README | |
9df83a3f | 55 | %{_sensorsdir}/* |
56 | %{_displaysdir}/* |