]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
239af8d46a352fb6b9afba2fb6ea1e03f3576b66
[packages/gabber.git] / gabber.spec
1 #
2 # Conditional build:
3 # _with_ipv6        - with IPv6 support
4 #
5 Summary:        A GNOME Jabber client
6 Summary(pl):    Klient Jabber dla GNOME
7 Summary(pt_BR): Um cliente GNOME para o Jabber
8 Name:           gabber
9 Version:        0.8.7
10 Release:        4
11 License:        GPL
12 Group:          Applications/Communications
13 Source0:        http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-DESTDIR.patch
15 Patch1:         %{name}-ac_fixes.patch
16 Patch2:         %{name}-omf.patch
17 URL:            http://gabber.sourceforge.net/
18 BuildRequires:  ORBit-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  gal-devel >= 0.19
22 BuildRequires:  gdk-pixbuf-gnome-devel
23 BuildRequires:  gettext-devel
24 BuildRequires:  gnome-libs-devel >= 1.2.13
25 BuildRequires:  gnomemm-devel >= 1.2.0
26 BuildRequires:  gnome-print-devel
27 BuildRequires:  gtk+-devel >= 1.2.5
28 BuildRequires:  gtkmm-devel >= 1.2.5
29 BuildRequires:  intltool
30 BuildRequires:  libglade-gnome-devel >= 0.17
31 BuildRequires:  libsigc++1-devel
32 BuildRequires:  libunicode-devel
33 BuildRequires:  openssl-devel >= 0.9.7
34 BuildRequires:  scrollkeeper
35 BuildRequires:  xmms-devel
36 Requires(post,postun):  /sbin/ldconfig
37 Requires(post,postun):  scrollkeeper
38 Requires:       applnk
39 Requires:       gnupg
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %define         _sysconfdir     /etc/X11/GNOME
43 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
44
45 %description
46 Gabber is a Gnome client for the distributed Open Source instant
47 messaging system called Jabber. Gabber aims to be a fairly complete
48 client while remaining easy to use, trying to maintain a balance
49 between too many features and being powerful enough.
50
51 %description -l pl
52 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
53 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
54 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
55 tym prostym w u¿yciu.
56
57 %description -l pt_BR
58 Gabber é um cliente GNOME para o sistema distribuído de mensagens
59 instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
60 mesmo tempo fácil de usar.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66 %patch2 -p1
67
68 %build
69 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
70 mv -f configure.in.tmp configure.in
71 rm -f missing
72 intltoolize --copy --force
73 %{__gettextize}
74 %{__aclocal} -I %{_aclocaldir}/gnome
75 %{__autoheader}
76 %{__autoconf}
77 %{__automake}
78 cd jabberoo
79 rm -f missing
80 %{__aclocal} -I %{_aclocaldir}/gnome
81 %{__autoheader}
82 %{__autoconf}
83 %{__automake}
84 cd ..
85 CXXFLAGS="%{rpmcflags}"
86 %configure \
87         --%{!?debug:dis}%{?debug:en}able-debug \
88         --enable-gnome \
89         --enable-panel \
90         --enable-ssl \
91         --enable-screensaver \
92         --enable-xmms \
93         %{?_with_ipv6:--enable-ipv6} \
94         --disable-perl
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT \
103         Applicationsdir=%{_applnkdir}/Network/Communications \
104         omf_dest_dir=%{_omf_dest_dir}/%{name}
105
106 %find_lang %{name} --with-gnome --all-name
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %post   -p /usr/bin/scrollkeeper-update
112 %postun -p /usr/bin/scrollkeeper-update
113
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS NEWS README TODO
117 %{_sysconfdir}/sound/events/*
118 %attr(755,root,root) %{_bindir}/*
119 %{_mandir}/man?/*
120 %{_applnkdir}/Network/Communications/*.desktop
121 %{_datadir}/%{name}
122 %{_omf_dest_dir}/%{name}
123 %{_pixmapsdir}/*
124 %{_datadir}/sounds/*
This page took 0.069695 seconds and 2 git commands to generate.