X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gajim.spec;h=70c2c6f3473eeda5ad66e643c8d276cacdc254c5;hb=refs%2Ftags%2Fdeadbranch-1.21.2;hp=0fbec82062c55a131386d2ce25296b2d8fb7651e;hpb=178c3750b270546408e3dea668bd0b804acaf336;p=packages%2Fgajim.git diff --git a/gajim.spec b/gajim.spec index 0fbec82..70c2c6f 100644 --- a/gajim.spec +++ b/gajim.spec @@ -1,26 +1,53 @@ -%define _snap 20060911 -%define _snap_with_dashes 2006-09-11 +# +%define snap 20091117 +%define snap_date 2009-11-17 + Summary: A Jabber client written in PyGTK -Summary(pl): Klient Jabbera napisany w PyGTK +Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK Name: gajim -Version: 0.11 -Release: 0.%{_snap}.1 +Version: 0.13.0.1 +Release: 0.%{snap}.1 +Epoch: 1 License: GPL v2 Group: Applications/Communications -Source0: http://www.gajim.org/downloads/snap/%{name}-%{_snap_with_dashes}.tar.gz -# Source0-md5: 3da4d48e3a81a678a020a7355d640280 +Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz +# Source0-md5: 4358eb04ddeaea93fc09f037332d2e4d URL: http://www.gajim.org/ +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gettext-devel BuildRequires: gtkspell-devel BuildRequires: intltool +BuildRequires: libtool BuildRequires: python-pygtk-devel >= 2.8.0 -BuildRequires: rpmbuild(macros) >= 1.177 BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.177 +BuildRequires: xorg-lib-libSM-devel BuildRequires: xorg-lib-libXScrnSaver-devel %pyrequires_eq python-modules %pyrequires_eq python Requires: python-dns +Requires: python-docutils >= 0.4-2 +Requires: python-modules-sqlite Requires: python-pygtk-glade >= 2.8.0 +Requires: python-sqlite +Suggests: gnome-keyring +Suggests: gnupg2 +Suggests: gpgme >= 1.0.0 +Suggests: notification-daemon +Suggests: python-Crypto +Suggests: python-avahi +Suggests: python-dbus >= 0.82.1 +Suggests: python-farsight2 +Suggests: python-gnome-desktop-keyring +Suggests: python-gnome-gconf +Suggests: python-gnome-ui +Suggests: python-gstreamer +Suggests: python-pyOpenSSL +Suggests: python-sexy +Suggests: python-sqlite +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -29,17 +56,24 @@ developers is to provide a full featured and easy to use XMPP client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. -%description -l pl -Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest -dostarczenie w pe³ni funkcjonalnego i ³atwego w u¿yciu klienta XMPP -dla u¿ytkowników GTK+. Gajim nie wymaga do dzia³ania GNOME, choæ -dzia³a z nim ³adnie. +%description -l pl.UTF-8 +Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest +dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP +dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć +działa z nim ładnie. %prep -%setup -q -n %{name}-0.10 +%setup -q -n %{name}-%{version}-dev %build -%{__make} clean +%{__intltoolize} +%{__aclocal} -I m4 +%{__libtoolize} +%{__autoheader} +%{__autoconf} +%{__automake} +%configure + %{__make} \ CC="%{__cc}" \ PREFIX=%{_prefix} \ @@ -56,22 +90,18 @@ rm -rf $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la + +[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ + mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%post -%banner %{name} -e << EOF -For full functionality, you need to install: -- python-dbus (for gajim-remote and notification-daemon support) -- python-gnome-gconf (for xmpp url-handler in GNOME) -- python-sqlite (for logs) -EOF - %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README Changelog +%doc AUTHORS ChangeLog README THANKS THANKS.artists %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/*.so