X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fsilc-server.spec.in;fp=apps%2Fsilcd%2Fsilc-server.spec.in;h=060ea61e9bec4691d87c92cd78a1071d6298e7f5;hp=0000000000000000000000000000000000000000;hb=805fddcf6431e784f9f77114782a90c9d12f9cbe;hpb=faa97fdb56d0b85042a5d0149b73ce7022f04398 diff --git a/apps/silcd/silc-server.spec.in b/apps/silcd/silc-server.spec.in new file mode 100644 index 00000000..060ea61e --- /dev/null +++ b/apps/silcd/silc-server.spec.in @@ -0,0 +1,51 @@ +Summary: SILC Server +Name: silc-server +Version: SILC_VERSION +Release: SILC_RELEASE +License: GPL +Group: Applications/Communications +URL: http://silcnet.org/ +Source0: silc-server-%{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. + +%prep +%setup -q + +%build +%configure --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --bindir=%{_bindir} \ + --sbindir=%{_sbindir} \ + --datadir=%{_datadir} \ + --enable-ipv6 +make -j4 + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +mv $RPM_BUILD_ROOT/%{_datadir}/doc/silc-server \ + $RPM_BUILD_ROOT/%{_datadir}/doc/silc-server-%version + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr (755,root,root,755) +%{_sbindir}/* +%defattr (644,root,root,755) +%{_sysconfdir}/silcd.conf +%{_sysconfdir}/silcalgs.conf +%{_mandir}/man5/* +%{_mandir}/man8/* +%doc %{_datadir}/doc + +%changelog +* Sun Nov 18 2007 - Pekka Riikonen +- Initial version