Updates to rpm/libstrophe.spec

This commit is contained in:
Kristofer White
2013-11-18 18:07:13 +00:00
committed by Dmitry Podgorny
parent f364ed184b
commit 29fa1bf27e

View File

@@ -8,12 +8,23 @@ License: MIT/GPLv3
URL: http://strophe.im/libstrophe/ URL: http://strophe.im/libstrophe/
Source0: libstrophe_git.tar.gz Source0: libstrophe_git.tar.gz
BuildRequires: automake
BuildRequires: openssl-devel
BuildRequires: expat-devel BuildRequires: expat-devel
Requires: expat Requires: expat
%description %description
XMPP library in C 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 %prep
%setup -n libstrophe %setup -n libstrophe
./bootstrap.sh ./bootstrap.sh
@@ -25,8 +36,18 @@ make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-)
%{_libdir}/libstrophe.a %{_libdir}/libstrophe.a
%doc
%files devel
%defattr(-,root,root,-)
%{_includedir}/strophe.h %{_includedir}/strophe.h
%doc
%changelog %changelog