libwvstreams-vl.spec 6.7 KB

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