Changeset 114 for spec/trunk/SPECS
- Timestamp:
- Nov 26, 2010, 7:25:38 PM (15 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/zlib.spec (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/zlib.spec
r11 r114 2 2 Name: zlib 3 3 Version: 1.2.5 4 Release: 14 Release: 2%{?dist} 5 5 License: BSD 6 6 Group: System Environment/Libraries 7 7 URL: http://www.zlib.net 8 8 Source: %url/zlib-%version.tar.bz2 9 Patch0: zlib-os2.diff 9 10 Prefix: %_prefix 10 11 BuildRoot: /override/%name-%version … … 29 30 %prep 30 31 %setup -q 32 %patch0 -p0 -b .os2~ 31 33 32 34 # Use optflags_lib for this package if defined. … … 35 37 %build 36 38 # first build and test static zlib 39 export TEST_LDFLAGS="-Zomf" 37 40 CFLAGS="%optflags" \ 38 41 ./configure --prefix=/@unixroot/usr --static … … 40 43 ! grep -wE 'NO_vsnprintf|HAS_vsprintf_void|HAS_vsnprintf_void|NO_snprintf|HAS_sprintf_void|HAS_snprintf_void' Makefile 41 44 %__make 45 %__make z.dll 46 42 47 %{!?_without_check:%{!?_without_test:%__make test}} 43 48 rm -f *.s *.o … … 57 62 mkdir -p %buildroot%_mandir/man3 58 63 59 cp -a libz.* %buildroot%_libdir/ 64 cp -a libz.a %buildroot%_libdir/ 65 cp -a libz_s.a %buildroot%_libdir/ 66 cp -a z.dll %buildroot%_libdir/ 67 60 68 install -p -m644 zlib.h zconf.h %buildroot%_includedir/ 61 69 install -p -m644 zlib.3 %buildroot%_mandir/man3/ … … 69 77 %files 70 78 %defattr(-,root,root) 71 #%_libdir/libz.so.* 79 %_libdir/z.dll 72 80 %dir %docdir 73 81 #%docdir/License … … 77 85 %defattr(-,root,root) 78 86 %_libdir/*.a 79 #%_libdir/*.so 87 %_libdir/z.dll 80 88 %_includedir/* 81 89 %_mandir/man?/* … … 85 93 86 94 %changelog 87 * Sun Oct 23 2005 Dmitry V. Levin <ldv-at-owl.openwall.com> 1.2.3-owl188 - Updated to 1.2.3.89 - Imported a bunch of patches from ALT's zlib-1.2.3-alt2 package,90 including versioning for exported symbols added after zlib-1.1.4.91 - Reviewed Owl patches, removed obsolete ones.92 - Updated URL per Mark Adler suggestion.93 94 * Thu May 15 2003 Solar Designer <solar-at-owl.openwall.com> 1.1.4-owl395 - Do safer memory (de)allocation in gzio and gzerror() in particular,96 patch from Dmitry V. Levin, originally for ALT Linux.97 98 * Tue Feb 25 2003 Solar Designer <solar-at-owl.openwall.com>99 - Patched gzprintf() to use vsnprintf() and handle possible truncation,100 thanks to Bugtraq postings by Crazy Einstein, Richard Kettlewell, and101 Carlo Marcelo Arenas Belon.102 103 * Wed Mar 13 2002 Solar Designer <solar-at-owl.openwall.com>104 - Updated to 1.1.4.105 - Build with -Wall.106 107 * Mon Feb 11 2002 Solar Designer <solar-at-owl.openwall.com>108 - Error handling fixes for inflate from Mark Adler.109 110 * Sat Feb 02 2002 Solar Designer <solar-at-owl.openwall.com>111 - Enforce our new spec file conventions.112 113 * Sun Aug 06 2000 Alexandr D. Kanevskiy <kad-at-owl.openwall.com>114 - import from RH
Note:
See TracChangeset
for help on using the changeset viewer.
