gloox/gloox.spec

93 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: gloox
Version: 1.0.11
Release: 1mamba
Summary: A rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://camaya.net/gloox/
Source: http://camaya.net/download/gloox-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgnutls-devel
BuildRequires: libidn-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
gloox is a rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++. It makes writing spec-compliant clients easy and allows for hassle-free integration of Jabber/XMPP functionality into existing applications.
%package -n lib%{name}
Group: System/Libraries
Summary: A rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++
%description -n lib%{name}
gloox is a rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++. It makes writing spec-compliant clients easy and allows for hassle-free integration of Jabber/XMPP functionality into existing applications.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgloox.so.*
%doc AUTHORS COPYING LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/gloox-config
%dir %{_includedir}/gloox
%{_includedir}/gloox/*.h
%{_libdir}/libgloox.a
%{_libdir}/libgloox.la
%{_libdir}/libgloox.so
%{_libdir}/pkgconfig/gloox.pc
%doc ChangeLog README TODO
%changelog
* Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.11-1mamba
- update to 1.0.11
* Mon Nov 04 2013 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist
* Tue Sep 24 2013 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* Mon Jul 08 2013 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created by silvan using the webbuild interface