74 lines
2.3 KiB
RPMSpec
74 lines
2.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: libloudmouth
|
|
Version: 1.4.3
|
|
Release: 2mamba
|
|
Summary: An asynchronous XMPP library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://groups.google.com/group/loudmouth-dev
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/loudmouth/%{majver}/loudmouth-%{version}.tar.bz2
|
|
Patch0: %{name}-1.4.3-glib-2.32.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libidn-devel
|
|
BuildRequires: libtasn1-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP protocol. It's designed to be easy to get started with and yet extensible to let you do anything the XMPP protocol allows.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP protocol. It's designed to be easy to get started with and yet extensible to let you do anything the XMPP protocol allows.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n loudmouth-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure --disable-debug
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libloudmouth-1.so.*
|
|
%doc AUTHORS COPYING ChangeLog NEWS README README.WIN32
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/loudmouth-1.0/loudmouth/*.h
|
|
%{_libdir}/libloudmouth-1.a
|
|
%{_libdir}/libloudmouth-1.la
|
|
%{_libdir}/libloudmouth-1.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_datadir}/gtk-doc/html/loudmouth
|
|
%{_datadir}/gtk-doc/html/loudmouth/*
|
|
|
|
%changelog
|
|
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-2mamba
|
|
- added glib >= 2.32 patch
|
|
|
|
* Thu Jan 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
|
|
- package created by autospec
|