Updates to rpm/libstrophe.spec
This commit is contained in:
committed by
Dmitry Podgorny
parent
f364ed184b
commit
29fa1bf27e
@@ -8,12 +8,23 @@ License: MIT/GPLv3
|
||||
URL: http://strophe.im/libstrophe/
|
||||
Source0: libstrophe_git.tar.gz
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: expat-devel
|
||||
Requires: expat
|
||||
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
|
||||
./bootstrap.sh
|
||||
@@ -25,8 +36,18 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libstrophe.a
|
||||
%doc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/strophe.h
|
||||
%doc
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user