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