X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgajim.git;a=blobdiff_plain;f=gajim.spec;h=34a20f0ea9e58add99a501ea76583a0f7e26bdc4;hp=ed272dd654615ebd7a0247a4f9140ee682cb675c;hb=835b18c91555d28a32f9e164b4010318f0adfa07;hpb=58c184e59401f1d2777ae4223663620ded8bd5b2 diff --git a/gajim.spec b/gajim.spec index ed272dd..34a20f0 100644 --- a/gajim.spec +++ b/gajim.spec @@ -1,28 +1,30 @@ -# TODO -# - use /usr/share/locale -# - fix gajim-remote and add R: python-dbus -# Summary: A Jabber client written in PyGTK Summary(pl): Klient Jabbera napisany w PyGTK Name: gajim -Version: 0.8 +Version: 0.11 Release: 1 -License: GPL +Epoch: 1 +License: GPL v2 Group: Applications/Communications -Source0: http://gajim.org/downloads/%{name}-%{version}.tar.bz2 -# Source0-md5: 1f9b4864c56d744d1e6f1c0b42afc4e9 -Patch0: %{name}-makefile.patch +Source0: http://www.gajim.org/downloads/%{name}-%{version}.tar.bz2 +# Source0-md5: 7ac7ac6fdfc515cb927adf21793856fa URL: http://www.gajim.org/ -BuildRequires: gtkspell-devel +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gettext-devel -BuildRequires: python-pygtk-devel +BuildRequires: gtkspell-devel +BuildRequires: intltool +BuildRequires: libtool +BuildRequires: python-pygtk-devel >= 2.8.0 +BuildRequires: rpmbuild(macros) >= 1.177 +BuildRequires: rpm-pythonprov +BuildRequires: xorg-lib-libXScrnSaver-devel %pyrequires_eq python-modules %pyrequires_eq python +Requires: python-docutils >= 0.4-2 Requires: python-dns -Requires: python-gnome-extras-egg >= 2.10.0 -Requires: python-gnome-extras-gtkspell >= 2.10.0 -Requires: python-pygtk-glade >= 2.6.0 -Requires: python-pygtk-gtk >= 2.6.0 +Requires: python-pygtk-glade >= 2.8.0 +Requires: python-sqlite BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -39,10 +41,17 @@ dzia %prep %setup -q -%patch0 -p1 %build +%{__intltoolize} +%{__aclocal} -I m4 +%{__libtoolize} +%{__autoheader} +%{__autoconf} +%{__automake} +%configure %{__make} \ + CC="%{__cc}" \ PREFIX=%{_prefix} \ LIBDIR=/%{_lib} @@ -55,13 +64,25 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} +rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%post +%banner %{name} -e << EOF +For full functionality, you need to install: +- avahi-discover (for zeroconf chat over local networks) +- python-dbus (for gajim-remote and notification-daemon support) +- python-gnome-desktop-keyring (for secure password storage) +- python-gnome-gconf (for xmpp url-handler in GNOME) +EOF + +%files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README Changelog +%doc AUTHORS ChangeLog README THANKS %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/*.so