Changeset 1101 for spec/trunk/SPECS/db4.spec
- Timestamp:
- Apr 13, 2017, 5:56:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/db4.spec
r970 r1101 1 1 #define svn_url F:/rd/ports/bdb/trunk 2 2 %define svn_url http://svn.netlabs.org/repos/ports/bdb/trunk 3 %define svn_rev 19813 %define svn_rev 2176 4 4 5 5 # the set of arches on which libgcj provides gcj and libgcj-javac-placeholder.sh … … 16 16 Name: db4 17 17 Version: 4.8.30 18 Release: 7%{?dist}18 Release: 8%{?dist} 19 19 20 20 Vendor: bww bitwise works GmbH … … 170 170 set +x 171 171 # Fix all of the HTML files. 172 fixup_href `find . -name "*.html"` 172 # YD this is not needed without docs 173 #fixup_href `find . -name "*.html"` 173 174 set -x 174 175 175 #cd dist176 #./s_config177 178 mkdir dist/os2176 cd dist 177 ./s_config 178 179 mkdir os2 179 180 180 181 %build 181 182 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe" 182 export LDFLAGS="-Z exe -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"183 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 183 184 export LIBS="-lurpo -lcx -lpthread" 184 185 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" … … 187 188 #make -C db.1.85/PORT/%{_os} OORG="$CFLAGS" 188 189 189 cd dist 190 s_config 191 192 cd os2 190 cd dist/os2 193 191 #ln -sf ../configure . 194 192 cp ../configure . … … 199 197 200 198 %configure -C \ 201 --disable-shared --enable-static \ 199 --enable-compat185 \ 200 --enable-shared --enable-static \ 202 201 --enable-cxx \ 203 202 --disable-tcl \ … … 234 233 235 234 %makeinstall -C dist/os2 236 237 cp dist/os2/libdb-%{__soversion}_s.a ${RPM_BUILD_ROOT}%{_libdir}238 cp dist/os2/libdb_cxx-%{__soversion}_s.a ${RPM_BUILD_ROOT}%{_libdir}239 235 240 236 # XXX Nuke non-versioned archives and symlinks … … 260 256 261 257 # add symlink without version number 262 ln -s libdb-%{__soversion}.a $RPM_BUILD_ROOT/%{_libdir}/libdb.a263 ln -s libcxx-%{__soversion}.a $RPM_BUILD_ROOT/%{_libdir}/libdb_cxx.a258 ln -s db-%{__soversion}_dll.a $RPM_BUILD_ROOT/%{_libdir}/db.a 259 ln -s db_cxx-%{__soversion}_dll.a $RPM_BUILD_ROOT/%{_libdir}/db_cxx.a 264 260 265 261 # Move the header files to a subdirectory, in case we're deploying on a … … 322 318 %files devel 323 319 %defattr(-,root,root) 324 #%doc docs/*325 #%doc examples_c examples_cxx326 320 %{_libdir}/db*.dll 327 %{_libdir}/ libdb-%{__soversion}.a328 %{_libdir}/ libdb.a329 %{_libdir}/ libdb_cxx-%{__soversion}.a330 %{_libdir}/ libdb_cxx.a321 %{_libdir}/db-%{__soversion}_dll.a 322 %{_libdir}/db.a 323 %{_libdir}/db_cxx-%{__soversion}_dll.a 324 %{_libdir}/db_cxx.a 331 325 %dir %{_includedir}/%{name} 332 326 %{_includedir}/%{name}/db.h 333 #%{_includedir}/%{name}/db_185.h327 %{_includedir}/%{name}/db_185.h 334 328 %{_includedir}/%{name}/db_cxx.h 335 329 %{_includedir}/db.h 336 #%{_includedir}/db_185.h337 330 %{_includedir}/db_cxx.h 338 331 339 332 %files devel-static 340 333 %defattr(-,root,root) 341 %{_libdir}/ libdb-%{__soversion}_s.a342 %{_libdir}/ libdb_cxx-%{__soversion}_s.a334 %{_libdir}/db-%{__soversion}.a 335 %{_libdir}/db_cxx-%{__soversion}.a 343 336 #%{_libdir}/libdb_tcl-%{__soversion}.a 344 337 %ifarch %{java_arches} … … 360 353 361 354 %changelog 355 * Thu Apr 13 2017 yd <yd@os2power.com> 4.8.30-8 356 - enable db 1.8.5 compatibility api. 357 362 358 * Wed Feb 08 2017 yd <yd@os2power.com> 4.8.30-7 363 359 - r1981, disable docs.
Note:
See TracChangeset
for help on using the changeset viewer.