-
Notifications
You must be signed in to change notification settings - Fork 11
/
bgpdump.spec.in
64 lines (51 loc) · 1.46 KB
/
bgpdump.spec.in
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@-@[email protected]
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: [email protected]
%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 <[email protected]> 1.6.0-1
- use make_install (after updating Makefile to support DESTDIR).
- Move static lib to -devel
* Wed Jul 04 2008 Erik Romijn <[email protected]> 1.4.99.9-1
- Initial release