]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
54b2a9b84c89eb67f11d930c4e8f6c0ad7e643eb
[packages/gajim.git] / gajim.spec
1 %define         snap    20080731
2 %define         snap_date       2008-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.4.4
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:  16b971426c6ce43e121b98e7d4357c60
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:  rpm-pythonprov
22 BuildRequires:  rpmbuild(macros) >= 1.177
23 BuildRequires:  xorg-lib-libSM-devel
24 BuildRequires:  xorg-lib-libXScrnSaver-devel
25 %pyrequires_eq  python-modules
26 %pyrequires_eq  python
27 Requires:       python-dns
28 Requires:       python-docutils >= 0.4-2
29 Requires:       python-pygtk-glade >= 2.8.0
30 Requires:       python-sqlite
31 Suggests:       gpgme >= 1.0.0
32 Suggests:       python-avahi
33 Suggests:       python-dbus >= 0.82.1
34 Suggests:       python-gnome-desktop-keyring
35 Suggests:       python-gnome-gconf
36 Suggests:       python-pyOpenSSL
37 Suggests:       python-sqlite
38 # sr@Latn vs. sr@latin
39 Conflicts:      glibc-misc < 6:2.7
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
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.
47
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.
53
54 %prep
55 %setup -q -n %{name}-%{version}-svn
56
57 %build
58 %{__intltoolize}
59 %{__aclocal} -I m4
60 %{__libtoolize}
61 %{__autoheader}
62 %{__autoconf}
63 %{__automake}
64 %configure
65
66 %{__make} \
67         CC="%{__cc}" \
68         PREFIX=%{_prefix} \
69         LIBDIR=/%{_lib}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         PREFIX=%{_prefix} \
76         LIBDIR=/%{_lib} \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
80 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
81
82 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
83
84 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
85        mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
86 %find_lang %{name}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README THANKS
94 %attr(755,root,root) %{_bindir}/*
95 %dir %{_libdir}/%{name}
96 %attr(755,root,root) %{_libdir}/%{name}/*.so
97 %{_datadir}/%{name}
98 %{_desktopdir}/*.desktop
99 %{_mandir}/man1/*
100 %{_pixmapsdir}/*.png
This page took 0.05636 seconds and 2 git commands to generate.