]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- new snap
[packages/gajim.git] / gajim.spec
1 %define         snap    20070731
2 %define         snap_date       2007-07-31
3 Summary:        A Jabber client written in PyGTK
4 Summary(pl.UTF-8):   Klient Jabbera napisany w PyGTK
5 Name:           gajim
6 Version:        0.11.1.5
7 Release:        0.%{snap}.1
8 Epoch:          1
9 License:        GPL v2
10 Group:          Applications/Communications
11 Source0:        http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
12 # Source0-md5:  87ec4a94fb4dd95d885b7936f30fb225
13 URL:            http://www.gajim.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtkspell-devel
18 BuildRequires:  intltool
19 BuildRequires:  libtool
20 BuildRequires:  python-pygtk-devel >= 2.8.0
21 BuildRequires:  rpmbuild(macros) >= 1.177
22 BuildRequires:  rpm-pythonprov
23 BuildRequires:  xorg-lib-libSM-devel
24 BuildRequires:  xorg-lib-libXScrnSaver-devel
25 %pyrequires_eq  python-modules
26 %pyrequires_eq  python
27 Requires:       python-docutils >= 0.4-2
28 Requires:       python-dns
29 Requires:       python-pygtk-glade >= 2.8.0
30 Suggests:       python-avahi
31 Suggests:       python-dbus >= 0.82.1
32 Suggests:       python-gnome-desktop-keyring
33 Suggests:       python-gnome-gconf
34 Suggests:       python-pyOpenSSL
35 Suggests:       python-sqlite
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
40 developers is to provide a full featured and easy to use XMPP client
41 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
42 exists with it nicely.
43
44 %description -l pl.UTF-8
45 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
46 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
47 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
48 działa z nim ładnie.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__intltoolize}
55 %{__aclocal} -I m4
56 %{__libtoolize}
57 %{__autoheader}
58 %{__autoconf}
59 %{__automake}
60 %{configure}
61 %{__make} \
62         CC="%{__cc}" \
63         PREFIX=%{_prefix} \
64         LIBDIR=/%{_lib}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         PREFIX=%{_prefix} \
71         LIBDIR=/%{_lib} \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
75 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README THANKS
85 %attr(755,root,root) %{_bindir}/*
86 %dir %{_libdir}/%{name}
87 %attr(755,root,root) %{_libdir}/%{name}/*.so
88 %{_datadir}/%{name}
89 %{_desktopdir}/*.desktop
90 %{_mandir}/man1/*
91 %{_pixmapsdir}/*.png
This page took 0.032216 seconds and 3 git commands to generate.