Group :: System/Libraries
RPM: libircclient
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_enable ipv6
%def_enable openssl
Name: libircclient
Version: 1.10
Release: alt1
Summary: Library that implements the client-server IRC protocol
License: %lgpl2plus
Group: System/Libraries
URL: http://www.ulduzsoft.com/linux/libircclient/
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Patch2: libircclient-1.6-fedora-rfc.patch
# https://sourceforge.net/p/libircclient/bugs/24/
Patch3: debian-fix-ipv6-socaddr.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: gcc-c++
%{?_enable_openssl:BuildRequires: libssl-devel}
%define _unpackaged_files_terminate_build 1
%description
libircclient is a small but powerful library that implements the
client-server IRC protocol. It has all features needed to create your
own IRC client or bot, including multi-threading support, sync and async
interfaces, CTCP/DCC support, colors and so on.
%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %version-%release
%description devel
This package contains libraries and header files for
developing applications that use %name.
%prep
%setup
%patch -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="%optflags -fPIC"
%autoreconf
%configure \
--enable-shared \
%{subst_enable ipv6} \
%{subst_enable openssl}
%make_build
%install
%makeinstall_std
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%changelog
…
Full changelog you can see here
%def_enable openssl
Name: libircclient
Version: 1.10
Release: alt1
Summary: Library that implements the client-server IRC protocol
License: %lgpl2plus
Group: System/Libraries
URL: http://www.ulduzsoft.com/linux/libircclient/
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Patch2: libircclient-1.6-fedora-rfc.patch
# https://sourceforge.net/p/libircclient/bugs/24/
Patch3: debian-fix-ipv6-socaddr.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: gcc-c++
%{?_enable_openssl:BuildRequires: libssl-devel}
%define _unpackaged_files_terminate_build 1
%description
libircclient is a small but powerful library that implements the
client-server IRC protocol. It has all features needed to create your
own IRC client or bot, including multi-threading support, sync and async
interfaces, CTCP/DCC support, colors and so on.
%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %version-%release
%description devel
This package contains libraries and header files for
developing applications that use %name.
%prep
%setup
%patch -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="%optflags -fPIC"
%autoreconf
%configure \
--enable-shared \
%{subst_enable ipv6} \
%{subst_enable openssl}
%make_build
%install
%makeinstall_std
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%changelog
…
Full changelog you can see here