File: libfixbuf.spec.in

package info (click to toggle)
libfixbuf 1.6.0%2Bds-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,628 kB
  • ctags: 1,200
  • sloc: ansic: 12,448; sh: 11,345; perl: 67; makefile: 53
file content (84 lines) | stat: -rw-r--r-- 1,779 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
%define name libfixbuf
%define version @PACKAGE_VERSION@
%define release 1

Summary: fixbuf IPFIX implementation library
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Group: Applications/System
License: LGPL
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}
Vendor: http://tools.netsa.cert.org/
Provides: libfixbuf
Provides: libfixbuf.so
Requires: glib2 >= 2.4.7
%if "x@FIXBUF_REQ_LIBSCTP@" == "x1"
Requires: libsctp
%endif
%if "x@FIXBUF_REQ_LIBSPREAD@" == "x1"
Requires: libspread
%endif
%if "x@FIXBUF_REQ_LIBSSL@" == "x1"
Requires: openssl
%endif
BuildRequires: glib2-devel >= 2.4.7
BuildRequires: pkgconfig >= 0.8
%if "x@FIXBUF_REQ_SCTPDEV@" == "x1"
BuildRequires: libsctp-devel
%endif
%if "x@FIXBUF_REQ_LIBSPREAD@" == "x1"
BuildRequires: libspread-devel
%endif
%if "x@FIXBUF_REQ_LIBSSL@" == "x1"
BuildRequires: openssl-devel
%endif

%description 
libfixbuf aims to be a compliant implementation of the IPFIX Protocol
and message format, from which IPFIX Collecting Processes and
IPFIX Exporting Processes may be built. 

%package devel
Summary: Static libraries and C header files for libfixbuf
Group: Applications/System
Provides: libfixbuf-devel
Requires: %{name} = %{version}
Requires: pkgconfig >= 0.8

%description devel
Static libraries and C header files for libfixbuf.

%prep
%setup -q -n %{name}-%{version}

%build
./configure @RPM_CONFIG_FLAGS@
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so*

%files devel
%defattr(-,root,root)
%doc doc/html
%{_includedir}/*
%{_libdir}/pkgconfig/*