From ce908d03ca9c39226e4a6f0e08fe6c0c1b21d887 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Fri, 17 May 2013 21:51:05 -0600 Subject: [PATCH] Add RPM spec file. Thanks to Florent Peterschmitt for this work. --- libstrophe.spec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libstrophe.spec diff --git a/libstrophe.spec b/libstrophe.spec new file mode 100644 index 0000000..06231c1 --- /dev/null +++ b/libstrophe.spec @@ -0,0 +1,32 @@ +Name: libstrophe +Version: 1 +Release: 1%{?dist}_git +Summary: xmpp library in C + +Group: Application/System +License: MIT/GPLv3 +URL: http://strophe.im/libstrophe/ +Source0: libstrophe_git.tar.gz + +BuildRequires: expat-devel +Requires: expat + +%description +XMPP library in C + +%prep +%setup -n libstrophe +./bootstrap.sh + +%build +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} + +%files +%{_libdir}/libstrophe.a +%{_includedir}/strophe.h + +%changelog