summaryrefslogtreecommitdiffstats
path: root/rpm/tinyframe.spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-14 15:08:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-14 15:08:02 +0000
commit8d76eb12d5223d0fc3ea65d8d97f1feda2fcc340 (patch)
tree0fd0dd005a08843d538923c1a31d968a417dc4bf /rpm/tinyframe.spec
parentInitial commit. (diff)
downloadtinyframe-8d76eb12d5223d0fc3ea65d8d97f1feda2fcc340.tar.xz
tinyframe-8d76eb12d5223d0fc3ea65d8d97f1feda2fcc340.zip
Adding upstream version 0.1.1.upstream/0.1.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rpm/tinyframe.spec')
-rw-r--r--rpm/tinyframe.spec105
1 files changed, 105 insertions, 0 deletions
diff --git a/rpm/tinyframe.spec b/rpm/tinyframe.spec
new file mode 100644
index 0000000..2413fdc
--- /dev/null
+++ b/rpm/tinyframe.spec
@@ -0,0 +1,105 @@
+%define sover 0
+%define libname libtinyframe%{sover}
+Name: tinyframe
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: Frame Streams encoder/decoder library
+Group: Development/Libraries/C and C++
+
+License: LGPL-3.0-or-later
+URL: https://github.com/DNS-OARC/tinyframe
+# Source needs to be generated by dist-tools/create-source-packages, see
+# https://github.com/jelu/dist-tools
+Source0: %{name}_%{version}.orig.tar.gz
+
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: pkgconfig
+
+%description
+Minimalistic library for encoding and decoding the Frame Streams protocol.
+
+%package -n %{libname}
+Summary: Frame Streams encoder/decoder library
+Group: System/Libraries
+
+%description -n %{libname}
+Minimalistic library for encoding and decoding the Frame Streams protocol.
+
+%package devel
+Summary: Frame Streams encoder/decoder library development files
+Group: Development/Libraries/C and C++
+Requires: %{libname} = %{version}
+
+%description devel
+Minimalistic library for encoding and decoding the Frame Streams protocol.
+
+
+%prep
+%setup -q -n %{name}_%{version}
+
+
+%build
+sh autogen.sh
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -n %{libname}
+/sbin/ldconfig
+
+
+%postun -n %{libname}
+/sbin/ldconfig
+
+
+%files -n %{libname}
+%defattr(-,root,root,-)
+%{_libdir}/libtinyframe.so.%{sover}*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+# %{_mandir}/man3/*
+%{_libdir}/libtinyframe.so
+%{_libdir}/pkgconfig/libtinyframe.pc
+%exclude %{_libdir}/libtinyframe.a
+%exclude %{_libdir}/libtinyframe.la
+%{_datadir}/doc/*
+
+
+%changelog
+* Thu Oct 22 2020 Jerry Lundström <lundstrom.jerry@gmail.com> 0.1.1-1
+- Release 0.1.1
+ * This release adds a few assert check on augments to some of the function
+ calls, fixes a type in configure and adds coverage tests.
+ - `tinyframe_write_control()`:
+ - assert arguments and content fields data
+ - check for valid content field types
+ - `tinyframe_write_control_start()`: assert arguments
+ - `tinyframe_write_frame()`: assert arguments
+ - `tinyframe_write_control_stop()`: assert arguments
+ - `tinyframe_set_header()`: assert arguments
+ - Remove `sprintf()` usage from tracing
+ * Commits:
+ c6fbfea Travis, configure
+ ba616b0 Coverage
+ 97dfeb7 Coverage
+ f69665b Badges
+ 907a894 COPR
+ f07d4e8 Funding
+ 242b1b2 Trace
+ 8d36cf7 LGTM
+* Thu Mar 19 2020 Jerry Lundström <lundstrom.jerry@gmail.com> 0.1.0-1
+- Release 0.1.0