forked from pool/libstrophe
Accepting request 313086 from network
libstrophe is a xmpp library in c. it will be needed for profanity xmpp client. i will maintain it. OBS-URL: https://build.opensuse.org/request/show/313086 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libstrophe?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
0.8.7.tar.gz
Normal file
3
0.8.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:368cd986378712f46838eda24d8d756934259fc8831e55cdd02ad68d53c21e5f
|
||||
size 125917
|
35
libstrophe.changes
Normal file
35
libstrophe.changes
Normal file
@@ -0,0 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 19 10:50:07 UTC 2015 - cfarrell@suse.com
|
||||
|
||||
- license update: GPL-3.0+ or MIT
|
||||
Package is dual licensed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 13:03:51 UTC 2015 - g.bluehut@gmail.com
|
||||
|
||||
- Use variable instead of name for library package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 12:32:39 UTC 2015 - g.bluehut@gmail.com
|
||||
|
||||
- Define URL to source instead of only relying on local one
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 12:01:35 UTC 2015 - g.bluehut@gmail.com
|
||||
|
||||
- Let rpm handle the detection of libxml2, remove requires libxml2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 11:57:47 UTC 2015 - g.bluehut@gmail.com
|
||||
|
||||
- Add lib subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 14:09:44 UTC 2015 - g.bluehut@gmail.com
|
||||
|
||||
- Run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 16:23:29 UTC 2015 - dmacvicar@suse.de
|
||||
|
||||
- initial package for 0.8.7
|
92
libstrophe.spec
Normal file
92
libstrophe.spec
Normal file
@@ -0,0 +1,92 @@
|
||||
#
|
||||
# spec file for package libstrophe
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define c_lib libstrophe0
|
||||
Name: libstrophe
|
||||
Version: 0.8.7
|
||||
Release: 0
|
||||
Summary: A XMPP library for C
|
||||
License: GPL-3.0+ or MIT
|
||||
Group: Development/Libraries
|
||||
Url: http://strophe.im/libstrophe/
|
||||
Source0: https://github.com/strophe/%{name}/archive/%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Strophe is a collection of libraries for speaking the XMPP protocol.
|
||||
|
||||
While most XMPP libraries and implementations are focused on chat-based applications,
|
||||
Strophe takes a grander view.
|
||||
|
||||
It has been used to implement real-time games, notification systems, search engines,
|
||||
as well as traditional instant messaging.
|
||||
|
||||
The implementations are production ready, well documented,
|
||||
easy to use, and easy to extend.
|
||||
|
||||
%package -n libstrophe-devel
|
||||
Summary: Development files for libstrophe
|
||||
Group: Development/Libraries
|
||||
Requires: libstrophe0 = %{version}
|
||||
|
||||
%description -n libstrophe-devel
|
||||
Development files and headers for libstrophe
|
||||
|
||||
%package -n %{c_lib}
|
||||
Summary: A XMPP library for C
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{c_lib}
|
||||
The libstrophe library is a XMPP library written in C.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
mkdir m4
|
||||
./bootstrap.sh
|
||||
%configure --disable-static --with-libxml2
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
rm %{buildroot}%{_libdir}/libstrophe.la
|
||||
|
||||
%post -n libstrophe0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libstrophe0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libstrophe0
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README COPYING
|
||||
%{_libdir}/libstrophe.so.*
|
||||
|
||||
%files -n libstrophe-devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libstrophe.so
|
||||
%{_includedir}/strophe.h
|
||||
%{_libdir}/pkgconfig/libstrophe.pc
|
||||
|
Reference in New Issue
Block a user