summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLink Dupont <link@fastmail.com>2016-06-22 21:16:07 -0700
committerLink Dupont <link@fastmail.com>2016-06-22 21:16:07 -0700
commitc14153a06fbd78f864b7a3e62740c8abf2ab38e3 (patch)
treecce9896f5ecb548e55fb13d349f1f9993a54b476
downloadlibstrophe-c14153a06fbd78f864b7a3e62740c8abf2ab38e3.tar.gz
libstrophe-c14153a06fbd78f864b7a3e62740c8abf2ab38e3.tar.xz
libstrophe-c14153a06fbd78f864b7a3e62740c8abf2ab38e3.zip
initial commit
-rw-r--r--.gitignore1
-rw-r--r--libstrophe.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f046bba
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libstrophe-0.8.8.tar.gz
diff --git a/libstrophe.spec b/libstrophe.spec
new file mode 100644
index 0000000..b32e8af
--- /dev/null
+++ b/libstrophe.spec
@@ -0,0 +1,74 @@
+Name: libstrophe
+Version: 0.8.8
+Release: 1%{?dist}
+Summary: A simple, lightweight C library for writing XMPP clients
+Group: System Environment/Libraries
+
+License: GPLv3 or MIT
+URL: http://strophe.im/libstrophe
+Source0: https://github.com/strophe/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildRequires: m4
+BuildRequires: pkgconfig
+BuildRequires: openssl-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: make
+BuildRequires: libtool
+BuildRequires: expat-devel
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%description
+libstrophe is a lightweight XMPP client library written in C. It has minimal
+dependencies and is configurable for various environments. It runs well on both
+Linux, Unix, and Windows based platforms.
+
+
+%package devel
+Summary: Development files for libstrophe
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+libstrophe is a lightweight XMPP client library written in C. It has minimal
+dependencies and is configurable for various environments. It runs well on both
+Linux, Unix, and Windows based platforms.
+
+This package contains the development files for libstrophe.
+
+
+%prep
+%setup -q
+
+
+%build
+./bootstrap.sh
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+
+%files devel
+%doc README README.markdown
+%{_includedir}/*
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/%{name}.la
+%{_libdir}/%{name}.a
+%{_libdir}/%{name}.so
+
+
+%files
+%doc LICENSE.txt GPL-LICENSE.txt MIT-LICENSE.txt
+%{_libdir}/%{name}.so.*
+
+
+%changelog
+* Fri Sep 18 2015 Link Dupont <link.dupont@me.com> - 0.8.8-1
+- Initial package
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..19a5660
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a0b89c17e2dc5ff98a062b5503d60ebe libstrophe-0.8.8.tar.gz