]> git.pld-linux.org Git - packages/gajim.git/blame - gajim.spec
- added desktop patch
[packages/gajim.git] / gajim.spec
CommitLineData
beebb597 1Summary: A Jabber client written in PyGTK
266c3a3e 2Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
5852d9d2 3Name: gajim
f26a7b5d 4Version: 0.11.1
b38f6a18 5Release: 2
835b18c9 6Epoch: 1
a8189f30 7License: GPL v2
5852d9d2 8Group: Applications/Communications
99830fa8 9Source0: http://www.gajim.org/downloads/%{name}-%{version}.tar.bz2
f26a7b5d 10# Source0-md5: cc587e7617f53ae8d5e0b30d7324e89c
b38f6a18 11Patch0: %{name}-desktop.patch
5852d9d2 12URL: http://www.gajim.org/
99830fa8
PZ
13BuildRequires: autoconf
14BuildRequires: automake
5ad5e149 15BuildRequires: gettext-devel
a8189f30
PZ
16BuildRequires: gtkspell-devel
17BuildRequires: intltool
99830fa8 18BuildRequires: libtool
a8189f30
PZ
19BuildRequires: python-pygtk-devel >= 2.8.0
20BuildRequires: rpmbuild(macros) >= 1.177
99830fa8 21BuildRequires: rpm-pythonprov
59fd577f 22BuildRequires: xorg-lib-libXScrnSaver-devel
5852d9d2 23%pyrequires_eq python-modules
24%pyrequires_eq python
99830fa8 25Requires: python-docutils >= 0.4-2
13892137 26Requires: python-dns
a8189f30 27Requires: python-pygtk-glade >= 2.8.0
c18a4c61 28Requires: python-sqlite
5852d9d2 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
beebb597
JB
32Gajim is a Jabber client written in PyGTK. The goal of Gajim's
33developers is to provide a full featured and easy to use XMPP client
34for the GTK+ users. Gajim does not require GNOME to run, eventhough it
35exists with it nicely.
5852d9d2 36
934b1af7
JR
37%description -l pl.UTF-8
38Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
39dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
40dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
41działa z nim ładnie.
5852d9d2 42
43%prep
bad78d3d 44%setup -q
b38f6a18 45%patch0 -p1
5852d9d2 46
47%build
99830fa8
PZ
48%{__intltoolize}
49%{__aclocal} -I m4
50%{__libtoolize}
51%{__autoheader}
52%{__autoconf}
53%{__automake}
7500c436 54%configure
5852d9d2 55%{__make} \
4c66f19f 56 CC="%{__cc}" \
acf37287 57 PREFIX=%{_prefix} \
4d00e833 58 LIBDIR=/%{_lib}
5852d9d2 59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 PREFIX=%{_prefix} \
4d00e833 65 LIBDIR=/%{_lib} \
5852d9d2 66 DESTDIR=$RPM_BUILD_ROOT
67
5f33b669 68rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
c0f7a1fc 69rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
5852d9d2 70
006ce781 71%find_lang %{name}
72
5852d9d2 73%clean
74rm -rf $RPM_BUILD_ROOT
75
a8189f30
PZ
76%post
77%banner %{name} -e << EOF
78For full functionality, you need to install:
99830fa8 79- avahi-discover (for zeroconf chat over local networks)
a8189f30 80- python-dbus (for gajim-remote and notification-daemon support)
99830fa8 81- python-gnome-desktop-keyring (for secure password storage)
a8189f30 82- python-gnome-gconf (for xmpp url-handler in GNOME)
a8189f30
PZ
83EOF
84
006ce781 85%files -f %{name}.lang
5852d9d2 86%defattr(644,root,root,755)
99830fa8 87%doc AUTHORS ChangeLog README THANKS
5852d9d2 88%attr(755,root,root) %{_bindir}/*
89%dir %{_libdir}/%{name}
90%attr(755,root,root) %{_libdir}/%{name}/*.so
a8189f30 91%{_datadir}/%{name}
beebb597
JB
92%{_desktopdir}/*.desktop
93%{_mandir}/man1/*
7a74e812 94%{_pixmapsdir}/*.png
This page took 0.083682 seconds and 4 git commands to generate.