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