diff --git a/fstrm.changes b/fstrm.changes index b028342..43bbce9 100644 --- a/fstrm.changes +++ b/fstrm.changes @@ -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 diff --git a/fstrm.spec b/fstrm.spec index 677ba0b..1800312 100644 --- a/fstrm.spec +++ b/fstrm.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,18 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +%define c_lib libfstrm0 Name: fstrm Version: 0.2.0 Release: 0 -License: Apache-2.0 Summary: Frame Streams implementation in C -Url: https://github.com/farsightsec/fstrm +License: Apache-2.0 Group: Development/Libraries/C and C++ -Source: https://github.com/farsightsec/fstrm/releases/download/v0.2.0/fstrm-0.2.0.tar.gz -BuildRequires: pkg-config +Url: https://github.com/farsightsec/fstrm +Source: https://github.com/farsightsec/fstrm/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: libevent-devel +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define c_lib libfstrm0 + %description 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. %package -n %{c_lib} -Group: Development/Libraries/C and C++ -# Summary: Frame Streams implementation in C - Shared libary file +Group: Development/Libraries/C and C++ + %description -n %{c_lib} This is fstrm, a C implementation of the Frame Streams data transport protocol. This packages holds the shared library file. %package devel +Summary: Frame Streams implementation in C - Development files Group: Development/Libraries/C and C++ Requires: %{c_lib} = %{version} Provides: libfstrm-devel = %{version}-%{release} -# -Summary: Frame Streams implementation in C - Development files + %description devel 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} %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 + %postun -n %{c_lib} -p /sbin/ldconfig %files @@ -96,7 +100,6 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags} %defattr(-,root,root) %{_includedir}/fstrm.h %{_includedir}/fstrm/ -%{_libdir}/libfstrm.la %{_libdir}/libfstrm.so %{_libdir}/pkgconfig/libfstrm.pc