]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- added S: python-Crypto
[packages/gajim.git] / gajim.spec
1 #%define                snap    20080812
2 %define         _state  alpha1
3 #%define                snap_date       2008-08-12
4 Summary:        A Jabber client written in PyGTK
5 Summary(pl.UTF-8):      Klient Jabbera napisany w PyGTK
6 Name:           gajim
7 Version:        0.12
8 Release:        0.%{_state}.1
9 Epoch:          1
10 License:        GPL v2
11 Group:          Applications/Communications
12 #Source0:       http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
13 Source0:        http://gajim.org/downloads/%{name}-%{version}-%{_state}.tar.gz
14 # Source0-md5:  74d1f85461d656d6e429f3f097ae7091
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 %pyrequires_eq  python-modules
28 %pyrequires_eq  python
29 Requires:       python-dns
30 Requires:       python-docutils >= 0.4-2
31 Requires:       python-pygtk-glade >= 2.8.0
32 Requires:       python-sqlite
33 Suggests:       gnome-keyring
34 Suggests:       gpgme >= 1.0.0
35 Suggests:       python-Crypto
36 Suggests:       python-avahi
37 Suggests:       python-dbus >= 0.82.1
38 Suggests:       python-gnome-desktop-keyring
39 Suggests:       python-gnome-gconf
40 Suggests:       python-pyOpenSSL
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 -n %{name}-%{version}-%{_state}
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
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.084859 seconds and 4 git commands to generate.