libircclient/libircclient.spec

76 lines
2.2 KiB
RPMSpec

Name: libircclient
Version: 1.9
Release: 1mamba
Summary: A small but extremely powerful library which implements the client IRC protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ulduzsoft.com/libircclient/
Source: http://downloads.sourceforge.net/project/libircclient/libircclient/%{version}/libircclient-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libircclient is a small but extremely powerful library which implements the client IRC protocol. It is designed to be small, fast, portable and compatible with the RFC standards as well as non-standard but popular features. It is perfect for building the IRC clients and bots.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-shared \
--enable-ipv6 \
--enable-openssl
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libircclient.so.*
%doc LICENSE THANKS
%files devel
%defattr(-,root,root)
%{_includedir}/libirc_errors.h
%{_includedir}/libirc_events.h
%{_includedir}/libirc_options.h
%{_includedir}/libirc_rfcnumeric.h
%{_includedir}/libircclient.h
%{_libdir}/libircclient.so
%doc README
%changelog
* Thu Sep 22 2016 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.8-1mamba
- automatic update by autodist
* Mon Jul 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-1mamba
- package created by silvan using the webbuild interface