Merged silc_1_1_branch to trunk.
[runtime.git] / apps / irssi / silc-client.spec.in
diff --git a/apps/irssi/silc-client.spec.in b/apps/irssi/silc-client.spec.in
new file mode 100644 (file)
index 0000000..962bb4b
--- /dev/null
@@ -0,0 +1,53 @@
+Summary: SILC Client
+Name: silc-client
+Version: SILC_VERSION
+Release: SILC_RELEASE
+License: GPL
+Group: Applications/Communications
+URL: http://silcnet.org/
+Source0: silc-client-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: silc-toolkit-devel
+Requires: silc-toolkit >= 1.1
+
+%description
+SILC (Secure Internet Live Conferencing) is a protocol which provides
+secure conferencing services on the Internet over insecure channel.
+SILC Client is used to connect to SILC server and SILC network.
+
+%prep
+%setup -q
+
+%build
+%configure --prefix=%{_prefix} \
+           --mandir=%{_mandir} \
+           --infodir=%{_infodir} \
+           --bindir=%{_bindir} \
+           --datadir=%{_datadir} \
+          --with-perl-lib=%{_libdir}/silc/perl5 \
+           --enable-ipv6 --with-socks --with-perl=yes
+make -j4
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT/%{_libdir}/silc/perl5/*/perllocal.pod
+mv $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client \
+  $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client-%version
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (755,root,root,755)
+%{_bindir}/*
+%{_libdir}/silc/perl5
+%defattr (644,root,root,755)
+%{_sysconfdir}/silc.conf
+%{_mandir}/man1/*
+%{_datadir}/silc
+%doc %{_datadir}/doc
+
+%changelog
+* Sun Jun  3 2007 - Pekka Riikonen <priikone@silcnet.org>
+- Initial version