]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
- removed all Group fields translations (oure rpm now can handle translating
[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:        1
11 License:        GPL
12 Group:          Applications/Communications
13 Source0:        http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-DESTDIR.patch
15 URL:            http://gabber.sourceforge.net/
16 BuildRequires:  ORBit-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gal-devel >= 0.19
20 BuildRequires:  gdk-pixbuf-devel
21 BuildRequires:  gettext-devel
22 BuildRequires:  gnome-libs-devel >= 1.2.13
23 BuildRequires:  gnomemm-devel >= 1.2.0
24 BuildRequires:  gnome-print-devel
25 BuildRequires:  gtk+-devel >= 1.2.5
26 BuildRequires:  gtkmm-devel >= 1.2.5
27 BuildRequires:  libglade-devel >= 0.17
28 BuildRequires:  libsigc++-devel
29 BuildRequires:  libunicode-devel
30 BuildRequires:  openssl-devel >= 0.9.6a
31 BuildRequires:  scrollkeeper
32 BuildRequires:  xml-i18n-tools
33 BuildRequires:  xmms-devel
34 Prereq:         /sbin/ldconfig
35 Prereq:         scrollkeeper
36 Requires:       applnk
37 Requires:       gnupg
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %define         _prefix         /usr/X11R6
41 %define         _sysconfdir     /etc/X11/GNOME
42 %define         _mandir         %{_prefix}/man
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
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 xml-i18n-toolize --copy --force
71 gettextize --copy --force
72 aclocal -I %{_aclocaldir}/gnome
73 autoheader
74 autoconf
75 automake -a -c
76 (cd jabberoo
77 rm -f missing
78 aclocal -I %{_aclocaldir}/gnome
79 autoheader
80 autoconf
81 automake -a -c)
82 CXXFLAGS="%{rpmcflags}"
83 %configure \
84         --%{?debug:dis}%{!?devbug:en}able-debug \
85         --enable-gnome \
86         --enable-panel \
87         --enable-ssl \
88         --enable-screensaver \
89         --enable-xmms \
90         %{?_with_ipv6:--enable-ipv6} \
91         --disable-perl
92
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT \
100         Applicationsdir=%{_applnkdir}/Network/Communications \
101         omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
102
103 gzip -9nf AUTHORS NEWS README TODO
104
105 %find_lang %{name} --with-gnome --all-name
106
107 %post   -p /usr/bin/scrollkeeper-update
108 %postun -p /usr/bin/scrollkeeper-update
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %doc *.gz
116 %{_sysconfdir}/sound/events/*
117 %attr(755,root,root) %{_bindir}/*
118 %{_mandir}/man?/*
119 %{_applnkdir}/Network/Communications/*.desktop
120 %{_datadir}/%{name}
121 %{_omf_dest_dir}/omf/%{name}
122 %{_pixmapsdir}/*
123 %{_datadir}/sounds/*
This page took 0.063186 seconds and 4 git commands to generate.