]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
- working Source URL
[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://dl.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:       applnk
37 Requires:       gnupg
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %define         _sysconfdir     /etc/X11/GNOME
41 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
42
43 %description
44 Gabber is a Gnome client for the distributed Open Source instant
45 messaging system called Jabber. Gabber aims to be a fairly complete
46 client while remaining easy to use, trying to maintain a balance
47 between too many features and being powerful enough.
48
49 %description -l pl
50 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
51 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
52 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
53 tym prostym w u¿yciu.
54
55 %description -l pt_BR
56 Gabber é um cliente GNOME para o sistema distribuído de mensagens
57 instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
58 mesmo tempo fácil de usar.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
65
66 %build
67 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
68 mv -f configure.in.tmp configure.in
69 rm -f missing
70 intltoolize --copy --force
71 %{__gettextize}
72 %{__aclocal} -I %{_aclocaldir}/gnome
73 %{__autoheader}
74 %{__autoconf}
75 %{__automake}
76 cd jabberoo
77 rm -f missing
78 %{__aclocal} -I %{_aclocaldir}/gnome
79 %{__autoheader}
80 %{__autoconf}
81 %{__automake}
82 cd ..
83 CXXFLAGS="%{rpmcflags}"
84 %configure \
85         --%{!?debug:dis}%{?debug:en}able-debug \
86         --enable-gnome \
87         --enable-panel \
88         --enable-ssl \
89         --enable-screensaver \
90         --enable-xmms \
91         %{?_with_ipv6:--enable-ipv6} \
92         --disable-perl
93
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT \
101         Applicationsdir=%{_applnkdir}/Network/Communications \
102         omf_dest_dir=%{_omf_dest_dir}/%{name}
103
104 %find_lang %{name} --with-gnome --all-name
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post   -p /usr/bin/scrollkeeper-update
110 %postun -p /usr/bin/scrollkeeper-update
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc AUTHORS NEWS README TODO
115 %{_sysconfdir}/sound/events/*
116 %attr(755,root,root) %{_bindir}/*
117 %{_mandir}/man?/*
118 %{_applnkdir}/Network/Communications/*.desktop
119 %{_datadir}/%{name}
120 %{_omf_dest_dir}/%{name}
121 %{_pixmapsdir}/*
122 %{_datadir}/sounds/*
This page took 0.074092 seconds and 3 git commands to generate.