1
0

bgpdump.spec.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Summary: MRT file reader
  2. Name: @PACKAGE_NAME@
  3. Version: @PACKAGE_VERSION@
  4. Release: 1
  5. License: GPL
  6. URL: http://www.ris.ripe.net/source/
  7. Vendor: RIPE NCC Information Services department
  8. Group: System Environment/Libraries
  9. Source: @PACKAGE_NAME@-@PACKAGE_VERSION@.tgz
  10. BuildRoot: /var/tmp/%{name}-root
  11. BuildRequires: bzip2-devel zlib-devel
  12. %description
  13. This library reads MRT files as, amongst others, produced
  14. by the RIPE NCC routing information service.
  15. This library is maintained by the RIPE NCC Information
  16. Services department: ris@ripe.net
  17. %package devel
  18. Summary: Libraries, includes to develop applications with %{name}.
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}
  21. %description devel
  22. The %{name}-devel package contains the header files and static libraries for
  23. building applications which use %{name}.
  24. %prep
  25. %setup
  26. %build
  27. %configure
  28. make CFLAGS="$RPM_OPT_FLAGS"
  29. %install
  30. rm -rf %{buildroot}
  31. %make_install
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(0755,root,root)
  36. %{_bindir}/bgpdump
  37. %defattr(-,root,root)
  38. %{_libdir}/libbgpdump.so
  39. %files devel
  40. %defattr(-,root,root)
  41. %{_libdir}/libbgpdump.a
  42. %{_includedir}/bgpdump_attr.h
  43. %{_includedir}/bgpdump_formats.h
  44. %{_includedir}/bgpdump_lib.h
  45. %{_includedir}/bgpdump_mstream.h
  46. %changelog
  47. * Wed Mar 06 2019 Kevin White <bitbucket-kevin@kevbo.org> 1.6.0-1
  48. - use make_install (after updating Makefile to support DESTDIR).
  49. - Move static lib to -devel
  50. * Wed Jul 04 2008 Erik Romijn <eromijn@ripe.net> 1.4.99.9-1
  51. - Initial release