]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- updated to 0.11.4.4 snap 20070829
[packages/gajim.git] / gajim.spec
1 %define         snap    20080722
2 %define         snap_date       2008-07-22
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:  36e5cc8945a28817af9d6b73e22bad15
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 %{__make} \
66         CC="%{__cc}" \
67         PREFIX=%{_prefix} \
68         LIBDIR=/%{_lib}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         PREFIX=%{_prefix} \
75         LIBDIR=/%{_lib} \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
79 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
80
81 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
82        mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
83 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README THANKS
91 %attr(755,root,root) %{_bindir}/*
92 %dir %{_libdir}/%{name}
93 %attr(755,root,root) %{_libdir}/%{name}/*.so
94 %{_datadir}/%{name}
95 %{_desktopdir}/*.desktop
96 %{_mandir}/man1/*
97 %{_pixmapsdir}/*.png
This page took 0.060226 seconds and 3 git commands to generate.