From 7671a3dc53267328ade7a2a9415cab3aa0f783a833f5aeb728dc9c0e609090fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 14 Jan 2015 14:18:42 +0000 Subject: [PATCH] Accepting request 281030 from home:mvyskocil:branches:devel:libraries:c_c++ add openpgm to d:l:c_c++, newest libzmq will need it OBS-URL: https://build.opensuse.org/request/show/281030 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/openpgm?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + libpgm-5.2.122.tar.bz2 | 3 ++ openpgm.changes | 20 ++++++++++ openpgm.spec | 84 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libpgm-5.2.122.tar.bz2 create mode 100644 openpgm.changes create mode 100644 openpgm.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libpgm-5.2.122.tar.bz2 b/libpgm-5.2.122.tar.bz2 new file mode 100644 index 0000000..3e97ca5 --- /dev/null +++ b/libpgm-5.2.122.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f6fcdad7fcf08368bce100db2598abdd57cb1e55869df68c0032a12ffe86d93 +size 821143 diff --git a/openpgm.changes b/openpgm.changes new file mode 100644 index 0000000..ce7e773 --- /dev/null +++ b/openpgm.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Tue Jan 13 14:35:23 UTC 2015 - mvyskocil@opensuse.org + +- Fix package to conform openSUSE packaging standards + * rename to openpgm to match with upstream and pkgconfig name + * cleanup weird build systemd and use standard macros + * cleanup description + * move protocol description to devel file + * drop static library + +------------------------------------------------------------------- +Thu Jan 8 12:18:15 UTC 2015 - mvyskocil@opensuse.org + +- Update to 5.2.122 (no upstream changelog available) + +------------------------------------------------------------------- +Thu Nov 22 16:38:36 CET 2012 - pascal.bleser@opensuse.org + +- initial version (5.1.118) + diff --git a/openpgm.spec b/openpgm.spec new file mode 100644 index 0000000..e2f71eb --- /dev/null +++ b/openpgm.spec @@ -0,0 +1,84 @@ +# vim: set sw=4 ts=4 et nu: + +# Copyright (c) 2012 Pascal Bleser +# +# 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 major 5.2 +%define mpkg 5_2 +%define soname 0 +%define libname libpgm-%{mpkg}-%{soname} + +Name: openpgm +Version: 5.2.122 +Release: 0 +Summary: PGM Reliable Multicast Protocol +Source: https://openpgm.googlecode.com/files/libpgm-%{version}.tar.bz2 +URL: https://code.google.com/p/openpgm/ +Group: System/Libraries +License: LGPL-2.1+ +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: python-devel +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: glibc-devel +BuildRequires: pkgconfig + +%description +OpenPGM is an open source implementation of the Pragmatic General Multicast +(PGM) specification in RFC 3208 available at www.ietf.org. PGM is a reliable +and scalable multicast protocol that enables receivers to detect loss, request +retransmission of lost data, or notify an application of unrecoverable loss. + +%package -n %{libname} +Summary: Shared library for %{name} +Group: System/Libraries + +%description -n %{libname} +Shared library for %{name}. + +%package devel +Summary: Devel files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} + +%description devel +Development files for %{name}. + +%prep +%setup -q -n "libpgm-%{version}/openpgm/pgm" + +%build +%{configure} \ + --disable-static + +%install +%make_install +rm %{buildroot}%{_libdir}/libpgm.la + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%defattr(-,root,root) +%doc COPYING LICENSE +%{_libdir}/libpgm-%{major}.so.%{soname} +%{_libdir}/libpgm-%{major}.so.%{soname}.* + +%files devel +%defattr(-,root,root) +%doc mibs/PGM-MIB-petrova-01.txt +%{_includedir}/pgm-%{major} +%{_libdir}/libpgm.so +%{_libdir}/pkgconfig/openpgm-%{major}.pc + +%changelog