updates.
[runtime.git] / apps / irssi / silc-client.spec.in
index c4c1afd1b64e7389874a8c490cf29c8d46fe4da9..962bb4b10044319124e4af929f689d881f75634d 100644 (file)
@@ -13,13 +13,7 @@ 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.  More
-information at http://silcnet.org/.
-
-# Need this because the irssi's configure we run from silc-client
-# configure somehow installs some of the files to location where I don't
-# know how to reach them.
-%define _unpackaged_files_terminate_build 0
+SILC Client is used to connect to SILC server and SILC network.
 
 %prep
 %setup -q
@@ -37,22 +31,23 @@ make -j4
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
-rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/5.6.0/i386-linux/perllocal.pod
-rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/silc-client
+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 (-,root,root,-)
+%defattr (755,root,root,755)
 %{_bindir}/*
 %{_libdir}/silc/perl5
+%defattr (644,root,root,755)
 %{_sysconfdir}/silc.conf
 %{_mandir}/man1/*
 %{_datadir}/silc
-%doc CHANGES COPYING CREDITS README README.PLUGIN TODO doc/FAQ
-%doc apps/irssi/docs/*.txt apps/irssi/docs/*.html
+%doc %{_datadir}/doc
 
 %changelog
-* Sat Jun  2 2007 - Pekka Riikonen <priikone@silcnet.org>
+* Sun Jun  3 2007 - Pekka Riikonen <priikone@silcnet.org>
 - Initial version