libwvstreams-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. Summary: WvStreams is a network programming library written in C++
  2. Summary: WvStreams - C++ で記述されたネットワークプログラミングライブラリ
  3. Name: libwvstreams
  4. Version: 4.6.1
  5. Release: 1%{?_dist_release}
  6. Source: http://wvstreams.googlecode.com/files/wvstreams-%{version}.tar.gz
  7. #fixed multilib issue (bug #192717)
  8. Patch1: wvstreams-4.2.2-multilib.patch
  9. #install-xplc target was missing
  10. Patch2: wvstreams-4.5-noxplctarget.patch
  11. #Fix parallel build (#226061)
  12. Patch3: wvstreams-4.6.1-make.patch
  13. #sys/stat.h is missing some files in rawhide build
  14. Patch4: wvstreams-4.6.1-statinclude.patch
  15. #const X509V3_EXT_METHOD * -> X509V3_EXT_METHOD * conversion not allowed
  16. #by rawhide gcc
  17. Patch5: wvstreams-4.6.1-gcc.patch
  18. URL: http://alumnit.ca/wiki/index.php?page=WvStreams
  19. Group: System Environment/Libraries
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  21. BuildRequires: openssl-devel, pkgconfig, zlib-devel, readline-devel
  22. License: LGPLv2+
  23. %description
  24. WvStreams aims to be an efficient, secure, and easy-to-use library for
  25. doing network applications development.
  26. %package devel
  27. Summary: Development files for WvStreams
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. WvStreams aims to be an efficient, secure, and easy-to-use library for
  32. doing network applications development. This package contains the files
  33. needed for developing applications which use WvStreams.
  34. %prep
  35. %setup -q -n wvstreams-%{version}
  36. %patch1 -p1 -b .multilib
  37. %patch2 -p1 -b .xplctarget
  38. %patch3 -p1 -b .make
  39. %patch4 -p1 -b .statinclude
  40. %patch5 -p1 -b .gcc
  41. %build
  42. # --with-fam FAM
  43. # --with-fftw FFTW
  44. # --with-bdb Berkeley DB 1.x (or compatible)
  45. # --with-gdbm GDBM
  46. # --with-ogg Ogg
  47. # --with-openssl OpenSSL
  48. # --with-pam PAM
  49. # --with-tcl Tcl
  50. # --with-swig SWIG
  51. # --with-qt Qt
  52. # --with-speex Speex
  53. # --with-vorbis Vorbis
  54. # --with-xplc XPLC
  55. # --with-zlib zlib
  56. touch configure
  57. %configure --with-pam --with-openssl --without-fam --without-fftw --without-gdbm --without-pgg --without-tcl --without-swig --without-qt --without-speex --without-vorbis --with-xplc --disable-static
  58. make COPTS="$RPM_OPT_FLAGS -fPIC -fpermissive" CXXOPTS="$RPM_OPT_FLAGS -fPIC -fpermissive" VERBOSE=1
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. make install DESTDIR=$RPM_BUILD_ROOT
  62. chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so.*
  63. rm -fr $RPM_BUILD_ROOT/usr/bin
  64. pushd $RPM_BUILD_ROOT
  65. rm -f \
  66. ./etc/uniconf.conf \
  67. .%{_bindir}/uni \
  68. .%{_libdir}/pkgconfig/liboggspeex.pc \
  69. .%{_libdir}/pkgconfig/liboggvorbis.pc \
  70. .%{_libdir}/pkgconfig/libwvfft.pc \
  71. .%{_libdir}/pkgconfig/libwvqt.pc \
  72. .%{_sbindir}/uniconfd \
  73. .%{_mandir}/man8/uni.8* \
  74. .%{_mandir}/man8/uniconfd.8* \
  75. .%{_var}/lib/uniconf/uniconfd.ini
  76. popd
  77. %clean
  78. rm -rf $RPM_BUILD_ROOT
  79. %files
  80. %defattr(-,root,root)
  81. %doc COPYING.LIB README
  82. %{_libdir}/*.so.*
  83. %files devel
  84. %defattr(-,root,root)
  85. %{_includedir}/wvstreams
  86. %{_libdir}/*.so
  87. %{_libdir}/*.a
  88. %{_libdir}/pkgconfig/*.pc
  89. %post -p /sbin/ldconfig
  90. %postun -p /sbin/ldconfig
  91. %changelog
  92. * Sun Mar 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-1
  93. - update to 4.6.1
  94. - fix Patch1 (wvstreams-4.2.2-multilib.patch)
  95. - add Patch2 (wvstreams-4.5-noxplctarget.patch) from FC package
  96. - add Patch3 (wvstreams-4.6.1-make.patch) from FC package
  97. - add Patch4 (wvstreams-4.6.1-statinclude.patch) from FC package
  98. - add Patch5 (wvstreams-4.6.1-gcc.patch) from FC package
  99. * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 4.4-1vl5
  100. - applied new versioning policy, spec in utf-8
  101. * Mon Nov 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4-0vl1
  102. - initial build for Vine Linux
  103. * Fri Aug 17 2007 Harald Hoyer <harald@rawhide.home> - 4.4-1
  104. - version 4.4
  105. - changed license tag to LGPLv2+
  106. * Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-2
  107. - added static libs, esp. xplc-cxx
  108. * Thu Jun 28 2007 Harald Hoyer <harald@redhat.com> - 4.3-1
  109. - version 4.3
  110. * Wed Apr 18 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-4
  111. - specfile review
  112. * Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 4.2.2-3
  113. - fixed code for new g++ version
  114. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.2.2-2.1
  115. - rebuild
  116. * Fri Jun 02 2006 Harald Hoyer <harald@redhat.com> 4.2.2-2
  117. - more corrections to multilib patch (bug #192717)
  118. * Wed May 24 2006 Harald Hoyer <harald@redhat.com> 4.2.2-1
  119. - version 4.2.2
  120. - fixed multilib issue (bug #192717)
  121. * Fri Mar 10 2006 Bill Nottingham <notting@redhat.com> - 4.2.1-2
  122. - rebuild for ppc TLS issue (#184446)
  123. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.2
  124. - bump again for double-long bug on ppc(64)
  125. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.2.1-1.1
  126. - rebuilt for new gcc4.1 snapshot and glibc changes
  127. * Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> 4.2.1-1
  128. - version 4.2.1
  129. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  130. - rebuilt
  131. * Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 3.75.0-6
  132. - rebuilt against new openssl
  133. - the gcc4 patch shouldn't be used anymore
  134. * Mon Mar 14 2005 Harald Hoyer <harald@redhat.com> 3.75.0-5
  135. - gcc4 patch added
  136. * Wed Mar 2 2005 Jindrich Novy <jnovy@redhat.com> 3.75.0-4
  137. - rebuilt
  138. * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
  139. - rebuilt
  140. * Wed Jun 28 2004 Harald Hoyer <harald@redhat.com> 3.75.0-2
  141. - added libwvstreams-3.75.0-stringbuf.patch (114996)
  142. * Mon Jun 21 2004 Harald Hoyer <harald@redhat.com> 3.75.0-1
  143. - version 3.75.0
  144. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  145. - rebuilt
  146. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  147. - rebuilt
  148. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  149. - rebuilt
  150. * Fri Oct 10 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-12
  151. - link libwvstreams shared libs against libcrypt, upon which they depend
  152. * Mon Sep 8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-11
  153. - rebuild
  154. * Mon Sep 8 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-10
  155. - rebuild
  156. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  157. - rebuilt
  158. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  159. - rebuilt
  160. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 3.70-7
  161. - rebuild
  162. * Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
  163. - correct an const/not-const type mismatch that breaks compilation with newer
  164. OpenSSL
  165. - add flags from pkgconfig so that OpenSSL is always found
  166. * Tue Sep 10 2002 Mike A. Harris <mharris@redhat.com> 3.70-6
  167. - use FHS macros for multilib systems
  168. * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
  169. - rebuilt with gcc-3.2 (we hope)
  170. * Mon Jul 22 2002 Tim Powers <timp@redhat.com>
  171. - rebuild using gcc-3.2-0.1
  172. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  173. - automated rebuild
  174. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  175. - automated rebuild
  176. * Mon May 20 2002 Nalin Dahyabhai <nalin@redhat.com> 3.70-1
  177. - patch to build with gcc 3.x
  178. - build with -fPIC
  179. * Wed Apr 10 2002 Nalin Dahyabhai <nalin@redhat.com>
  180. - update to 3.70
  181. * Wed Mar 27 2002 Nalin Dahyabhai <nalin@redhat.com> 3.69-1
  182. - pull in from upstream tarball
  183. * Wed Feb 27 2002 Nalin Dahyabhai <nalin@redhat.com>
  184. - merge the main and -devel packages into one .spec file
  185. - use globbing to shorten the file lists
  186. - don't define name, version, and release as macros (RPM does this by default)
  187. - use the License: tag instead of Copyright: (equivalent at the package level,
  188. but License: reflects the intent of the tag better)
  189. - use a URL to point to the source of the source tarball
  190. - add BuildRequires: openssl-devel (libwvcrypto uses libcrypto)
  191. - move the buildroot to be under %%{_tmppath}, so that it can be moved by
  192. altering RPM's configuration
  193. * Tue Jan 29 2002 Patrick Patterson <ppatters@nit.ca>
  194. - Initial Release of WvStreams