source: projects/specs/branches/6/lib/libw/libwvstreams/libwvstreams-vl.spec @ 3022

Revision 3022, 7.6 KB checked in by Takemikaduchi, 13 years ago (diff)

libxml++: rebuild vine5 package, others: rebuild with openssl-1.0.0d

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