Merged silc_1_1_branch to trunk.
[silc.git] / apps / irssi / silc-client.spec.in
1 Summary: SILC Client
2 Name: silc-client
3 Version: SILC_VERSION
4 Release: SILC_RELEASE
5 License: GPL
6 Group: Applications/Communications
7 URL: http://silcnet.org/
8 Source0: silc-client-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10 BuildRequires: silc-toolkit-devel
11 Requires: silc-toolkit >= 1.1
12
13 %description
14 SILC (Secure Internet Live Conferencing) is a protocol which provides
15 secure conferencing services on the Internet over insecure channel.
16 SILC Client is used to connect to SILC server and SILC network.
17
18 %prep
19 %setup -q
20
21 %build
22 %configure --prefix=%{_prefix} \
23            --mandir=%{_mandir} \
24            --infodir=%{_infodir} \
25            --bindir=%{_bindir} \
26            --datadir=%{_datadir} \
27            --with-perl-lib=%{_libdir}/silc/perl5 \
28            --enable-ipv6 --with-socks --with-perl=yes
29 make -j4
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 make DESTDIR=$RPM_BUILD_ROOT install
34 rm -f $RPM_BUILD_ROOT/%{_libdir}/silc/perl5/*/perllocal.pod
35 mv $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client \
36   $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client-%version
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr (755,root,root,755)
43 %{_bindir}/*
44 %{_libdir}/silc/perl5
45 %defattr (644,root,root,755)
46 %{_sysconfdir}/silc.conf
47 %{_mandir}/man1/*
48 %{_datadir}/silc
49 %doc %{_datadir}/doc
50
51 %changelog
52 * Sun Jun  3 2007 - Pekka Riikonen <priikone@silcnet.org>
53 - Initial version