]> git.pld-linux.org Git - packages/gajim.git/blobdiff - gajim.spec
- up to 0.9.1 bugfix release
[packages/gajim.git] / gajim.spec
index 2a9bb1bafb724a4ee94704e9de044ce08f39ebad..7c067bc811b28ca828e632f3be4b6cda9221289f 100644 (file)
@@ -1,60 +1,76 @@
-#
-#%define               snap 20050603
-#
-Summary:       A jabber client written in PyGTK
-Summary(pl):   Klient Jabbera napisany w PyGTK.
+Summary:       A Jabber client written in PyGTK
+Summary(pl):   Klient Jabbera napisany w PyGTK
 Name:          gajim
-Version:       0.7
-#Release:      0.%{snap}.1
-Release:       0.1
-License:       GPL
+Version:       0.9.1
+Release:       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
+Source0:       http://gajim.org/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: ca82dfb7ab5c51984357ea7bab0e99af
 URL:           http://www.gajim.org/
+BuildRequires: gettext-devel
 BuildRequires: gtkspell-devel
+BuildRequires: intltool
+BuildRequires: python-pygtk-devel >= 2.8.0
+BuildRequires: rpmbuild(macros) >= 1.177
 %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-pygtk-glade >= 2.8.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Gajim is a jabber client written in PyGTK. The goal of Gajim's 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.
+Gajim is a Jabber client written in PyGTK. The goal of Gajim's
+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
+%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.
 
 %prep
 %setup -q
-#-n %{name}
 
 %build
+%{__make} clean
 %{__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}/{COPYING,setup_win32.pyo}
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%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/*
+%doc AUTHORS README Changelog
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.so
-%{_desktopdir}/*.desktop
-%{_mandir}/man1/*.gz
 %{_datadir}/%{name}
+%{_desktopdir}/*.desktop
+%{_mandir}/man1/*
+%{_pixmapsdir}/*.png
This page took 0.036396 seconds and 4 git commands to generate.