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