Name: libstrophe Version: 0.9.2 Release: 1%{?dist} Summary: XMPP library in C Group: Application/System License: MIT/GPLv3 URL: http://strophe.im/libstrophe/ Source0: https://github.com/strophe/libstrophe/releases/download/%{version}/libstrophe-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: expat-devel Requires: openssl Requires: expat %description XMPP library in C %package devel Summary: Headers and libraries for building apps that use libstrophe Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains headers and libraries required to build applications that use the strophe XMPP library. %prep %setup -n libstrophe-%{version} %build %configure make %{?_smp_mflags} %install %make_install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %ldconfig_scriptlets %files %defattr(-,root,root,-) %{_libdir}/libstrophe.so.0* %doc %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/libstrophe.pc %{_libdir}/libstrophe.so %{_includedir}/strophe.h %doc %changelog