70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
|
Name: libircclient
|
||
|
Version: 1.7
|
||
|
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
|
||
|
* Mon Jul 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-1mamba
|
||
|
- package created by silvan using the webbuild interface
|