X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gajim.spec;h=c7c2deafd46b3b8de0c9388722d7552efa583eb5;hb=3627032056af49b79ee8dc06fa00651d2dc3b047;hp=8dbab7bb4e58be9b982cb65d79f0f44901858636;hpb=5f33b669d8939f679ca9c68e0597c4426b3a61e1;p=packages%2Fgajim.git diff --git a/gajim.spec b/gajim.spec index 8dbab7b..c7c2dea 100644 --- a/gajim.spec +++ b/gajim.spec @@ -1,26 +1,51 @@ # -#%define snap 20050603 -# +%define snap 20090607 +%define snap_date 2009-06-07 + 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.7 -#Release: 0.%{snap}.1 -Release: 0.2 -License: GPL +Version: 0.12.1.5 +Release: 0.%{snap}.1 +Epoch: 1 +License: GPL v2 Group: Applications/Communications -Source0: http://gajim.org/downloads/gajim-0.7.tar.bz2 -# Source0-md5: 70d6b882c496ea7fbacc4222da49b125 -#Source0: gajim-snap-%{snap}.tar.bz2 -Patch0: %{name}-SRV_SALS_hacks.patch +Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz +# Source0-md5: 9b61fa8d22b7c0ba7d9e40391d36500e 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: 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-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-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-gnome-desktop-keyring +Suggests: python-gnome-gconf +Suggests: python-gnome-ui +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,39 +54,56 @@ 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} -%patch0 -p1 +%setup -q -n %{name}-%{version}-svn %build +%{__intltoolize} +%{__aclocal} -I m4 +%{__libtoolize} +%{__autoheader} +%{__autoconf} +%{__automake} +%configure + %{__make} \ - PREFIX=%{_prefix} + CC="%{__cc}" \ + PREFIX=%{_prefix} \ + LIBDIR=/%{_lib} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ PREFIX=%{_prefix} \ + LIBDIR=/%{_lib} \ DESTDIR=$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 -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS README Changelog doc/* +%doc AUTHORS ChangeLog README THANKS THANKS.artists %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/%{name} %attr(755,root,root) %{_libdir}/%{name}/*.so %{_datadir}/%{name} %{_desktopdir}/*.desktop %{_mandir}/man1/* +%{_pixmapsdir}/*.png