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