]> git.pld-linux.org Git - packages/Gforecast.git/blob - Gforecast.spec
132b7fc4b005bf703f1c5ca75d4aa533254cd5bc
[packages/Gforecast.git] / Gforecast.spec
1 Summary:        A weather forecasting applet for the GNOME Panel
2 Name:           Gforecast
3 Version:        0.1
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
9 Patch0:         Gforecast-automake.patch
10 Requires:       gnome-libs >= 1.2.1
11 Requires:       gnome-core >= 1.2.1
12 URL:            http://waepplets.sourceforge.net/
13 BuildRequires:  automake
14 BuildRequires:  gnome-core-devel
15 BuildRequires:  gnome-libs-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19 %define         _sysconfdir     /etc/X11/GNOME
20
21 %description
22 Simple applet that gets the forecast for a chosen city and shows it as
23 an icon image in a GNOME applet.
24
25 %prep
26 %setup -q
27 %patch -p1
28
29 %build
30 automake
31 LDFLAGS="-s"; export LDFLAGS
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 gzip -9nf AUTHORS ChangeLog NEWS README TODO
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc *.gz
48 %attr(755,root,root) %{_bindir}/*
49 %{_sysconfdir}/CORBA/servers/*
50 %{_datadir}/applets/Monitors/*
51 %{_datadir}/pixmaps/*
This page took 0.080268 seconds and 3 git commands to generate.