]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- final 0.12 (merged from DEVEL)
[packages/gajim.git] / gajim.spec
1 %define         snap    20081201
2 %define         _state  beta1
3 %define         snap_date       2008-12-01
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}.1201
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-md5:  4295b34403474b85a1e7011729f4a822
14 #Source0:       http://gajim.org/downloads/%{name}-%{version}-%{_state}.tar.gz
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:       gnupg2
35 Suggests:       gpgme >= 1.0.0
36 Suggests:       notification-daemon
37 Suggests:       python-Crypto
38 Suggests:       python-avahi
39 Suggests:       python-dbus >= 0.82.1
40 Suggests:       python-gnome-desktop-keyring
41 Suggests:       python-gnome-gconf
42 Suggests:       python-gnome-ui
43 Suggests:       python-pyOpenSSL
44 Suggests:       python-sexy
45 Suggests:       python-sqlite
46 # sr@Latn vs. sr@latin
47 Conflicts:      glibc-misc < 6:2.7
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
52 developers is to provide a full featured and easy to use XMPP client
53 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
54 exists with it nicely.
55
56 %description -l pl.UTF-8
57 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
58 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
59 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
60 działa z nim ładnie.
61
62 %prep
63 %setup -q -n %{name}-%{version}.0.1-svn
64
65 %build
66 %{__intltoolize}
67 %{__aclocal} -I m4
68 %{__libtoolize}
69 %{__autoheader}
70 %{__autoconf}
71 %{__automake}
72 %configure
73
74 %{__make} \
75         CC="%{__cc}" \
76         PREFIX=%{_prefix} \
77         LIBDIR=/%{_lib}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         PREFIX=%{_prefix} \
84         LIBDIR=/%{_lib} \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
88 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
89
90 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
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
102 %attr(755,root,root) %{_bindir}/*
103 %dir %{_libdir}/%{name}
104 %attr(755,root,root) %{_libdir}/%{name}/*.so
105 %{_datadir}/%{name}
106 %{_desktopdir}/*.desktop
107 %{_mandir}/man1/*
108 %{_pixmapsdir}/*.png
This page took 0.103353 seconds and 4 git commands to generate.