Name: silc-toolkit Version: 1.1.12 Release: 1mamba Summary: Secure Internet Live Conferencing protocol development toolkit Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://silcnet.org/ Source: https://downloads.sourceforge.net/project/silc/silc/toolkit/sources/silc-toolkit-%{version}.tar.bz2 Patch0: silc-1.0.2-fixdestdir.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END %description SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC. The Toolkit includes SILC Protocol Core library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library, SILC Modules (SIM) library, SILC Utility library, SILC Client library and few other libraries. %package -n libsilc Summary: Libraries from the SILC Toolkit Group: System/Libraries Obsoletes: silc <= 1.1.10 %description -n libsilc SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC. The Toolkit includes SILC Protocol Core library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library, SILC Modules (SIM) library, SILC Utility library, SILC Client library and few other libraries. %package -n libsilc-devel Summary: Devel package for libsilc Group: Development/Libraries Requires: libsilc = %{version}-%{release} %description -n libsilc-devel SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC. This package contains static libraries and header files needed for development. %package doc Summary: Documentation for %{name} Group: Documentation Requires: libsilc = %{version}-%{release} Provides: libsilc-doc Obsoletes: libsilc-doc <= 1.1.10 Provides: silc-doc Obsoletes: silc-doc <= 1.1.10 %description doc SILC Toolkit is a package intended for software developers who would like to develop their own SILC based applications or help in the development of the SILC. The SILC Toolkit documentation in HTML format. Useful for writing new SILC applications. %debug_package %prep [ "%{buildroot}" != / ] && rm -rf %{buildroot} %setup -q #%patch0 -p1 %define _use_internal_dependency_generator 0 %define __find_provides %{_builddir}/silc-toolkit-%{version}/find_provides.sh cat > find_provides.sh << _EOF #! /bin/sh grep -v %{buildroot}%{_libdir}/silc/modules|\ %{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} _EOF chmod +x find_provides.sh %build %configure \ --includedir=%{_includedir}/silc \ --with-docdir=%{_docdir}/%{name}-%{version} \ --with-helpdir=%{_docdir}/%{name}-%{version}/help \ --with-logsdir=%{_localstatedir}/log \ --with-simdir=%{_libdir}/silc/modules \ --with-silcd-pid-file="%{_localstatedir}/run/silcd.pid" \ --enable-shared \ --with-irssi \ --with-silcd %make -j1 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall \ helpdir=%{_docdir}/%{name}-%{version}/help # FIX build time path references in *.la files sed -i "s|-L%{_builddir}/%{name}-%{version}/lib||" %{buildroot}%{_libdir}/*.la # cleanup unpackaged files find %{buildroot}%{_libdir} \ -type f \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n libsilc %defattr(-,root,root) %{_libdir}/libsilc-1.1.so.* %{_libdir}/libsilcclient-1.1.so.* %dir %_libdir/silc %dir %_libdir/silc/modules %{_libdir}/silc/modules/*.so #%{_mandir}/man1/silc.* %files -n libsilc-devel %defattr(-,root,root) %{_libdir}/libsilc.so %{_libdir}/libsilc.a %{_libdir}/libsilc.la %{_libdir}/libsilcclient.so %{_libdir}/libsilcclient.a %{_libdir}/libsilcclient.la %{_libdir}/pkgconfig/silc.pc %{_libdir}/pkgconfig/silcclient.pc %dir %_includedir/silc %{_includedir}/silc/*.h %files doc %defattr(-,root,root) %dir %{_docdir}/%{name} %{_docdir}/%{name}/* %changelog * Sun Dec 26 2021 Silvan Calarco 1.1.12-1mamba - update to 1.1.12 * Thu Aug 01 2013 Automatic Build System 1.1.10-2mamba - automatic rebuild by autodist * Sun Aug 16 2009 Automatic Build System 1.1.10-1mamba - automatic update by autodist * Sun Mar 08 2009 Silvan Calarco 1.1.9-1mamba - automatic update by autodist * Wed Jan 07 2009 Silvan Calarco 1.1.8-1mamba - automatic update by autodist * Thu Jun 12 2008 Silvan Calarco 1.1.7-1mamba - update to 1.1.7 - renamed to silc-toolkit - server and client packages need to be built apart when needed - libsilc obsoletes silc * Tue May 08 2007 Silvan Calarco 1.0.2-2mamba - rebuilt * Sun Jan 01 2006 Silvan Calarco 1.0.2-1qilnx - update to version 1.0.2 by autospec - enabled client server build support * Tue Mar 08 2005 Davide Madrisan 0.9.12-3qilnx - fixed missing %%defattr string in the doc package * Tue Feb 08 2005 Silvan Calarco 0.9.12-2qilnx - fixed incorrect provides for some libraries * Wed Oct 27 2004 Davide Madrisan 0.9.12-1qilnx - package created by autospec