c4c1afd1b64e7389874a8c490cf29c8d46fe4da9
[runtime.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.  More
17 information at http://silcnet.org/.
18
19 # Need this because the irssi's configure we run from silc-client
20 # configure somehow installs some of the files to location where I don't
21 # know how to reach them.
22 %define _unpackaged_files_terminate_build 0
23
24 %prep
25 %setup -q
26
27 %build
28 %configure --prefix=%{_prefix} \
29            --mandir=%{_mandir} \
30            --infodir=%{_infodir} \
31            --bindir=%{_bindir} \
32            --datadir=%{_datadir} \
33            --with-perl-lib=%{_libdir}/silc/perl5 \
34            --enable-ipv6 --with-socks --with-perl=yes
35 make -j4
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 make DESTDIR=$RPM_BUILD_ROOT install
40 rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/5.6.0/i386-linux/perllocal.pod
41 rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr (-,root,root,-)
48 %{_bindir}/*
49 %{_libdir}/silc/perl5
50 %{_sysconfdir}/silc.conf
51 %{_mandir}/man1/*
52 %{_datadir}/silc
53 %doc CHANGES COPYING CREDITS README README.PLUGIN TODO doc/FAQ
54 %doc apps/irssi/docs/*.txt apps/irssi/docs/*.html
55
56 %changelog
57 * Sat Jun  2 2007 - Pekka Riikonen <priikone@silcnet.org>
58 - Initial version