99 lines
2.7 KiB
RPMSpec
99 lines
2.7 KiB
RPMSpec
Name: libgadu
|
|
Version: 1.11.3
|
|
Release: 1mamba
|
|
Summary: A library providing support for Gadu-Gadu protocol
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://toxygen.net/libgadu/
|
|
Source: https://github.com/wojtekka/libgadu/releases/download/%{version}/libgadu-%{version}.tar.gz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libopenssl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A library providing support for Gadu-Gadu protocol.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
A library providing support for Gadu-Gadu protocol.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
# Output from Pidgin configure:
|
|
#libgadu is not compatible with the GPL when compiled with OpenSSL support.
|
|
#To compile against system libgadu, please recompile libgadu using:
|
|
#./autogen.sh --disable-libgadu-openssl --disable-static --enable-shared
|
|
#Then rerun this ./configure
|
|
|
|
%build
|
|
%configure \
|
|
--with-pthread \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--without-openssl
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgadu.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
#%{_libdir}/libgadu.a
|
|
%{_libdir}/libgadu.la
|
|
%{_libdir}/libgadu.so
|
|
%dir %{_includedir}
|
|
%{_includedir}/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11.3-1mamba
|
|
- update to 1.11.3
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jun 18 2011 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jan 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
|
|
- rebuilt without OpenSSL support for GPL compatibility
|
|
|
|
* Sun Oct 10 2010 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat May 15 2010 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Nov 14 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.8.2-2mamba
|
|
- rebuilt with pthreads support
|
|
|
|
* Fri Sep 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-1mamba
|
|
- package created by autospec
|
|
|