]>
Commit | Line | Data |
---|---|---|
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 | ||
17 | Summary: GNU Gadu - free talking | |
18 | Summary(pl): GNU Gadu - wolne gadanie | |
19 | Name: gg | |
20 | Version: 1.0.0 | |
21 | Release: 3 | |
22 | Epoch: 5 | |
23 | License: GPL | |
24 | Group: Applications/Communications | |
25 | Source0: http://dl.sf.net/ggadu/%{name}-%{version}.tar.gz | |
26 | # Source0-md5: 7b32d4c866ef59dfe22373a83b1a9a2a | |
27 | Source1: %{name}.png | |
28 | Source2: %{name}_gnome.desktop | |
29 | Source3: %{name}_WM_applet.desktop | |
30 | Source4: %{name}_KDE.desktop | |
31 | Patch0: http://piorun.ds.pg.gda.pl/~blues/patches/gg-debian_fixes.patch | |
32 | Icon: gg.xpm | |
33 | URL: 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} | |
40 | BuildRequires: gtk+-devel > 1.2.8 | |
41 | BuildRequires: xmms-devel | |
42 | ||
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %define _sysconfdir /etc/X11/GNOME | |
46 | %define _prefix /usr/X11R6 | |
47 | ||
48 | %description | |
49 | Gadu-Gadu client released on GNU/GPL. | |
50 | ||
51 | %description -l pl | |
52 | Klient Gadu-Gadu na licencji GNU/GPL. | |
53 | ||
54 | %package common | |
55 | Summary: GNU Gadu - free talking - common files | |
56 |