]> git.pld-linux.org Git - packages/ekg2.git/blob - ekg2.spec
d282a20efa5e507248dfa890942a08e46282495d
[packages/ekg2.git] / ekg2.spec
1 #
2 # Conditional build:
3 %bcond_with     yesterday_snapshot      # Build most current ekg2 snapshot
4                                         # (must use ./builder -n5 or plain rpmbuild)
5 %bcond_without  aspell                  # Don't build in spell-checking support with aspell
6 %bcond_with     ioctl_daemon            # With (suid-root) ioctl daemon
7
8 %if %{with yesterday_snapshot}
9 %define         _snap %(date +%%Y%%m%%d -d yesterday)
10 %else
11 %define         _snap 20040817
12 %endif
13
14 Summary:        A client compatible with Gadu-Gadu
15 Summary(de):    Einen client kompatibel zu Gadu-Gadu
16 Summary(it):    Esperimentale cliente di Gadu-Gadu
17 Summary(pl):    Eksperymentalny Klient Gadu-Gadu
18 Name:           ekg2
19 Version:        2.0
20 Release:        0.%{_snap}.1
21 License:        GPL v2+
22 Group:          Applications/Communications
23 Source0:        http://www.ekg2.org/archive/%{name}-%{_snap}.tar.gz
24 # Source0-md5:  0dc34153b9121a790ef99927e6e61922
25 URL:            http://www.ekg2.org/
26 BuildRequires:  libgadu-devel
27 BuildRequires:  libgsm-devel
28 BuildRequires:  ncurses-devel
29 BuildRequires:  openssl-devel >= 0.9.7d
30 BuildRequires:  gpm-devel
31 BuildRequires:  expat-devel
32 BuildRequires:  libjpeg-devel
33 BuildRequires:  gcc-c++
34 BuildRequires:  autoconf
35 BuildRequires:  libstdc++-devel
36 %{?with_aspell:BuildRequires:   aspell-devel}
37 BuildRequires:  gnutls-devel
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 A client compatible with Gadu-Gadu and Jabber.
42
43 %description -l de
44 Einen client kompatibel zu Gadu-Gadu und Jabber.
45
46 %description -l it
47 Esperimentale cliente di Gadu-Gadu.
48
49 %description -l pl
50 Eksperymentalny Klient Gadu-Gadu. W wersji drugiej obs³uguje zarówno
51 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
52
53 %prep
54 %setup -q -n %{name}-%{_snap}
55
56 %build
57 %configure \
58         --with%{!?with_aspell:out}-aspell
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66 %{!?with_ioctl_daemon:rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/ioctld.*}
67
68 rm -rf docs/{CVS,.cvsignore,Makefile*}
69 mv -f README README-main
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc NEWS* README-main docs/*
77 %attr(755,root,root) %{_bindir}/*
78 %dir %{_libdir}/%{name}
79 %dir %{_libdir}/%{name}/plugins
80 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
81 %{?with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}
82 %{_datadir}/%{name}
This page took 0.129109 seconds and 3 git commands to generate.