lksctp-tools-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. Name: lksctp-tools
  2. Summary: User-space access to Linux Kernel SCTP
  3. Version: 1.0.16
  4. Release: 5%{?_dist_release}
  5. # src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
  6. License: GPLv2 and GPLv2+ and LGPLv2 and MIT
  7. Group: System Environment/Libraries
  8. URL: http://lksctp.sourceforge.net
  9. Source0: http://downloads.sourceforge.net/lksctp/%{name}-%{version}.tar.gz
  10. Patch0: lksctp-tools-1.0.16-libdir.patch
  11. BuildRequires: libtool, automake, autoconf
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: tomop
  15. %description
  16. This is the lksctp-tools package for Linux Kernel SCTP (Stream Control
  17. Transmission Protocol) Reference Implementation.
  18. This package is intended to supplement the Linux Kernel SCTP Reference
  19. Implementation now available in the Linux kernel source tree in
  20. versions 2.5.36 and following. For more information on LKSCTP see the
  21. package documentation README file, section titled "LKSCTP - Linux
  22. Kernel SCTP."
  23. This package contains the base run-time library and command-line tools.
  24. %package devel
  25. Summary: Development files for lksctp-tools
  26. Group: Development/Libraries
  27. Requires: %{name}%{?_isa} = %{version}-%{release}
  28. %description devel
  29. Development files for lksctp-tools which include man pages, header files,
  30. static libraries, symlinks to dynamic libraries and some tutorial source code.
  31. %package doc
  32. Summary: Documents pertaining to SCTP
  33. Group: System Environment/Libraries
  34. Requires: %{name}%{?_isa} = %{version}-%{release}
  35. %description doc
  36. Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
  37. Drafts).
  38. %prep
  39. %setup -q
  40. %patch0 -p1
  41. %build
  42. [ ! -x ./configure ] && sh bootstrap
  43. %configure --disable-static
  44. # remove rpath from libtool
  45. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  46. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  47. make %{?_smp_mflags}
  48. %install
  49. rm -f doc/rfc2960.txt doc/states.txt
  50. make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p"
  51. find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %doc AUTHORS ChangeLog COPYING* README
  56. %{_bindir}/*
  57. %{_libdir}/libsctp.so.1*
  58. %dir %{_libdir}/lksctp-tools/
  59. %{_libdir}/lksctp-tools/libwithsctp.so.1*
  60. %{_mandir}/man7/*
  61. %files devel
  62. %{_includedir}/*
  63. %{_libdir}/libsctp.so
  64. %{_libdir}/lksctp-tools/libwithsctp.so
  65. %{_datadir}/lksctp-tools/
  66. %{_mandir}/man3/*
  67. %files doc
  68. %doc doc/*.txt
  69. %changelog
  70. * Tue Nov 17 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.16-5
  71. - initial build for Vine Linux.
  72. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-4
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  74. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-3
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  76. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.16-2
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  78. * Tue May 6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.16-1
  79. - Update to 1.0.16
  80. - Spec cleanups
  81. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.15-2
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  83. * Sun May 12 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.15-1
  84. - Update to 1.0.15
  85. * Tue Apr 09 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.14-1
  86. - Update to 1.0.14
  87. * Fri Jan 25 2013 Daniel Borkmann <dborkman@redhat.com> - 1.0.13-1
  88. - Update to 1.0.13
  89. * Mon Jan 21 2013 Jan Safranek <jsafrane@redhat.com> - 1.0.12-1
  90. - Update to 1.0.12
  91. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-5
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  93. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-4
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  95. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-3
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  97. * Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.11-2
  98. - Merge-review cleanup (#226100)
  99. * Tue Dec 1 2009 Jan Safranek <jsafrane@redhat.com> 1.0.11-1
  100. - Update to 1.0.11
  101. - Remove rpath from compiled binaries
  102. - Remove static libraries
  103. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  105. * Tue Apr 14 2009 Zdenek Prikryl <zprikryl@redhat.com> 1.0.10-1
  106. - added release tag to Requires of devel and doc packages (#492531)
  107. - Update to 1.0.10
  108. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  110. * Wed Aug 06 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.9-1
  111. - Update to 1.0.9
  112. * Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 1.0.8-1
  113. - Update to 1.0.8
  114. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.7-3
  115. - Autorebuild for GCC 4.3
  116. * Wed Aug 29 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-2
  117. - rebuild for buildid
  118. * Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 1.0.7-1
  119. - update to 1.0.7
  120. - update license tag
  121. * Wed Feb 21 2007 Karsten Hopp <karsten@redhat.com> 1.0.6-3
  122. - add post/postun requirements
  123. - review fixes
  124. * Tue Sep 19 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-2
  125. - fix fileconflict (#205225)
  126. * Tue Jul 25 2006 Karsten Hopp <karsten@redhat.de> 1.0.6-1
  127. - update to 1.0.6
  128. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2.1
  129. - rebuild
  130. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.2
  131. - bump again for double-long bug on ppc(64)
  132. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.fc5.1
  133. - rebuilt for new gcc4.1 snapshot and glibc changes
  134. * Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> 1.0.5-1
  135. - 1.0.5
  136. * Fri Nov 11 2005 Matthias Saou <http://freshrpms.net/> 1.0.4-1
  137. - Update to 1.0.4.
  138. - Update syntax patch.
  139. - Execute bootstrap if no configure script is found.
  140. - Don't own entire man? directories.
  141. - Own data and lib lksctp-tools directories.
  142. - Move devel libs in _libdir/lksctp-tools/ to devel package.
  143. - Exclude .la files.
  144. - Minor spec file cleanups.
  145. * Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-5
  146. - build with gcc-4
  147. * Mon Feb 07 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-4
  148. - initialize variable before use
  149. - fix subscript out of range bug (#147286)
  150. * Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-3
  151. - build for FC
  152. * Mon Jan 24 2005 Karsten Hopp <karsten@redhat.de> 1.0.2-2.40E.1
  153. - initial RH version based on sourceforge rpm
  154. * Thu Dec 30 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.2-1
  155. - 1.0.2 Release
  156. * Tue May 11 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.1-1
  157. - 1.0.1 Release
  158. * Thu Feb 26 2004 Sridhar Samudrala <sri@us.ibm.com> 1.0.0-1
  159. - 1.0.0 Release
  160. * Fri Feb 6 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.9.0-1
  161. - package only .txt doc files
  162. * Wed Feb 4 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
  163. - badly placed & undelivered files
  164. - simplified delivery list
  165. * Tue Jan 27 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 0.7.5-1
  166. - Integrate comment from project team
  167. * Sat Jan 10 2004 Francois-Xavier Kowalski <francois-xavier.kowalski@hp.com> 2.6.0_test7_0.7.4-1
  168. - Creation