]> git.pld-linux.org Git - packages/gajim.git/blobdiff - gajim.spec
- current snap
[packages/gajim.git] / gajim.spec
index 7f3d6f3fa0ea804fb55fdb8195db6227797c1df3..b5f5750cacbe79f79cce1f697022ee21d3c12c20 100644 (file)
@@ -1,27 +1,26 @@
-%define                _snap   2005-09-15
+%define                _snap   20060607
+%define                _snap_with_dashes 2006-06-07
 Summary:       A Jabber client written in PyGTK
 Summary(pl):   Klient Jabbera napisany w PyGTK
 Name:          gajim
-Version:       0.9
-Release:       0.%(echo %{_snap}|tr -d -).1
-License:       GPL v2+
+Version:       0.11
+Release:       0.%{_snap}.1
+License:       GPL v2
 Group:         Applications/Communications
-Source0:       http://gajim.org/downloads/snap/%{name}-%{_snap}.tar.bz2
-# Source0-md5: 166d18b0f59a38695b4b7d845e9a10ff
+Source0:       http://www.gajim.org/downloads/snap/%{name}-%{_snap_with_dashes}.tar.gz
+# Source0-md5: f2c5b10388b2ccb6f0bb3e2691ad6090
 URL:           http://www.gajim.org/
-BuildRequires: gtkspell-devel
 BuildRequires: gettext-devel
+BuildRequires: gtkspell-devel
 BuildRequires: intltool
 BuildRequires: python-pygtk-devel >= 2.8.0
+BuildRequires: rpmbuild(macros) >= 1.177
+BuildRequires: rpm-pythonprov
+BuildRequires: xorg-lib-libXScrnSaver-devel
 %pyrequires_eq python-modules
 %pyrequires_eq python
-Requires:      python-dbus
 Requires:      python-dns
-Requires:      python-gnome-gconf >= 2.12.0
-Requires:      python-gnome-extras-egg >= 2.12.0
-Requires:      python-gnome-extras-gtkspell >= 2.12.0
 Requires:      python-pygtk-glade >= 2.8.0
-Requires:      python-pygtk-gtk >= 2.8.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,10 +36,12 @@ dla u
 dzia³a z nim ³adnie.
 
 %prep
-%setup -q
+%setup -q -n %{name}-0.10
 
 %build
+%{__make} clean
 %{__make} \
+       CC="%{__cc}" \
        PREFIX=%{_prefix} \
        LIBDIR=/%{_lib}
 
@@ -53,12 +54,21 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %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
This page took 0.060698 seconds and 4 git commands to generate.