]> git.pld-linux.org Git - packages/ekg2.git/blob - ekg2.spec
- added missing libtool BR
[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:  libtool
26 BuildRequires:  libltdl-devel
27 BuildRequires:  libgsm-devel
28 BuildRequires:  ncurses-devel
29 BuildRequires:  openssl-devel >= 0.9.7d
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 A client compatible with Gadu-Gadu and Jabber.
34
35 %description -l de
36 Einen client kompatibel zu Gadu-Gadu und Jabber.
37
38 %description -l it
39 Esperimentale cliente di Gadu-Gadu.
40
41 %description -l pl
42 Eksperymentalny Klient Gadu-Gadu. W wersji 2.0 obs³uguje zarówno
43 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
44
45 %prep
46 %setup -q -n %{name}-%{_snap}
47
48 %build
49 %{__libtoolize} --ltdl
50 %{__aclocal} -I m4
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61 rm -rf docs/{CVS,.cvsignore,Makefile*}
62 mv README README-main
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc ChangeLog* NEWS* README-main docs/*
70 %attr(755,root,root) %{_bindir}/*
71 %dir %{_libdir}/ekg2
72 %dir %{_libdir}/ekg2/plugins
73 %attr(755,root,root) %{_libdir}/ekg2/plugins/*.so
74 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}
This page took 0.091846 seconds and 4 git commands to generate.