]> git.pld-linux.org Git - packages/gg.git/blame - gg.spec
- freedesktop compatibility
[packages/gg.git] / gg.spec
CommitLineData
580cd0d9
MM
1# Conditional build:
2#
3339a899 3# _without_gnome - don't build with GNOME
4# _without_gnome_applet - don't build GNOME applet
5404f841
PG
5# _without_kde - don't build KDE applet
6# _without_wm_applet - don't build WM applet
7# _without_sound - disable sound support
580cd0d9 8
4e42e0a9 9# This looks like overkill but some day we might have *everything* bconded :)
ab716a74 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}
580cd0d9 16
ae5f69f2 17Summary: GNU Gadu - free talking
49e659fc 18Summary(pl): GNU Gadu - wolne gadanie
19Name: gg
2c37e6ca 20Version: 1.0.0
5366b5dc 21Release: 3
2c37e6ca 22Epoch: 5
49e659fc 23License: GPL
25713d39 24Group: Applications/Communications
47727f1c 25Source0: http://dl.sf.net/ggadu/%{name}-%{version}.tar.gz
26# Source0-md5: 7b32d4c866ef59dfe22373a83b1a9a2a
68f7a512 27Source1: %{name}.png
025ae160 28Source2: %{name}_gnome.desktop
7b71f88b
PG
29Source3: %{name}_WM_applet.desktop
30Source4: %{name}_KDE.desktop
5366b5dc 31Patch0: http://piorun.ds.pg.gda.pl/~blues/patches/gg-debian_fixes.patch
49e659fc 32Icon: gg.xpm
5404f841 33URL: http://gadu.gnu.pl/
580cd0d9 34%{?_need_arts:BuildRequires: arts-devel}
afcab4d1 35%if %{!?_without_sound:1}%{?_without_sound:0}
580cd0d9 36%{?_need_esd:BuildRequires: esound-devel > 0.2.7}
4e42e0a9 37%endif
afcab4d1
PG
38%{?_need_gnome:BuildRequires: gnome-libs-devel}
39%{?_need_gnome:BuildRequires: gnome-core-devel}
ab716a74 40BuildRequires: gtk+-devel > 1.2.8
14dcbb17 41BuildRequires: xmms-devel
580cd0d9 42
49e659fc 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
52a03b7e 45%define _sysconfdir /etc/X11/GNOME
14dcbb17 46%define _prefix /usr/X11R6
49e659fc 47
48%description
ae5f69f2 49Gadu-Gadu client released on GNU/GPL.
49e659fc 50
51%description -l pl
52Klient Gadu-Gadu na licencji GNU/GPL.
53
64ce8f6e 54%package common
55Summary: GNU Gadu - free talking - common files
56