lksctp-tools-vl.spec 8.6 KB

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