File mingw64-silc-toolkit.spec of Package mingw64-silc-toolkit
#
# spec file for package mingw64-silc-toolkit
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-silc-toolkit
Version: 1.1.10
Release: 0
Summary: Secure Internet Live Conferencing Software Development Toolkit
License: GPL-2.0-only or BSD-3-Clause
Group: Development/Libraries/C and C++
Url: http://www.silcnet.org/software/developers/toolkit/
Source0: ftp://ftp.silcnet.org/silc/toolkit/sources/silc-toolkit-%{version}.tar.bz2
Patch0: silc-toolkit-1.1.10-windows.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-libgnurx-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
SILC Toolkit is a software development toolkit which provides full SILC
protocol implementation for application developers. The SILC Toolkit
provides SILC Client Library, SILC Protocol Core Library, SILC Key
Exchange Library, SILC Crypto Library, SILC Math Library, SILC Utility
Library, as well as other libraries. The SILC Toolkit also includes a
full reference manual and developer guide with examples and tutorials.
SILC (Secure Internet Live Conferencing) is a protocol which provides
secure conferencing services on the Internet over insecure channels.
SILC is similar to IRC, as they both provide conferencing services and
almost have the same commands. However, they differ internally: unlike
IRC, SILC is secure and has an entirely different network model
compared to IRC.
%package devel
Summary: Secure Internet Live Conferencing Software Development Toolkit
Group: Development/Libraries/C and C++
%description devel
SILC Toolkit is a software development toolkit which provides full SILC
protocol implementation for application developers. The SILC Toolkit
provides SILC Client Library, SILC Protocol Core Library, SILC Key
Exchange Library, SILC Crypto Library, SILC Math Library, SILC Utility
Library, and other libraries. The SILC Toolkit also includes full
reference manual and developer guide with examples and tutorials.
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.
%package -n mingw64-libsilc-1-1-2
Summary: Secure Internet Live Conferencing Software Development Toolkit
Group: System/Libraries
Obsoletes: mingw64-libsilc
Provides: mingw64-libsilc
%description -n mingw64-libsilc-1-1-2
SILC Toolkit is a software development toolkit which provides full SILC
protocol implementation for application developers. The SILC Toolkit
provides SILC Client Library, SILC Protocol Core Library, SILC Key
Exchange Library, SILC Crypto Library, SILC Math Library, SILC Utility
Library, and other libraries. The SILC Toolkit also includes full
reference manual and developer guide with examples and tutorials.
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.
%package -n mingw64-libsilcclient-1-1-3
Summary: Secure Internet Live Conferencing Software Development Toolkit
Group: System/Libraries
Obsoletes: mingw64-libsilcclient
Provides: mingw64-libsilcclient
%description -n mingw64-libsilcclient-1-1-3
SILC Toolkit is a software development toolkit which provides full SILC
protocol implementation for application developers. The SILC Toolkit
provides SILC Client Library, SILC Protocol Core Library, SILC Key
Exchange Library, SILC Crypto Library, SILC Math Library, SILC Utility
Library, and other libraries. The SILC Toolkit also includes full
reference manual and developer guide with examples and tutorials.
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.
%_mingw64_debug_package
%prep
%setup -q -n silc-toolkit-%{version}
%patch -P 0 -p1 -b .mingw
%build
libtoolize --force --copy --install
autoreconf -fi
echo "lt_cv_deplibs_check_method=pass_all" >>%{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH" \
%{_mingw64_configure} \
--disable-static \
--with-win32 \
--without-pthreads
make %{?_smp_mflags} || make
# somehow this is needed for the modules to be built
# most probably a circular dependency that is not a good
# thing for windows builds
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_mingw64_libdir}/modules/*.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/*.h
%{_mingw64_libdir}/libsilc.dll.a
%{_mingw64_libdir}/libsilcclient.dll.a
%{_mingw64_libdir}/pkgconfig/silc.pc
%{_mingw64_libdir}/pkgconfig/silcclient.pc
%{_mingw64_docdir}/silc-toolkit/*
%files -n mingw64-libsilc-1-1-2
%defattr(-,root,root)
%{_mingw64_bindir}/libsilc-1-1-2.dll
%files -n mingw64-libsilcclient-1-1-3
%defattr(-,root,root)
%{_mingw64_bindir}/libsilcclient-1-1-3.dll
%changelog