]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- no docs
[packages/gajim.git] / gajim.spec
1
2 %define         pre     alpha1
3
4 Summary:        A Jabber client written in PyGTK
5 Summary(pl.UTF-8):      Klient Jabbera napisany w PyGTK
6 Name:           gajim
7 Version:        0.15
8 Release:        0.%{pre}.1
9 Epoch:          1
10 License:        GPL v3+
11 Group:          Applications/Communications
12 Source0:        http://gajim.org/downloads/0.15/%{name}-%{version}-%{pre}.tar.gz
13 # Source0-md5:  c0e4ac7703c7932ae8b47a99de58163b
14 URL:            http://www.gajim.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtkspell-devel
19 BuildRequires:  intltool
20 BuildRequires:  libtool
21 BuildRequires:  pkgconfig
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 Suggests:       dbus(org.freedesktop.Notifications)
35 Suggests:       gnome-keyring
36 Suggests:       gnupg2
37 Suggests:       gpgme >= 1.0.0
38 Suggests:       python-Crypto
39 Suggests:       python-avahi
40 Suggests:       python-dbus >= 0.82.1
41 Suggests:       python-farsight2
42 Suggests:       python-gnome-desktop-keyring
43 Suggests:       python-gnome-gconf
44 Suggests:       python-gnome-ui
45 Suggests:       python-gstreamer
46 Suggests:       python-pyOpenSSL >= 0.9
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 -n %{name}-%{version}-%{pre}
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} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
91
92 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
93        mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
94 %find_lang %{name}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog README THANKS THANKS.artists
102 %attr(755,root,root) %{_bindir}/gajim*
103 %{_datadir}/%{name}
104 %{_desktopdir}/gajim.desktop
105 %{_mandir}/man1/*.1*
106 %{_iconsdir}/hicolor/64x64/apps/gajim.png
107 %{_iconsdir}/hicolor/scalable/apps/gajim.svg
This page took 0.060182 seconds and 3 git commands to generate.