]> git.pld-linux.org Git - packages/gabber.git/blob - gabber.spec
- release 2: rebuild against openssl 0.9.6a.
[packages/gabber.git] / gabber.spec
1 Summary:        A GNOME Jabber client
2 Summary(es):    Klient Jabber dla GNOME
3 Name:           gabber
4 Version:        0.8.2
5 Release:        2
6 License:        GPL
7 Group:          Applications/Communications
8 Group(de):      Applikationen/Kommunikation
9 Group(pl):      Aplikacje/Komunikacja
10 Source0:        http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://gabber.sourceforge.net/
13 BuildRequires:  ORBit-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gnome-libs-devel >= 1.2.13
17 BuildRequires:  gnomemm-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  gtk+-devel >= 1.2.5
20 BuildRequires:  gtkmm-devel >= 1.1.12
21 BuildRequires:  libtool
22 BuildRequires:  iconv >= 2.2.0
23 BuildRequires:  libglade-devel
24 BuildRequires:  libsigc++-devel
25 BuildRequires:  libunicode-devel
26 BuildRequires:  openssl-devel >= 0.9.6a
27 BuildRequires:  scrollkeeper
28 BuildRequires:  xml-i18n-tools
29 Requires:       iconv >= 2.2.0
30 Prereq:         /sbin/ldconfig
31 Prereq:         scrollkeeper
32 Requires:       applnk
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _prefix         /usr/X11R6
36 %define         _sysconfdir     /etc/X11/GNOME
37 %define         _mandir         %{_prefix}/man
38 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
39
40 %description
41 Gabber is a Gnome client for the distributed Open Source instant
42 messaging system called Jabber. Gabber aims to be a fairly complete
43 client while remaining easy to use, trying to maintain a balance
44 between too many features and being powerful enough.
45
46 %description -l pl
47 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
48 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
49 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
50 tym prostym w u¿yciu.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 rm missing
58 libtoolize --copy --force
59 xml-i18n-toolize --copy --force
60 gettextize --copy --force
61 aclocal -I macros
62 autoheader
63 autoconf
64 automake -a -c
65 %configure \
66         --enable-gnome \
67         --enable-panel \
68         --disable-perl
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         Applicationsdir=%{_applnkdir}/Network/Communications \
78         omf_dest_dir=%{_omf_dest_dir}/omf/gabber
79
80 gzip -9nf AUTHORS NEWS README TODO
81
82 %find_lang %{name} --with-gnome --all-name
83
84 %post   -p /usr/bin/scrollkeeper-update
85 %postun -p /usr/bin/scrollkeeper-update
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc *.gz
93 %{_sysconfdir}/*/*/*
94 %attr(755,root,root) %{_bindir}/*
95 %{_applnkdir}/Network/Communications/*.desktop
96 %{_datadir}/%{name}
97 %{_omf_dest_dir}/omf/%{name}
98 %{_pixmapsdir}/*
99 %{_datadir}/sounds/*
This page took 0.102293 seconds and 4 git commands to generate.