X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgajim.git;a=blobdiff_plain;f=gajim.spec;h=7609f1c62c9381e25fc0f7aa534d6b855b5924b4;hp=965a9b1e877c5d1cd4fcb5efc218689373913ba5;hb=22e135daed78a5b9a5360d38d0d02a69e72df695;hpb=006ce781d43534206acbbf77d81cfcfc1de754e6 diff --git a/gajim.spec b/gajim.spec index 965a9b1..7609f1c 100644 --- a/gajim.spec +++ b/gajim.spec @@ -1,24 +1,52 @@ 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.8.2 +Version: 0.15.4 Release: 1 -License: GPL +Epoch: 1 +License: GPL v3+ Group: Applications/Communications -Source0: http://gajim.org/downloads/%{name}-%{version}.tar.bz2 -# Source0-md5: 14b00f8ed7d84d90793782db7df40ec1 +Source0: http://gajim.org/downloads/0.15/%{name}-%{version}.tar.bz2 +# Source0-md5: 25052ec18d9d1c4d2da7be55093c823d 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: pkgconfig +BuildRequires: python-pygtk-devel >= 2.8.0 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.177 +BuildRequires: xorg-lib-libSM-devel +BuildRequires: xorg-lib-libXScrnSaver-devel +Requires: hicolor-icon-theme +Requires: python-modules-sqlite %pyrequires_eq python-modules %pyrequires_eq python -Requires: python-dbus +BuildConflicts: gnustep-gui-devel 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-docutils >= 0.4-2 +Requires: python-pygtk-glade >= 2.8.0 +Suggests: dbus(org.freedesktop.Notifications) +Suggests: gnome-keyring +Suggests: gnupg2 +Suggests: gpgme >= 1.0.0 +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 >= 0.9 +Suggests: python-pyasn1 +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 @@ -27,17 +55,26 @@ 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 %build +%{__intltoolize} +%{__aclocal} -I m4 +%{__libtoolize} +%{__autoheader} +%{__autoconf} +%{__automake} +%configure + %{__make} \ + CC="%{__cc}" \ PREFIX=%{_prefix} \ LIBDIR=/%{_lib} @@ -49,28 +86,27 @@ rm -rf $RPM_BUILD_ROOT LIBDIR=/%{_lib} \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} +%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no +[ -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 +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README Changelog -%attr(755,root,root) %{_bindir}/* -%dir %{_libdir}/%{name} -%attr(755,root,root) %{_libdir}/%{name}/*.so -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/COPYING -%{_datadir}/%{name}/data -%dir %{_datadir}/%{name}/src -%{_datadir}/%{name}/src/common -%attr(755,root,root) %{_datadir}/%{name}/src/gajim.py -%{_datadir}/%{name}/src/[!g]*.py -%{_datadir}/%{name}/src/g[!a]* -%{_datadir}/%{name}/src/gajim[!.]* -%{_desktopdir}/*.desktop -%{_mandir}/man1/* -%{_pixmapsdir}/*.png +%doc AUTHORS ChangeLog README THANKS THANKS.artists +%attr(755,root,root) %{_bindir}/gajim* +%{_datadir}/%{name} +%{_desktopdir}/gajim.desktop +%{_mandir}/man1/*.1* +%{_iconsdir}/hicolor/64x64/apps/gajim.png +%{_iconsdir}/hicolor/scalable/apps/gajim.svg