]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
- --with ipv6 option added (but it doesn't seem to work well)
[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 Name:           gabber
8 Version:        0.8.6
9 Release:        2
10 License:        GPL
11 Group:          Applications/Communications
12 Group(de):      Applikationen/Kommunikation
13 Group(pl):      Aplikacje/Komunikacja
14 Source0:        http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-DESTDIR.patch
16 URL:            http://gabber.sourceforge.net/
17 BuildRequires:  ORBit-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gal-devel >= 0.19
21 BuildRequires:  gdk-pixbuf-devel
22 BuildRequires:  gettext-devel
23 BuildRequires:  gnome-libs-devel >= 1.2.13
24 BuildRequires:  gnomemm-devel >= 1.2.0
25 BuildRequires:  gnome-print-devel
26 BuildRequires:  gtk+-devel >= 1.2.5
27 BuildRequires:  gtkmm-devel >= 1.2.5
28 BuildRequires:  libglade-devel >= 0.17
29 BuildRequires:  libsigc++-devel
30 BuildRequires:  libunicode-devel
31 BuildRequires:  openssl-devel >= 0.9.6a
32 BuildRequires:  scrollkeeper
33 BuildRequires:  xml-i18n-tools
34 BuildRequires:  xmms-devel
35 Prereq:         /sbin/ldconfig
36 Prereq:         scrollkeeper
37 Requires:       applnk
38 Requires:       gnupg
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %define         _prefix         /usr/X11R6
42 %define         _sysconfdir     /etc/X11/GNOME
43 %define         _mandir         %{_prefix}/man
44 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
45
46 %description
47 Gabber is a Gnome client for the distributed Open Source instant
48 messaging system called Jabber. Gabber aims to be a fairly complete
49 client while remaining easy to use, trying to maintain a balance
50 between too many features and being powerful enough.
51
52 %description -l pl
53 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
54 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
55 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
56 tym prostym w u¿yciu.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 %build
63 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
64 mv -f configure.in.tmp configure.in
65 rm -f missing
66 xml-i18n-toolize --copy --force
67 gettextize --copy --force
68 aclocal -I %{_aclocaldir}/gnome
69 autoheader
70 autoconf
71 automake -a -c
72 (cd jabberoo
73 rm -f missing
74 aclocal -I %{_aclocaldir}/gnome
75 autoheader
76 autoconf
77 automake -a -c)
78 CXXFLAGS="%{rpmcflags}"
79 %configure \
80         --%{?debug:dis}%{!?devbug:en}able-debug \
81         --enable-gnome \
82         --enable-panel \
83         --enable-ssl \
84         --enable-screensaver \
85         --enable-xmms \
86         %{?_with_ipv6:--enable-ipv6} \
87         --disable-perl
88
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         Applicationsdir=%{_applnkdir}/Network/Communications \
97         omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
98
99 gzip -9nf AUTHORS NEWS README TODO
100
101 %find_lang %{name} --with-gnome --all-name
102
103 %post   -p /usr/bin/scrollkeeper-update
104 %postun -p /usr/bin/scrollkeeper-update
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc *.gz
112 %{_sysconfdir}/sound/events/*
113 %attr(755,root,root) %{_bindir}/*
114 %{_mandir}/man?/*
115 %{_applnkdir}/Network/Communications/*.desktop
116 %{_datadir}/%{name}
117 %{_omf_dest_dir}/omf/%{name}
118 %{_pixmapsdir}/*
119 %{_datadir}/sounds/*
This page took 0.032627 seconds and 4 git commands to generate.