netcat-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Summary: Networking utility that manages TCP and UDP connections
  2. Name: netcat
  3. Version: 0.7.1
  4. Release: 2%{?_dist_release}
  5. License: GPL
  6. Group: Applications/Internet
  7. URL: http://netcat.sourceforge.net/
  8. Source: http://prdownloads.sourceforge.net/netcat/netcat-%{version}.tar.bz2
  9. Packager: Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. %description
  12. Netcat is a featured networking utility which reads and writes data across
  13. network connections, using the TCP/IP protocol.
  14. It is designed to be a reliable "back-end" tool that can be used directly or
  15. easily driven by other programs and scripts. At the same time, it is a
  16. feature-rich network debugging and exploration tool, since it can create
  17. almost any kind of connection you would need and has several interesting
  18. built-in capabilities.
  19. %prep
  20. %setup -q
  21. %build
  22. %configure
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. make install DESTDIR="$RPM_BUILD_ROOT"
  26. # ugly hack in order to include the structured directory in the rpm
  27. rm -f doc/drafts/Makefile*
  28. %find_lang %name
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %files -f %{name}.lang
  32. %defattr(-,root,root)
  33. %doc AUTHORS COPYING ChangeLog NEWS README TODO doc/migration doc/drafts
  34. %{_bindir}/netcat
  35. %{_bindir}/nc
  36. %{_infodir}/*
  37. %{_mandir}/*/*
  38. %post
  39. /sbin/install-info %{_infodir}/netcat.info.gz %{_infodir}/dir
  40. %preun
  41. if [ "$1" = 0 ]; then
  42. /sbin/install-info --delete %{_infodir}/netcat.info.gz %{_infodir}/dir
  43. fi
  44. %changelog
  45. * Wed Oct 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.7.1-2vl5
  46. - applied new versioning policy
  47. * Sat Sep 30 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.1-1vl2
  48. - Plus package for Vine 4.0/Seed
  49. * Sat Sep 30 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.1-1vl1
  50. - Plus package for Vine 3.2
  51. * Sun Jan 11 2004 Giovanni Giacobbi <giovanni@giacobbi.net> 0.7.1-1
  52. - Minor spec file cleanup
  53. - Updated to version 0.7.1.
  54. * Thu Aug 21 2003 Giovanni Giacobbi <giovanni@giacobbi.net> 0.7.0-1
  55. - Updated to version 0.7.0.
  56. * Tue Oct 15 2002 Giovanni Giacobbi <giovanni@giacobbi.net> 0.6.1-1
  57. - Updated author's email address.
  58. - Now adds info entries in the global info directory on install.
  59. - Updated to version 0.6.1.
  60. * Thu Aug 22 2002 Giovanni Giacobbi <giovanni@giacobbi.net> 0.6.0-1
  61. - Final updates for the public release.
  62. * Tue Aug 20 2002 Giovanni Giacobbi <giovanni@giacobbi.net> 0.6.0-0.5
  63. - Some updates, still testing for first public release.
  64. * Sat Jun 15 2002 Giovanni Giacobbi <giovanni@giacobbi.net> 0.5.1-1
  65. - First testing package v0.5.1.