Blob Blame History Raw
Name:           flxmlrpc
Version:        0.1.4
Release:        1%{?dist}
Summary:        An xmlrpc library for the NBEMS suite of programs

License:        LGPLv3+
URL:            http://www.w1hkj.com
Source0:        http://www.w1hkj.com/xmlrpc-mods/%{name}-%{version}.tar.gz

# Only needed if building from git checkout.
#BuildRequires:  autoconf automake libtool

%description
This is version %{version} of flxmlrpc, an implementation of the XmlRpc protocol
written in C++, based upon XmlRpc++0.7 and modified to provide additional XmlRpc
Variable types.  It is used in fldigi, flrig, flnet, flmsg, flarq, flamp, fllog;
a suite of programs written for amateur radio emergency communications.

flxmlrpc is designed to make it easy to incorporate xmlrpc client and server
support into C++ applications. Or use both client and server objects in your 
application for easy peer-to-peer support.


%package        devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
if [ ! -f configure ]
then autoreconf -fi
fi
%configure --disable-static
make %{?_smp_mflags}


%install
%make_install
find %{buildroot}%{_libdir} -name "*.la" -exec rm -f {} \;


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig


%files
%if 0%{?rhel} || 0%{?fedora} < 21
%doc COPYING
%else
%license COPYING
%endif
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/*.so.*

%files devel
%{_includedir}/%{name}/
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc


%changelog
* Tue May  5 2015 Richard Shaw <hobbes1069@gmail.com> - 0.1.4-1
- Update to latest upstream release.

* Thu Apr 23 2015 Richard Shaw <hobbes1069@gmail.com> - 0.1.3-1
- Upstream moved headers into a named subdirectory.

* Mon Apr 20 2015 Richard Shaw <hobbes1069@gmail.com> - 0.1.2-1
- Initial packaging.