File libgadu.spec of Package libgadu
#
# spec file for package libgadu (Version 1.8.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libgadu
Summary: Library for Handling of Gadu-Gadu Instant Messaging
Version: 1.8.2
Release: 2
License: LGPL v2.1 or later
Group: System/Libraries
Url: http://toxygen.net/libgadu/
Source: %{name}-%{version}.tar.bz2
BuildRequires: openssl-devel pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libgadu is a library for handling of protocol of a popular Polish
instant messenger Gadu-Gadu.
Authors:
--------
Wojtek Kaniewski
%package devel
Group: System/Libraries
Summary: Library for Handling of Gadu-Gadu Instant Messaging
License: LGPL v2.1 or later
Requires: %{name} = %{version} glibc-devel
%description devel
libgadu is a library for handling of protocol of a popular Polish
instant messenger Gadu-Gadu.
Authors:
--------
Wojtek Kaniewski
%prep
%setup -q
%build
autoreconf -f -i
%configure\
--disable-static\
--with-pthread
make %{?jobs:-j%jobs}
%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
# AUTHORS NEWS README are empty
%doc COPYING
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog