Create utils subpackage with fstrm utilities
Current command line utilities reside in devel subpackage, where only library and headers should reside. Move them to new utils subpackage.
This commit is contained in:
parent
b43ee0dbc5
commit
11573d93e0
31
fstrm.spec
31
fstrm.spec
@ -4,11 +4,12 @@
|
||||
Name: fstrm
|
||||
Summary: Frame Streams implementation in C
|
||||
Version: 0.6.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/farsightsec/fstrm
|
||||
Source0: https://dl.farsightsecurity.com/dist/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: libevent-devel
|
||||
|
||||
%description
|
||||
Frame Streams is a light weight, binary clean protocol that allows for the
|
||||
@ -18,6 +19,20 @@ an encoding format for data frames and can be used with any data serialization
|
||||
format that produces byte sequences, such as Protocol Buffers, XML, JSON,
|
||||
MessagePack, YAML, etc.
|
||||
|
||||
%package utils
|
||||
Summary: Frame Streams (fstrm) utilities
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description utils
|
||||
Frame Streams is a light weight, binary clean protocol that allows for the
|
||||
transport of arbitrarily encoded data payload sequences with minimal framing
|
||||
overhead -- just four bytes per data frame. Frame Streams does not specify
|
||||
an encoding format for data frames and can be used with any data serialization
|
||||
format that produces byte sequences, such as Protocol Buffers, XML, JSON,
|
||||
MessagePack, YAML, etc.
|
||||
|
||||
The fstrm-utils package contains command line utilities.
|
||||
|
||||
%package devel
|
||||
Summary: Development Files for fstrm library
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -30,7 +45,6 @@ using fstrm library.
|
||||
Summary: API documentation for fstrm library
|
||||
BuildArch: noarch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libevent-devel
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
@ -64,8 +78,8 @@ make check
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
|
||||
%else
|
||||
%post libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -73,12 +87,14 @@ make check
|
||||
%exclude %{_pkgdocdir}/html
|
||||
%{_libdir}/libfstrm.so.*
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
%files utils
|
||||
%{_bindir}/fstrm_capture
|
||||
%{_bindir}/fstrm_dump
|
||||
%{_bindir}/fstrm_replay
|
||||
%{_mandir}/man1/fstrm_*
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
%{_includedir}/fstrm.h
|
||||
%{_includedir}/fstrm/
|
||||
%{_libdir}/pkgconfig/libfstrm.pc
|
||||
@ -88,6 +104,9 @@ make check
|
||||
%doc %{_pkgdocdir}/html
|
||||
|
||||
%changelog
|
||||
* Tue Sep 15 2020 Petr Menšík <pemensik@redhat.com> - 0.6.0-3
|
||||
- Move command line tools to utils subpackage
|
||||
|
||||
* Tue Sep 15 2020 Petr Menšík <pemensik@redhat.com> - 0.6.0-2
|
||||
- Rebuilt for libevent rebase
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user