]> git.pld-linux.org Git - packages/gg.git/blame_incremental - gg.spec
- release 3 - added debian patch by Marcin Owsiany <porridge@debian.org>
[packages/gg.git] / gg.spec
... / ...
CommitLineData
1# Conditional build:
2#
3# _without_gnome - don't build with Gnome
4# _without_gnome_applet - don't build Gnome applet
5# _without_kde - don't build KDE applet
6# _without_wm_applet - don't build WM applet
7# _without_sound - disable sound support
8
9# This looks like overkill but some day we might have *everything* bconded :)
10%{!?_without_gnome:%define _need_gnome 1}
11%{!?_without_gnome:%define _need_esd 1}
12%{!?_without_gnome_applet:%define _need_gnome 1}
13%{!?_without_gnome_applet:%define _nees_esd 1}
14%{!?_without_kde:%define _need_arts 1}
15%{!?_without_wm_applet:%define _need_esd 1}
16
17Summary: GNU Gadu - free talking
18Summary(pl): GNU Gadu - wolne gadanie
19Name: gg
20Version: 1.0.0
21Release: 3
22Epoch: 5
23License: GPL
24Group: Applications/Communications
25Source0: http://dl.sf.net/ggadu/%{name}-%{version}.tar.gz
26# Source0-md5: 7b32d4c866ef59dfe22373a83b1a9a2a
27Source1: %{name}.png
28Source2: %{name}_gnome.desktop
29Source3: %{name}_WM_applet.desktop
30Source4: %{name}_KDE.desktop
31Patch0: http://piorun.ds.pg.gda.pl/~blues/patches/gg-debian_fixes.patch
32Icon: gg.xpm
33URL: http://gadu.gnu.pl/
34%{?_need_arts:BuildRequires: arts-devel}
35%if %{!?_without_sound:1}%{?_without_sound:0}
36%{?_need_esd:BuildRequires: esound-devel > 0.2.7}
37%endif
38%{?_need_gnome:BuildRequires: gnome-libs-devel}
39%{?_need_gnome:BuildRequires: gnome-core-devel}
40BuildRequires: gtk+-devel > 1.2.8
41BuildRequires: xmms-devel
42
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%define _sysconfdir /etc/X11/GNOME
46%define _prefix /usr/X11R6
47
48%description
49Gadu-Gadu client released on GNU/GPL.
50
51%description -l pl
52Klient Gadu-Gadu na licencji GNU/GPL.
53
54%package common
55Summary: GNU Gadu - free talking - common files
56