Accepting request 312252 from home:jubalh:branches:server:dns
- cleanup spec file, remove .la OBS-URL: https://build.opensuse.org/request/show/312252 OBS-URL: https://build.opensuse.org/package/show/server:dns/fstrm?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 11:12:38 UTC 2015 - mvetter@suse.com
|
||||||
|
|
||||||
|
- cleanup spec file, remove .la
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 9 02:28:34 UTC 2015 - mrueckert@suse.de
|
Thu Apr 9 02:28:34 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
27
fstrm.spec
27
fstrm.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fstrm
|
# spec file for package fstrm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,18 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define c_lib libfstrm0
|
||||||
Name: fstrm
|
Name: fstrm
|
||||||
Version: 0.2.0
|
Version: 0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Apache-2.0
|
|
||||||
Summary: Frame Streams implementation in C
|
Summary: Frame Streams implementation in C
|
||||||
Url: https://github.com/farsightsec/fstrm
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Source: https://github.com/farsightsec/fstrm/releases/download/v0.2.0/fstrm-0.2.0.tar.gz
|
Url: https://github.com/farsightsec/fstrm
|
||||||
BuildRequires: pkg-config
|
Source: https://github.com/farsightsec/fstrm/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: libevent-devel
|
BuildRequires: libevent-devel
|
||||||
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define c_lib libfstrm0
|
|
||||||
%description
|
%description
|
||||||
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
||||||
|
|
||||||
@@ -50,20 +52,20 @@ facilitate the addition of high speed binary logging to DNS servers written in
|
|||||||
C using the dnstap log format.
|
C using the dnstap log format.
|
||||||
|
|
||||||
%package -n %{c_lib}
|
%package -n %{c_lib}
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
#
|
|
||||||
Summary: Frame Streams implementation in C - Shared libary file
|
Summary: Frame Streams implementation in C - Shared libary file
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n %{c_lib}
|
%description -n %{c_lib}
|
||||||
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
||||||
|
|
||||||
This packages holds the shared library file.
|
This packages holds the shared library file.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
Summary: Frame Streams implementation in C - Development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{c_lib} = %{version}
|
Requires: %{c_lib} = %{version}
|
||||||
Provides: libfstrm-devel = %{version}-%{release}
|
Provides: libfstrm-devel = %{version}-%{release}
|
||||||
#
|
|
||||||
Summary: Frame Streams implementation in C - Development files
|
|
||||||
%description devel
|
%description devel
|
||||||
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
This is fstrm, a C implementation of the Frame Streams data transport protocol.
|
||||||
|
|
||||||
@@ -77,9 +79,11 @@ This packages holds the development files.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
rm %{buildroot}%{_libdir}/libfstrm.la
|
||||||
|
|
||||||
%post -n %{c_lib} -p /sbin/ldconfig
|
%post -n %{c_lib} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{c_lib} -p /sbin/ldconfig
|
%postun -n %{c_lib} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@@ -96,7 +100,6 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/fstrm.h
|
%{_includedir}/fstrm.h
|
||||||
%{_includedir}/fstrm/
|
%{_includedir}/fstrm/
|
||||||
%{_libdir}/libfstrm.la
|
|
||||||
%{_libdir}/libfstrm.so
|
%{_libdir}/libfstrm.so
|
||||||
%{_libdir}/pkgconfig/libfstrm.pc
|
%{_libdir}/pkgconfig/libfstrm.pc
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user