]> git.pld-linux.org Git - packages/ekg2.git/blob - ekg2.spec
d133e599db65070008012b44d45f8566c400f374
[packages/ekg2.git] / ekg2.spec
1 %bcond_with     yesterday_snapshot      # Build most current ekg2 snapshot
2                                         # (must use ./builder -n5 or plain rpmbuild)
3
4 %if %{with yesterday_snapshot}
5 %define         _snap %(date +%%Y%%m%%d -d yesterday)
6 %else
7 %define         _snap 20040427
8 %endif
9
10 Summary:        A client compatible with Gadu-Gadu
11 Summary(de):    Einen client kompatibel zu Gadu-Gadu
12 Summary(it):    Esperimentale cliente di Gadu-Gadu
13 Summary(pl):    Eksperymentalny Klient Gadu-Gadu
14 Name:           ekg2
15 Version:        2.0
16 Release:        0.%{_snap}.1
17 License:        GPL v2+
18 Group:          Applications/Communications
19 Source0:        http://dev.null.pl/ekg2/archive/%{name}-%{_snap}.tar.gz
20 # Source0-md5:  ee1e7993975ae70878bf4a51e2bc2bee
21 URL:            http://dev.null.pl/ekg2/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libgadu-devel
25 BuildRequires:  libltdl-devel
26 BuildRequires:  libgsm-devel
27 BuildRequires:  ncurses-devel
28 BuildRequires:  openssl-devel >= 0.9.7d
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 A client compatible with Gadu-Gadu and Jabber.
33
34 %description -l de
35 Einen client kompatibel zu Gadu-Gadu und Jabber.
36
37 %description -l it
38 Esperimentale cliente di Gadu-Gadu.
39
40 %description -l pl
41 Eksperymentalny Klient Gadu-Gadu. W wersji 2.0 obs³uguje zarówno
42 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
43
44 %prep
45 %setup -q -n %{name}-%{_snap}
46
47 %build
48 %{__libtoolize} --ltdl
49 %{__aclocal} -I m4
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60 rm -rf docs/{CVS,.cvsignore,Makefile*}
61 mv README README-main
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog* NEWS* README-main docs/*
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_libdir}/ekg2
71 %dir %{_libdir}/ekg2/plugins
72 %attr(755,root,root) %{_libdir}/ekg2/plugins/*.so
73 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}
This page took 0.079035 seconds and 3 git commands to generate.