silc-client: rpm packaging updates
[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: libsilc-devel
11 Requires: libsilc >= 1.1
12
13 %description
14 SILC (Secure Internet Live Conferencing) is a modern and secure
15 conferencing protocol providing secure private messages, channel
16 messages and video and audio conferencing.  SILC Client is a
17 command line client used to connect to SILC server in SILC network.
18
19 %prep
20 %setup -q
21
22 %build
23 %configure --prefix=%{_prefix} \
24            --mandir=%{_mandir} \
25            --infodir=%{_infodir} \
26            --bindir=%{_bindir} \
27            --datadir=%{_datadir} \
28            --with-perl-lib=%{_libdir}/silc/perl5 \
29            --enable-ipv6 --with-socks --with-perl=yes
30 make -j4
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 make DESTDIR=$RPM_BUILD_ROOT install
35 rm -f $RPM_BUILD_ROOT/%{_libdir}/silc/perl5/*/perllocal.pod
36 mv $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client \
37   $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client-%version
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr (755,root,root,755)
44 %{_bindir}/*
45 %{_libdir}/silc/perl5
46 %defattr (644,root,root,755)
47 %{_sysconfdir}/silc.conf
48 %{_mandir}/man1/*
49 %{_datadir}/silc
50 %doc %{_datadir}/doc
51
52 %changelog
53 * Sun Jun  3 2007 - Pekka Riikonen <priikone@silcnet.org>
54 - Initial version