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