File: bgpdump.spec.in

package info (click to toggle)
bgpdump 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 580 kB
  • sloc: ansic: 8,055; makefile: 118; sh: 96
file content (64 lines) | stat: -rw-r--r-- 1,492 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
Summary: MRT file reader
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1
License: GPL
URL: http://www.ris.ripe.net/source/
Vendor: RIPE NCC Information Services department
Group: System Environment/Libraries
Source: @PACKAGE_NAME@-@PACKAGE_VERSION@.tgz
BuildRoot: /var/tmp/%{name}-root
BuildRequires: bzip2-devel zlib-devel

%description
This library reads MRT files as, amongst others, produced
by the RIPE NCC routing information service.

This library is maintained by the RIPE NCC Information
Services department: ris@ripe.net

%package devel
Summary: Libraries, includes to develop applications with %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
The %{name}-devel package contains the header files and static libraries for
building applications which use %{name}.


%prep
%setup

%build
%configure
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf %{buildroot}
%make_install

%clean
rm -rf %{buildroot}

%files
%defattr(0755,root,root)
%{_bindir}/bgpdump
%defattr(-,root,root)
%{_libdir}/libbgpdump.so

%files devel
%defattr(-,root,root)
%{_libdir}/libbgpdump.a
%{_includedir}/bgpdump_attr.h
%{_includedir}/bgpdump_formats.h
%{_includedir}/bgpdump_lib.h
%{_includedir}/bgpdump_mstream.h

%changelog
* Wed Mar 06 2019 Kevin White <bitbucket-kevin@kevbo.org> 1.6.0-1
- use make_install (after updating Makefile to support DESTDIR).
- Move static lib to -devel

* Wed Jul 04 2008 Erik Romijn <eromijn@ripe.net> 1.4.99.9-1
- Initial release