]>
Commit | Line | Data |
---|---|---|
a1995588 | 1 | Summary: A weather forecasting applet for the GNOME Panel |
2 | Name: Gforecast | |
3a34a3fa | 3 | Version: 0.2 |
a1995588 | 4 | Release: 1 |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Group(pl): X11/Aplikacje | |
8 | Source0: ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz | |
a1995588 | 9 | Requires: gnome-libs >= 1.2.1 |
10 | Requires: gnome-core >= 1.2.1 | |
11 | URL: http://waepplets.sourceforge.net/ | |
a1995588 | 12 | BuildRequires: gnome-core-devel |
13 | BuildRequires: gnome-libs-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _prefix /usr/X11R6 | |
17 | %define _sysconfdir /etc/X11/GNOME | |
1d04a17d | 18 | |
19 | %description | |
20 | Simple applet that gets the forecast for a chosen city and shows it as | |
21 | an icon image in a GNOME applet. | |
22 | ||
23 | %prep | |
a1995588 | 24 | %setup -q |
1d04a17d | 25 | |
26 | %build | |
a1995588 | 27 | LDFLAGS="-s"; export LDFLAGS |
28 | %configure | |
29 | %{__make} | |
1d04a17d | 30 | |
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
a1995588 | 33 | |
34 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
35 | ||
36 | gzip -9nf AUTHORS ChangeLog NEWS README TODO | |
1d04a17d | 37 | |
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
a1995588 | 42 | %defattr(644,root,root,755) |
43 | %doc *.gz | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | %{_sysconfdir}/CORBA/servers/* | |
46 | %{_datadir}/applets/Monitors/* | |
47 | %{_datadir}/pixmaps/* |