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