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