bgpdump.spec.in 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. %makeinstall
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(0755,root,root)
  36. %{_bindir}/bgpdump
  37. %defattr(-,root,root)
  38. %{_libdir}/libbgpdump.a
  39. %{_libdir}/libbgpdump.so
  40. %files devel
  41. %defattr(-,root,root)
  42. %{_includedir}/bgpdump_attr.h
  43. %{_includedir}/bgpdump_formats.h
  44. %{_includedir}/bgpdump_lib.h
  45. %{_includedir}/bgpdump_mstream.h
  46. %changelog
  47. * Wed Jul 04 2008 Erik Romijn <eromijn@ripe.net> 1.4.99.9-1
  48. - Initial release