]>
Commit | Line | Data |
---|---|---|
638f69b4 JK |
1 | # |
2 | # Conditional build: | |
3 | # _with_ipv6 - with IPv6 support | |
4 | # | |
480cd124 | 5 | Summary: A GNOME Jabber client |
c9f6b8ce ER |
6 | Summary(pl.UTF-8): Klient Jabber dla GNOME |
7 | Summary(pt_BR.UTF-8): Um cliente GNOME para o Jabber | |
480cd124 | 8 | Name: gabber |
dc1cbebc | 9 | Version: 1.9.4 |
10 | Release: 1.1 | |
480cd124 AM |
11 | License: GPL |
12 | Group: Applications/Communications | |
4285326e | 13 | Source0: http://www.jabberstudio.org/files/gabber/Gabber-%{version}.tar.gz |
dc1cbebc | 14 | # Source0-md5: eea74466431b962349ae9a911f010ea2 |
05f11b40 | 15 | Patch0: %{name}-types.patch |
dc1cbebc | 16 | Patch1: %{name}-conffix.patch |
29188dd7 | 17 | URL: http://gabber.jabberstudio.org/ |
8b4f6b89 | 18 | BuildRequires: gconfmm-devel >= 2.0.0 |
184a1f88 | 19 | BuildRequires: jabberoo-devel >= 1.9.1 |
8b4f6b89 | 20 | BuildRequires: libglademm-devel >= 2.0.0 |
a3f77316 | 21 | BuildRequires: libsigc++12-devel >= 1.2.3 |
0fb975c5 | 22 | BuildRequires: aspell-devel |
88db047e JB |
23 | Requires(post): GConf2 |
24 | Requires: gnupg | |
480cd124 AM |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
480cd124 | 27 | %description |
9911ebb2 | 28 | Gabber is a GNOME client for the distributed Open Source instant |
480cd124 AM |
29 | messaging system called Jabber. Gabber aims to be a fairly complete |
30 | client while remaining easy to use, trying to maintain a balance | |
31 | between too many features and being powerful enough. | |
32 | ||
3a945eb9 | 33 | %description -l pl.UTF-8 |
480cd124 | 34 | Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source |
3a945eb9 JR |
35 | systemu Natychmiastowych Wiadomości (IM - Instant Messaging) o nazwie |
36 | Jabber. Gabber jest kompletnym klientem systemu Jabber pozostając przy | |
37 | tym prostym w użyciu. | |
480cd124 | 38 | |
3a945eb9 JR |
39 | %description -l pt_BR.UTF-8 |
40 | Gabber é um cliente GNOME para o sistema distribuído de mensagens | |
41 | instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao | |
42 | mesmo tempo fácil de usar. | |
18b3dc7e | 43 | |
480cd124 | 44 | %prep |
3b2d06dd | 45 | %setup -q -n Gabber-%{version} |
dc1cbebc | 46 | %patch0 -p1 |
47 | %patch1 -p1 | |
480cd124 AM |
48 | |
49 | %build | |
3d8855a8 | 50 | CXXFLAGS="%{rpmcflags}" |
480cd124 | 51 | %configure \ |
79de6c30 | 52 | --%{!?debug:dis}%{?debug:en}able-debug \ |
8b4f6b89 | 53 | --disable-schemas-install \ |
54 | %{?_with_ipv6:--enable-ipv6} | |
480cd124 AM |
55 | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
6afe63f3 | 62 | DESTDIR=$RPM_BUILD_ROOT \ |
63 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
dad620ec | 64 | |
61a0409a JB |
65 | # modules are loaded through Glib::Module, i.e. gmodule interface |
66 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la} | |
67 | ||
480cd124 AM |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
8b4f6b89 | 71 | %post |
8b4f6b89 | 72 | %gconf_schema_install |
73 | ||
8b4f6b89 | 74 | %files |
480cd124 | 75 | %defattr(644,root,root,755) |
32ce2d48 | 76 | %doc AUTHORS NEWS README TODO |
8b4f6b89 | 77 | %{_sysconfdir}/gconf/schemas/* |
480cd124 | 78 | %attr(755,root,root) %{_bindir}/* |
73bb1c7a | 79 | %dir %{_libdir}/Gabber |
80 | %attr(755,root,root) %{_libdir}/Gabber/*.so | |
81 | %{_datadir}/Gabber | |
5fa3f981 | 82 | %{_desktopdir}/*.desktop |
480cd124 | 83 | %{_pixmapsdir}/* |