Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > e99b983bbeabe3c1c0ba6064e9e5090f > files > 6

silc-client-0.9.5-1mdk.src.rpm

%define name silc-client
%define version 0.9.5
%define release 1mdk

Summary: Client for the secure Internet Live Conferencing (SILC) protocol
Name: %{name}
Version: %{version}
Release: %{release}
Source: ftp://ftp.silcnet.org/silc/client/sources/%{name}-%{version}.tar.bz2
Patch1: silc-client-0.9.5-aliases.patch.bz2
Patch2: silc-client-0.9.5-hostname.patch.bz2
Patch3: silc-client-0.9.5-nomime.patch.bz2
Patch4: silc-client-0.9.5-detach.patch.bz2
License: GPL
Group: Networking/Chat
URL: http://www.silcnet.org/
Requires: ncurses >= 5.2
BuildRequires: ncurses-devel >= 5.2
BuildRoot: %{_tmppath}/%{name}-buildroot

%description
SILC (Secure Internet Live Conferencing) is a protocol which provides
secure conferencing services on the Internet over insecure channel.
SILC is IRC-like software although internally they are very different.
The biggest similarity between SILC and IRC is that they both provide
conferencing services and that SILC has almost the same commands as IRC.
Other than that they are nothing alike.  Major differences are that SILC
is secure what IRC is not in any way.  The network model is also entirely
different compared to IRC.

%define _silcdatadir %{_datadir}/silc
%define _silclibdir %{_libdir}/silc
%define _silcetcdir %{_sysconfdir}/silc

%prep
%setup -q
%patch1 -p1 -b .aliases
%patch2 -p1 -b .fix
%patch3 -p1 -b .nomime
%patch4 -p0 -b .detach
chmod 644 CHANGES COPYING CREDITS README TODO doc/FAQ
chmod 644 doc/example_silcd.conf doc/silcalgs.conf doc/*.txt
chmod 644 irssi/docs/*.txt irssi/docs/*.html

%build
%configure --cache-file=`pwd`/config.cache --with-etcdir=%{_silcetcdir} \
--with-helpdir=%{_silcdatadir}/help --with-logsdir=%{_var}/log/silc \
--with-simdir=%{_silclibdir}/modules --disable-ipv6 --disable-debug \
--with-silcd-pid-file=%{_var}/run/silcd.pid \
--with-perl=module

# Set the built-in default perl module dir
# We don't care even if it doesn't exist yet
CC=$RPM_OPT_FLAGS make PERL_USE_LIB=%{_silclibdir}/perl5

%install
rm -rf "$RPM_BUILD_ROOT"
make install DESTDIR="$RPM_BUILD_ROOT" PREFIX="$RPM_BUILD_ROOT/usr"

# Now install the perl support related files
mkdir -p $RPM_BUILD_ROOT%{_silclibdir}
pushd $RPM_BUILD_ROOT%{_silclibdir}
mkdir perl5
cp -a $RPM_BUILD_ROOT/usr/lib/perl5/5.*/*linux*/* perl5
# clean unused files
rm -f perl5/perllocal.pod
find perl5 -name .packlist -exec rm -f '{}' \;
popd

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc CHANGES COPYING CREDITS README TODO doc/FAQ
%doc irssi/docs/signals.txt
%doc irssi/docs/formats.txt
%doc irssi/docs/manual.txt
%doc irssi/docs/startup-HOWTO.html

%{_bindir}/silc

%dir %{_silcdatadir}
%{_silcdatadir}/help
%{_silcdatadir}/scripts

%dir %{_silcdatadir}/themes
%config(noreplace) %{_silcdatadir}/themes/default.theme

%dir %{_silclibdir}
%{_silclibdir}/perl5
%{_silclibdir}/modules/libfe_perl.so
%{_silclibdir}/modules/libperl_core.so

%dir %{_silcetcdir}
%config(noreplace) %{_silcetcdir}/silc.conf

%changelog
* Tue Sep 17 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.9.5-1mdk 
- By Tibor Pittich <Tibor.Pittich@phuture.sk>
	- Added some user-friendly aliases
	- Removed some unsafe code from the original client
	- Also fixed temporarily the /detach bug [#24]
	- new version 0.9.5
	- Added a temporary fix for the "(null)" hostname bug

* Sat Jul 06 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.9.4-2mdk
- Fix summary (Tibor Pittich <Tibor.Pittich@phuture.sk>)

* Fri Jul 05 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.9.4-1mdk 
- From Tibor Pittich <Tibor.Pittich@phuture.sk>
	- First mdk package
- fix non %config

* Mon Jun 24 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.9.4

* Wed Jun 19 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.9.2

* Sat May 18 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.9.1

* Thu May 16 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.9

* Tue Apr 16 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8.6

* Sun Mar 31 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8.5

* Thu Mar 28 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8.4

* Wed Mar 27 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8.3
- Modularized Irssi perl support since it was causing too many troubles.

* Tue Mar 12 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8.1

* Sun Mar 10 2002 Calum Selkirk <cselkirk@panix.com>
- changed /5.6.0/i386-linux/* perl5 to /5.6.*/*linux*/* perl5
  to make it less arch and perl version specific

* Fri Mar  1 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Added another silc path alias

* Wed Feb 27 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.8
- Moved client help files to the datadir
- Added some Irssi documentation
- Added perl support related files
- Removed old buildfix patch, new config file style does not require it

* Sun Feb  3 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.7.6
- And then, updated package to version v0.7.6.1.

* Thu Jan 31 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.7.4
- And then, updated package to version v0.7.5. Hi Pekka! :-)

* Wed Jan 23 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Removed client config file patch (merged)
- Updated package to version v0.7.3

* Sat Jan  5 2002 Johnny Mnemonic <johnny@themnemonic.org>
- Fixed default client config file containing an unknown entry
- Updated package to version v0.7.2

* Thu Dec 20 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Removed shared modules from the client rpm
- Updated package to version v0.7.1

* Mon Dec 10 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated description text
- Updated source location to match new ftp tree
- Updated package to version v0.7
- Added two options to the configure command

* Wed Nov 14 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.6

* Sun Nov 11 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.5

* Wed Nov  7 2001 Johnny Mnemonic <johnny@themnemonic.org>
- removed some client unrelated documentation

* Sun Nov  4 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.4

* Tue Oct 30 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.3

* Mon Oct 29 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.2
- Fixed chmod permissions of doc files

* Tue Oct 23 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6.1

* Thu Oct 20 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Fixed a bug where the Makefile installer was checking if the
  non-chrooted file existed before installing the chrooted one
- Fixed the doclist adding also a patch-backup file

* Thu Oct 18 2001 Johnny Mnemonic <johnny@themnemonic.org>
- Updated package to version v0.6

* Tue Oct  4 2001 Johnny Mnemonic <johnny@themnemonic.org>
- First testing package v0.5.4