]> git.pld-linux.org Git - packages/Gforecast.git/blob - Gforecast.spec
- added patch with full gettextixe (patch poster to Roberto).
[packages/Gforecast.git] / Gforecast.spec
1 Summary:        A weather forecasting applet for the GNOME Panel
2 Name:           Gforecast
3 Version:        0.3
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-gettexize.patch
10 Requires:       gnome-libs >= 1.2.1
11 Requires:       gnome-core >= 1.2.1
12 URL:            http://waepplets.sourceforge.net/
13 BuildRequires:  gnome-core-devel
14 BuildRequires:  gnome-libs-devel
15 BuildRequires:  gettext-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 gettextize --copy --force
31 aclocal -I macros
32 autoconf
33 automake
34 LDFLAGS="-s"; export LDFLAGS
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 gzip -9nf AUTHORS ChangeLog NEWS README TODO
44
45 %find_lang %{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(755,root,root) %{_bindir}/*
54 %{_sysconfdir}/CORBA/servers/*
55 %{_datadir}/applets/Monitors/*
56 %{_datadir}/pixmaps/*
This page took 0.047493 seconds and 4 git commands to generate.