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