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