]> git.pld-linux.org Git - packages/gajim.git/blobdiff - gajim.spec
- up to snap 2005-12-11
[packages/gajim.git] / gajim.spec
index 5e7b3ff2cff2cfba67e4231dd40272138b5508a7..da3e3a4d70189390e23ea4b457ba7ee68272b8d5 100644 (file)
@@ -1,24 +1,24 @@
+%define                _snap   2005-12-11
 Summary:       A Jabber client written in PyGTK
 Summary(pl):   Klient Jabbera napisany w PyGTK
 Name:          gajim
-Version:       0.7.1
-Release:       1
-License:       GPL
+Version:       0.9
+Release:       0.%(echo %{_snap}|tr -d -).2
+License:       GPL v2
 Group:         Applications/Communications
-Source0:       http://gajim.org/downloads/gajim-0.7.1.tar.bz2
-# Source0-md5: f795d550749d78839d1b6a554bbff545
-Patch0:                %{name}-SRV.patch
-Patch1:                %{name}-makefile.patch
+Source0:       http://gajim.org/downloads/snap/%{name}-%{_snap}.tar.bz2
+# Source0-md5: b48cb58c619c4284fd0756b5c6dbe329
 URL:           http://www.gajim.org/
+BuildRequires: gettext-devel
 BuildRequires: gtkspell-devel
-BuildRequires: python-pygtk-devel
+BuildRequires: intltool
+BuildRequires: python-pygtk-devel >= 2.8.0
+BuildRequires: rpmbuild(macros) >= 1.177
 %pyrequires_eq python-modules
 %pyrequires_eq python
 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 >= 2.0.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,29 +35,37 @@ dzia
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 %{__make} \
        PREFIX=%{_prefix} \
-       LIBDIR=%{_libdir}
+       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}
 
+%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)
+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
This page took 0.24961 seconds and 4 git commands to generate.