]>
Commit | Line | Data |
---|---|---|
27c667cc SP |
1 | %define snap 20080722 |
2 | %define snap_date 2008-07-22 | |
beebb597 | 3 | Summary: A Jabber client written in PyGTK |
27c667cc | 4 | Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK |
5852d9d2 | 5 | Name: gajim |
27c667cc | 6 | Version: 0.11.4.4 |
847024a8 | 7 | Release: 0.%{snap}.1 |
59216cf3 | 8 | Epoch: 1 |
b1f53c75 | 9 | License: GPL v2 |
5852d9d2 | 10 | Group: Applications/Communications |
847024a8 | 11 | Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz |
27c667cc | 12 | # Source0-md5: 36e5cc8945a28817af9d6b73e22bad15 |
5852d9d2 | 13 | URL: http://www.gajim.org/ |
70e4ada7 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
5ad5e149 | 16 | BuildRequires: gettext-devel |
b4753e9b | 17 | BuildRequires: gtkspell-devel |
1da30c2b | 18 | BuildRequires: intltool |
70e4ada7 | 19 | BuildRequires: libtool |
1da30c2b | 20 | BuildRequires: python-pygtk-devel >= 2.8.0 |
e51c8fd1 | 21 | BuildRequires: rpm-pythonprov |
27c667cc | 22 | BuildRequires: rpmbuild(macros) >= 1.177 |
739d169e | 23 | BuildRequires: xorg-lib-libSM-devel |
1d492f99 | 24 | BuildRequires: xorg-lib-libXScrnSaver-devel |
5852d9d2 | 25 | %pyrequires_eq python-modules |
26 | %pyrequires_eq python | |
13892137 | 27 | Requires: python-dns |
27c667cc | 28 | Requires: python-docutils >= 0.4-2 |
1da30c2b | 29 | Requires: python-pygtk-glade >= 2.8.0 |
27c667cc SP |
30 | Requires: python-sqlite |
31 | Suggests: gpgme >= 1.0.0 | |
847024a8 | 32 | Suggests: python-avahi |
1d7763e0 | 33 | Suggests: python-dbus >= 0.82.1 |
847024a8 PZ |
34 | Suggests: python-gnome-desktop-keyring |
35 | Suggests: python-gnome-gconf | |
08fda15b | 36 | Suggests: python-pyOpenSSL |
847024a8 | 37 | Suggests: python-sqlite |
27c667cc SP |
38 | # sr@Latn vs. sr@latin |
39 | Conflicts: glibc-misc < 6:2.7 | |
5852d9d2 | 40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %description | |
beebb597 JB |
43 | Gajim is a Jabber client written in PyGTK. The goal of Gajim's |
44 | developers is to provide a full featured and easy to use XMPP client | |
45 | for the GTK+ users. Gajim does not require GNOME to run, eventhough it | |
46 | exists with it nicely. | |
5852d9d2 | 47 | |
b93a977b JR |
48 | %description -l pl.UTF-8 |
49 | Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest | |
50 | dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP | |
51 | dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć | |
52 | działa z nim ładnie. | |
5852d9d2 | 53 | |
54 | %prep | |
27c667cc | 55 | %setup -q -n %{name}-%{version}-svn |
5852d9d2 | 56 | |
57 | %build | |
4d2c55e8 PZ |
58 | %{__intltoolize} |
59 | %{__aclocal} -I m4 | |
60 | %{__libtoolize} | |
61 | %{__autoheader} | |
62 | %{__autoconf} | |
63 | %{__automake} | |
27c667cc | 64 | %configure |
5852d9d2 | 65 | %{__make} \ |
c7665e23 | 66 | CC="%{__cc}" \ |
acf37287 | 67 | PREFIX=%{_prefix} \ |
4d00e833 | 68 | LIBDIR=/%{_lib} |
5852d9d2 | 69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | PREFIX=%{_prefix} \ | |
4d00e833 | 75 | LIBDIR=/%{_lib} \ |
5852d9d2 | 76 | DESTDIR=$RPM_BUILD_ROOT |
77 | ||
5f33b669 | 78 | rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} |
89c16923 | 79 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
5852d9d2 | 80 | |
27c667cc SP |
81 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
82 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
006ce781 | 83 | %find_lang %{name} |
84 | ||
5852d9d2 | 85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
006ce781 | 88 | %files -f %{name}.lang |
5852d9d2 | 89 | %defattr(644,root,root,755) |
4d2c55e8 | 90 | %doc AUTHORS ChangeLog README THANKS |
5852d9d2 | 91 | %attr(755,root,root) %{_bindir}/* |
92 | %dir %{_libdir}/%{name} | |
93 | %attr(755,root,root) %{_libdir}/%{name}/*.so | |
1da30c2b | 94 | %{_datadir}/%{name} |
beebb597 JB |
95 | %{_desktopdir}/*.desktop |
96 | %{_mandir}/man1/* | |
7a74e812 | 97 | %{_pixmapsdir}/*.png |