libgadu/libgadu.spec

105 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgadu
Version: 1.12.0
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
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
- automatic version update by autodist
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 1.11.4-1mamba
- automatic version update by autodist
* 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