|
|
0fef1f1 |
%define with_ssl 1
|
|
|
0fef1f1 |
%define gnutls_ver 1.4.0
|
|
|
1c040a0 |
|
|
|
1c040a0 |
Name: loudmouth
|
|
|
3e26d59 |
Version: 1.4.3
|
|
|
7ca0220 |
Release: 14%{?dist}
|
|
|
51cbfff |
Summary: XMPP/Jabber C programming library
|
|
|
1c040a0 |
|
|
|
1c040a0 |
Group: System Environment/Libraries
|
|
|
e7abb91 |
License: LGPLv2+
|
|
|
0fef1f1 |
URL: http://www.loudmouth-project.org/
|
|
|
0fef1f1 |
Source0: http://ftp.imendio.com/pub/imendio/%{name}/src/%{name}-%{version}.tar.bz2
|
|
|
f51f083 |
Patch0: %{name}-1.4.3-certs_location.patch
|
|
|
f51f083 |
Patch1: %{name}-1.4.3-async_assertion.patch
|
|
|
6cc5a1d |
Patch2: %{name}-1.4.3-fix-sasl-md5-digest-uri.patch
|
|
|
94aa1e2 |
Patch3: 0001-Drop-stanzas-when-failing-to-convert-them-to-LmMessa.patch
|
|
Daniel Drake |
7c6680f |
Patch4: %{name}-1.4.3-glib-compile-fix.patch
|
|
|
1c040a0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1c040a0 |
|
|
|
1c040a0 |
BuildRequires: glib2-devel >= 2.4.0
|
|
|
f12a650 |
BuildRequires: check-devel
|
|
|
06b8631 |
BuildRequires: libidn-devel
|
|
|
eee3c0a |
BuildRequires: libasyncns-devel
|
|
|
1c040a0 |
%if %{with_ssl}
|
|
|
0fef1f1 |
BuildRequires: gnutls-devel >= %{gnutls_ver}
|
|
|
1c040a0 |
%endif
|
|
|
1c040a0 |
|
|
|
939a3dd |
|
|
|
1c040a0 |
%description
|
|
|
1c040a0 |
Loudmouth is a lightweight and easy-to-use C library for programming
|
|
|
51cbfff |
with the XMPP/Jabber protocol. It's designed to be easy to get started
|
|
|
51cbfff |
with and yet extensible to let you do anything the XMPP protocol allows.
|
|
|
1c040a0 |
|
|
|
939a3dd |
|
|
|
1c040a0 |
%package devel
|
|
|
355043f |
Summary: Development files for %{name}
|
|
|
1c040a0 |
Group: Development/Libraries
|
|
|
1c040a0 |
Requires: %{name} = %{version}-%{release}
|
|
|
f014fa0 |
Requires: glib2-devel
|
|
|
717954d |
Requires: libidn-devel
|
|
|
939a3dd |
Requires: pkgconfig
|
|
|
f12a650 |
%if %{with_ssl}
|
|
|
0fef1f1 |
Requires: gnutls-devel >= %{gnutls_ver}
|
|
|
f12a650 |
%endif
|
|
|
1c040a0 |
|
|
|
939a3dd |
|
|
|
1c040a0 |
%description devel
|
|
|
355043f |
The %{name}-devel package contains libraries and header files for
|
|
|
355043f |
developing applications that use %{name}.
|
|
|
1c040a0 |
|
|
|
939a3dd |
|
|
|
1c040a0 |
%prep
|
|
|
1c040a0 |
%setup -q
|
|
|
f51f083 |
%patch0 -p1 -b .certs
|
|
|
f51f083 |
%patch1 -p1 -b .async
|
|
|
6cc5a1d |
%patch2 -p1 -b .uri
|
|
|
94aa1e2 |
%patch3 -p1 -b .stanza
|
|
Daniel Drake |
7c6680f |
%patch4 -p1 -b .glibincl
|
|
|
1c040a0 |
|
|
|
3ea5f20 |
|
|
|
1c040a0 |
%build
|
|
|
0fef1f1 |
%configure --enable-static=no \
|
|
|
eee3c0a |
--with-asyncns=yes \
|
|
|
1c040a0 |
%if %{with_ssl}
|
|
|
06b8631 |
--with-ssl=gnutls
|
|
|
1c040a0 |
%else
|
|
|
1c040a0 |
--with-ssl=no
|
|
|
1c040a0 |
%endif
|
|
|
1c040a0 |
|
|
|
1c040a0 |
make %{?_smp_mflags}
|
|
|
1c040a0 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%install
|
|
|
1c040a0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1c040a0 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
62fba59 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
1c040a0 |
|
|
|
0fef1f1 |
# Copy the files from the tarball to avoid the IDs generated by gtk-doc being
|
|
|
0fef1f1 |
# different on different builds
|
|
|
0fef1f1 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
|
|
|
0fef1f1 |
cp -a docs/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
|
|
|
0fef1f1 |
|
|
|
0fef1f1 |
|
|
|
0fef1f1 |
%check
|
|
|
0fef1f1 |
make check
|
|
|
0fef1f1 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%clean
|
|
|
1c040a0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1c040a0 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%post -p /sbin/ldconfig
|
|
|
1c040a0 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%postun -p /sbin/ldconfig
|
|
|
1c040a0 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%files
|
|
|
1c040a0 |
%defattr(-,root,root,-)
|
|
|
1c040a0 |
%doc ChangeLog NEWS README COPYING
|
|
|
1c040a0 |
%{_libdir}/libloudmouth*.so.*
|
|
|
1c040a0 |
|
|
|
72381ee |
|
|
|
1c040a0 |
%files devel
|
|
|
1c040a0 |
%defattr(-,root,root,-)
|
|
|
1c040a0 |
%{_libdir}/libloudmouth*.so
|
|
|
72381ee |
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
1c040a0 |
%{_includedir}/%{name}-1.0
|
|
|
1c040a0 |
%{_datadir}/gtk-doc/html/%{name}
|
|
|
1c040a0 |
|
|
|
1c040a0 |
|
|
|
1c040a0 |
%changelog
|
|
|
7ca0220 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-14
|
|
|
7ca0220 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7ca0220 |
|
|
|
d3d4412 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-13
|
|
|
d3d4412 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d3d4412 |
|
|
|
7d85b5a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-12
|
|
|
7d85b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7d85b5a |
|
|
|
f0e491d |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-11
|
|
|
f0e491d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f0e491d |
|
|
Daniel Drake |
7c6680f |
* Wed Mar 7 2012 Daniel Drake <dsd@laptop.org> - 1.4.3-10
|
|
Daniel Drake |
7c6680f |
- Fix compile against new glib
|
|
Daniel Drake |
7c6680f |
|
|
|
c028375 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-9
|
|
|
c028375 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c028375 |
|
|
|
16261d2 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-8
|
|
|
16261d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
16261d2 |
|
|
|
94aa1e2 |
* Sun Nov 15 2009 Brian Pepple <bpepple@fedoraproject.org> - 1.4.3-7
|
|
|
94aa1e2 |
- Add patch to fix parser that stops on certain stanzas. (#509341)
|
|
|
94aa1e2 |
|
|
|
ed9842d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-6
|
|
|
ed9842d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ed9842d |
|
|
|
6cc5a1d |
* Fri Jun 12 2009 Brian Pepple <bpepple@fedoraproject.org> - 1.4.3-5
|
|
|
6cc5a1d |
- Add patch to fix digest uri bug. (#503901)
|
|
|
6cc5a1d |
|
|
|
c6f48aa |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.3-4
|
|
|
c6f48aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c6f48aa |
|
|
|
f51f083 |
* Fri Nov 28 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.3-3
|
|
|
f51f083 |
- Add patch to search correct location for ssl certs. (#473458)
|
|
|
f51f083 |
- Add patch to fix async assertion. (#473436)
|
|
|
f51f083 |
|
|
|
51cbfff |
* Sat Nov 22 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.3-2
|
|
|
51cbfff |
- Simplify sumary & description.
|
|
|
51cbfff |
|
|
|
3e26d59 |
* Sun Nov 9 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.3-1
|
|
|
3e26d59 |
- Update to 1.4.3.
|
|
|
3e26d59 |
|
|
|
eee3c0a |
* Thu Aug 28 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.2-1
|
|
|
eee3c0a |
- Update to 1.4.2.
|
|
|
eee3c0a |
- Enable libasyncns support.
|
|
|
eee3c0a |
|
|
|
3c3c6f8 |
* Sat Aug 2 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.1-1
|
|
|
3c3c6f8 |
- Update to 1.4.1.
|
|
|
3c3c6f8 |
|
|
|
94d93d6 |
* Wed Jun 25 2008 Tomas Mraz <tmraz@redhat.com> - 1.4.0-2
|
|
|
94d93d6 |
- rebuild with new gnutls
|
|
|
94d93d6 |
|
|
|
0c48b13 |
* Tue Jun 10 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.4.0-1
|
|
|
0c48b13 |
- Update to 1.4.0.
|
|
|
0c48b13 |
|
|
|
0fef1f1 |
* Wed Apr 2 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.3.4-1
|
|
|
0fef1f1 |
- Update to 1.3.4.
|
|
|
0fef1f1 |
- Run check test.
|
|
|
0fef1f1 |
- Bump min version needed for gnutls-devel.
|
|
|
0fef1f1 |
- Drop stream-error.patch. Fixed upstream.
|
|
|
0fef1f1 |
- Drop eai-nodata.patch. Fixed upstream.
|
|
|
0fef1f1 |
- Drop connect-fail-sync.patch. Fixed upstream.
|
|
|
0fef1f1 |
- Drop connect-fail-async patch. Fixed upstream.
|
|
|
0fef1f1 |
- Update URL & Source URL.
|
|
|
0fef1f1 |
- Don't generate the gtk-doc docs, and use the ones in the tarball
|
|
|
0fef1f1 |
to avoid having different files in different builds, fixes
|
|
|
0fef1f1 |
multilib problems (#342551)
|
|
|
0fef1f1 |
|
|
|
797e886 |
* Thu Feb 21 2008 Owen Taylor <otaylor@redhat.com> - 1.3.3-4
|
|
|
797e886 |
- Fix build with recent GNU libc
|
|
|
797e886 |
|
|
|
d18ab11 |
* Thu Feb 7 2008 Owen Taylor <otaylor@redhat.com> - 1.3.3-3
|
|
|
d18ab11 |
- Add patches fixing reentrancy problems on connection failure
|
|
|
d18ab11 |
|
|
|
3ea5f20 |
* Wed Jan 30 2008 Owen Taylor <otaylor@redhat.com> - 1.3.3-2
|
|
|
3ea5f20 |
- Add back stream-error patch, it wasn't fixed in the 1.3 branch
|
|
|
3ea5f20 |
|
|
|
5b7f95f |
* Fri Jan 18 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.3.3-1
|
|
|
5b7f95f |
- Update to 1.3.3.
|
|
|
5b7f95f |
- Drop reconnect-failure patch.
|
|
|
5b7f95f |
- Drop gnutls compression patch. fixed upstream.
|
|
|
5b7f95f |
|
|
|
5a14041 |
* Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-6
|
|
|
5a14041 |
- Ugh. Let's acutally use a valid e-mail addy.
|
|
|
5a14041 |
|
|
|
5a14041 |
* Thu Nov 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-5
|
|
|
d41827d |
- Add patch to use gnutls compression.
|
|
|
d41827d |
|
|
|
b5c3125 |
* Mon Nov 12 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-4
|
|
|
b5c3125 |
- Add reconnect-failure patch. Thanks to Robert McQueen.
|
|
|
b5c3125 |
|
|
|
68fd1a5 |
* Tue Aug 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-3
|
|
|
68fd1a5 |
- Rebuild.
|
|
|
68fd1a5 |
|
|
|
e7abb91 |
* Sun Aug 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-2
|
|
|
e7abb91 |
- Update license tag.
|
|
|
e7abb91 |
|
|
|
a1eb7e8 |
* Sun Jun 10 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.3-1
|
|
|
a1eb7e8 |
- Update to 1.2.3.
|
|
|
a1eb7e8 |
- Drop stream-error patch. fixed upstream.
|
|
|
a1eb7e8 |
|
|
|
8835b6f |
* Wed May 16 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.2-3
|
|
|
8835b6f |
- Add patch to fix stream error.
|
|
|
8835b6f |
|
|
|
2b7134f |
* Tue May 15 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.2-2
|
|
|
2b7134f |
- Drop BR on libtasn1-devel.
|
|
|
2b7134f |
|
|
|
2a59540 |
* Mon May 14 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.2-1
|
|
|
2a59540 |
- Update to 1.2.2.
|
|
|
2a59540 |
|
|
|
1a0d5be |
* Sat Feb 24 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.1-2
|
|
|
1a0d5be |
- Fix typo.
|
|
|
1a0d5be |
|
|
|
5b3276c |
* Sat Feb 24 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.1-1
|
|
|
5b3276c |
- Update to 1.2.1.
|
|
|
5b3276c |
|
|
|
717954d |
* Tue Feb 20 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.0-3
|
|
|
717954d |
- Add necessary requires to devel package. D'Oh!
|
|
|
717954d |
|
|
|
06b8631 |
* Tue Feb 20 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.0-2
|
|
|
06b8631 |
- Add BR on libidn-devel.
|
|
|
06b8631 |
- Specify which ssl implementation to use.
|
|
|
06b8631 |
|
|
|
62fba59 |
* Mon Feb 5 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.0-1
|
|
|
62fba59 |
- Update to 1.2.0.
|
|
|
62fba59 |
- Drop mono config option since it's been dropped from the tarball.
|
|
|
62fba59 |
|
|
|
e51a4ba |
* Mon Sep 11 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.0.5-2
|
|
|
e51a4ba |
- Change source to .gz.
|
|
|
e51a4ba |
|
|
|
556c5b5 |
* Mon Sep 11 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.0.5-1
|
|
|
556c5b5 |
- Update to 1.0.5.
|
|
|
556c5b5 |
|
|
|
355043f |
* Tue Aug 29 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.0.4-3
|
|
|
355043f |
- Rebuild for FC6.
|
|
|
355043f |
- Simplify devel description.
|
|
|
355043f |
|
|
|
939a3dd |
* Thu Jun 29 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.0.4-2
|
|
|
939a3dd |
- Update to 1.0.4.
|
|
|
939a3dd |
- Add devel requires on pkgconfig.
|
|
|
939a3dd |
- Drop reentrancy patch, fixed upstream.
|
|
|
939a3dd |
|
|
|
7484dc4 |
* Thu Jun 15 2006 Jeremy Katz <katzj@redhat.com> - 1.0.3-5
|
|
|
7484dc4 |
- rebuild for new gnutls
|
|
|
7484dc4 |
|
|
|
72381ee |
* Fri May 26 2006 Brian Pepple <bdpepple@ameritech.net> - 1.0.3-4
|
|
|
72381ee |
- Add patch to fix some reentrancy crashes. (Thanks, Havoc)
|
|
|
72381ee |
|
|
|
f12a650 |
* Wed Apr 5 2006 Brian Pepple <bdpepple@ameritech.net> - 1.0.3-3
|
|
|
f12a650 |
- Update to 1.0.3.
|
|
|
f12a650 |
- Add BR for gnutls-devel to devel package.
|
|
|
f12a650 |
- Disable static libs.
|
|
|
f12a650 |
- Add BR for check-devel.
|
|
|
f12a650 |
|
|
|
d2ee626 |
* Thu Feb 16 2006 Brian Pepple <bdpepple@ameritech.net> - 1.0.1-6
|
|
|
d2ee626 |
- Remove unnecessary BR (libgcrypt-devel).
|
|
|
d2ee626 |
|
|
|
6f4c434 |
* Mon Feb 13 2006 Brian Pepple <bdpepple@ameritech.net> - 1.0.1-5
|
|
|
6f4c434 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
6f4c434 |
|
|
|
3e1ab26 |
* Mon Dec 26 2005 Brian Pepple <bdpepple@ameritech.net> - 1.0.1-4
|
|
|
3e1ab26 |
- Rebuild.
|
|
|
3e1ab26 |
|
|
|
580bf33 |
* Wed Aug 31 2005 Brian Pepple <bdpepple@ameritech.net> - 1.0.1-3
|
|
|
580bf33 |
- Update to 1.0.1.
|
|
|
580bf33 |
|
|
|
0892eeb |
* Sun Aug 14 2005 Brian Pepple <bdpepple@ameritech.net> - 1.0-2
|
|
|
0892eeb |
- Update to 1.0.
|
|
|
0892eeb |
|
|
|
a0a830c |
* Mon Aug 8 2005 Brian Pepple <bdpepple@ameritech.net> - 0.90-5
|
|
|
a0a830c |
- Rebuild due to new gnutls.
|
|
|
a0a830c |
|
|
|
8ee0e18 |
* Sat Jul 30 2005 Brian Pepple <bdpepple@ameritech.net> - 0.90-4
|
|
|
8ee0e18 |
- Fix description.
|
|
|
8ee0e18 |
|
|
|
aca4466 |
* Fri May 13 2005 Brian Pepple <bdpepple@ameritech.net> - 0.90-2
|
|
|
aca4466 |
- Add dist tag.
|
|
|
aca4466 |
|
|
|
e24ca55 |
* Fri May 13 2005 Brian Pepple <bdpepple@ameritech.net> - 0.90-1
|
|
|
e24ca55 |
- Update to 0.9.
|
|
|
e24ca55 |
|
|
|
f014fa0 |
* Thu May 5 2005 Brian Pepple <bdpepple@ameritech.net> - 0.17.2-3
|
|
|
f014fa0 |
- Adde glib2-devel requires.
|
|
|
f014fa0 |
|
|
|
1c040a0 |
* Thu May 5 2005 Brian Pepple <bdpepple@ameritech.net> - 0.17.2-2
|
|
|
1c040a0 |
- added %%{_includedir}.
|
|
|
1c040a0 |
- Add libgcrypt-devel BR.
|
|
|
1c040a0 |
|
|
|
1c040a0 |
* Sun May 1 2005 Brian Pepple <bdpepple@ameritech.net> - 0.17.2-1
|
|
|
1c040a0 |
- Initial Fedora build.
|
|
|
1c040a0 |
|