]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
212f23659ea6aa098bea753eb6668e038962b308
[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.6
10 Release:        3
11 License:        GPL
12 Group:          Applications/Communications
13 Group(cs):      Aplikace/Komunikace
14 Group(da):      Programmer/Kommunikation
15 Group(de):      Applikationen/Kommunikation
16 Group(es):      Aplicaciones/Comunicaciones
17 Group(fr):      Applications/Transmissions
18 Group(is):      Forrit/Samskipti
19 Group(it):      Applicazioni/Comunicazioni
20 Group(ja):      ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/ÄÌ¿®
21 Group(no):      Applikasjoner/Kommunikasjon
22 Group(pl):      Aplikacje/Komunikacja
23 Group(pt):      Aplicações/Comunicações
24 Group(ru):      ðÒÉÌÏÖÅÎÉÑ/ó×ÑÚØ
25 Group(sl):      Programi/Komunikacije
26 Group(sv):      Tillämpningar/Kommunikation
27 Source0:        http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
28 Patch0:         %{name}-DESTDIR.patch
29 URL:            http://gabber.sourceforge.net/
30 BuildRequires:  ORBit-devel
31 BuildRequires:  autoconf
32 BuildRequires:  automake
33 BuildRequires:  gal-devel >= 0.19
34 BuildRequires:  gdk-pixbuf-devel
35 BuildRequires:  gettext-devel
36 BuildRequires:  gnome-libs-devel >= 1.2.13
37 BuildRequires:  gnomemm-devel >= 1.2.0
38 BuildRequires:  gnome-print-devel
39 BuildRequires:  gtk+-devel >= 1.2.5
40 BuildRequires:  gtkmm-devel >= 1.2.5
41 BuildRequires:  libglade-devel >= 0.17
42 BuildRequires:  libsigc++-devel
43 BuildRequires:  libunicode-devel
44 BuildRequires:  openssl-devel >= 0.9.6a
45 BuildRequires:  scrollkeeper
46 BuildRequires:  xml-i18n-tools
47 BuildRequires:  xmms-devel
48 Prereq:         /sbin/ldconfig
49 Prereq:         scrollkeeper
50 Requires:       applnk
51 Requires:       gnupg
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %define         _prefix         /usr/X11R6
55 %define         _sysconfdir     /etc/X11/GNOME
56 %define         _mandir         %{_prefix}/man
57 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
58
59 %description
60 Gabber is a Gnome client for the distributed Open Source instant
61 messaging system called Jabber. Gabber aims to be a fairly complete
62 client while remaining easy to use, trying to maintain a balance
63 between too many features and being powerful enough.
64
65 %description -l pl
66 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
67 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
68 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
69 tym prostym w u¿yciu.
70
71 %description -l pt_BR
72 Gabber é um cliente GNOME para o sistema distribuído de mensagens
73 instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
74 mesmo tempo fácil de usar.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
82 mv -f configure.in.tmp configure.in
83 rm -f missing
84 xml-i18n-toolize --copy --force
85 gettextize --copy --force
86 aclocal -I %{_aclocaldir}/gnome
87 autoheader
88 autoconf
89 automake -a -c
90 (cd jabberoo
91 rm -f missing
92 aclocal -I %{_aclocaldir}/gnome
93 autoheader
94 autoconf
95 automake -a -c)
96 CXXFLAGS="%{rpmcflags}"
97 %configure \
98         --%{?debug:dis}%{!?devbug:en}able-debug \
99         --enable-gnome \
100         --enable-panel \
101         --enable-ssl \
102         --enable-screensaver \
103         --enable-xmms \
104         %{?_with_ipv6:--enable-ipv6} \
105         --disable-perl
106
107 %{__make}
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111
112 %{__make} install \
113         DESTDIR=$RPM_BUILD_ROOT \
114         Applicationsdir=%{_applnkdir}/Network/Communications \
115         omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
116
117 gzip -9nf AUTHORS NEWS README TODO
118
119 %find_lang %{name} --with-gnome --all-name
120
121 %post   -p /usr/bin/scrollkeeper-update
122 %postun -p /usr/bin/scrollkeeper-update
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc *.gz
130 %{_sysconfdir}/sound/events/*
131 %attr(755,root,root) %{_bindir}/*
132 %{_mandir}/man?/*
133 %{_applnkdir}/Network/Communications/*.desktop
134 %{_datadir}/%{name}
135 %{_omf_dest_dir}/omf/%{name}
136 %{_pixmapsdir}/*
137 %{_datadir}/sounds/*
This page took 0.034346 seconds and 3 git commands to generate.