]> git.pld-linux.org Git - packages/Gforecast.git/blob - Gforecast.spec
- release 2: use new rpm automation and rebuild against gnome-libs linked
[packages/Gforecast.git] / Gforecast.spec
1 Summary:        A weather forecasting applet for the GNOME Panel
2 Name:           Gforecast
3 Version:        0.3
4 Release:        2
5 License:        GPL
6 Group:          X11/Applications
7 Group(de):      X11/Applikationen
8 Group(pl):      X11/Aplikacje
9 Source0:        ftp://download.sourceforge.net/pub/sourceforge/waepplets/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-gettexize.patch
11 Requires:       gnome-libs >= 1.2.1
12 Requires:       gnome-core >= 1.2.1
13 URL:            http://waepplets.sourceforge.net/
14 BuildRequires:  gnome-core-devel
15 BuildRequires:  gnome-libs-devel
16 BuildRequires:  gettext-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _sysconfdir     /etc/X11/GNOME
21
22 %description
23 Simple applet that gets the forecast for a chosen city and shows it as
24 an icon image in a GNOME applet.
25
26 %prep
27 %setup -q
28 %patch -p1
29
30 %build
31 gettextize --copy --force
32 aclocal -I macros
33 autoconf
34 automake
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.068275 seconds and 4 git commands to generate.