]> git.pld-linux.org Git - packages/gajim.git/blobdiff - gajim.spec
- new snap
[packages/gajim.git] / gajim.spec
index e872c1469385f55d4a23c9cdc4b3982b3a7be43e..e24d49362584980eba5eabb33911544f7f950f82 100644 (file)
@@ -1,24 +1,38 @@
-%define                _snap   20060319
+%define                snap    20070731
+%define                snap_date       2007-07-31
 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.10
-Release:       0.%{_snap}.1
+Version:       0.11.1.5
+Release:       0.%{snap}.1
+Epoch:         1
 License:       GPL v2
 Group:         Applications/Communications
-Source0:       %{name}-%{_snap}.tar.bz2
-# Source0-md5: 83b0dcbb92a33269055ad7c701a71a1a
+Source0:       http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
+# Source0-md5: 87ec4a94fb4dd95d885b7936f30fb225
 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: rpmbuild(macros) >= 1.177
+BuildRequires: rpm-pythonprov
+BuildRequires: xorg-lib-libSM-devel
 BuildRequires: xorg-lib-libXScrnSaver-devel
 %pyrequires_eq python-modules
 %pyrequires_eq python
+Requires:      python-docutils >= 0.4-2
 Requires:      python-dns
 Requires:      python-pygtk-glade >= 2.8.0
+Suggests:      python-avahi
+Suggests:      python-dbus >= 0.82.1
+Suggests:      python-gnome-desktop-keyring
+Suggests:      python-gnome-gconf
+Suggests:      python-pyOpenSSL
+Suggests:      python-sqlite
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,17 +41,23 @@ 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
-%{__make} clean
+%{__intltoolize}
+%{__aclocal} -I m4
+%{__libtoolize}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%{configure}
 %{__make} \
        CC="%{__cc}" \
        PREFIX=%{_prefix} \
@@ -52,23 +72,16 @@ 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
+%doc AUTHORS ChangeLog README THANKS
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.so
This page took 0.170941 seconds and 4 git commands to generate.