Changeset 114 for spec/trunk/SPECS


Ignore:
Timestamp:
Nov 26, 2010, 7:25:38 PM (15 years ago)
Author:
Yuri Dario
Message:

spec: zlib dll build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/zlib.spec

    r11 r114  
    22Name: zlib
    33Version: 1.2.5
    4 Release: 1
     4Release: 2%{?dist}
    55License: BSD
    66Group: System Environment/Libraries
    77URL: http://www.zlib.net
    88Source: %url/zlib-%version.tar.bz2
     9Patch0: zlib-os2.diff
    910Prefix: %_prefix
    1011BuildRoot: /override/%name-%version
     
    2930%prep
    3031%setup -q
     32%patch0 -p0 -b .os2~
    3133
    3234# Use optflags_lib for this package if defined.
     
    3537%build
    3638# first build and test static zlib
     39export TEST_LDFLAGS="-Zomf"
    3740CFLAGS="%optflags" \
    3841./configure --prefix=/@unixroot/usr --static
     
    4043! grep -wE 'NO_vsnprintf|HAS_vsprintf_void|HAS_vsnprintf_void|NO_snprintf|HAS_sprintf_void|HAS_snprintf_void' Makefile
    4144%__make
     45%__make z.dll
     46
    4247%{!?_without_check:%{!?_without_test:%__make test}}
    4348rm -f *.s *.o
     
    5762mkdir -p %buildroot%_mandir/man3
    5863
    59 cp -a libz.* %buildroot%_libdir/
     64cp -a libz.a %buildroot%_libdir/
     65cp -a libz_s.a %buildroot%_libdir/
     66cp -a z.dll %buildroot%_libdir/
     67
    6068install -p -m644 zlib.h zconf.h %buildroot%_includedir/
    6169install -p -m644 zlib.3 %buildroot%_mandir/man3/
     
    6977%files
    7078%defattr(-,root,root)
    71 #%_libdir/libz.so.*
     79%_libdir/z.dll
    7280%dir %docdir
    7381#%docdir/License
     
    7785%defattr(-,root,root)
    7886%_libdir/*.a
    79 #%_libdir/*.so
     87%_libdir/z.dll
    8088%_includedir/*
    8189%_mandir/man?/*
     
    8593
    8694%changelog
    87 * Sun Oct 23 2005 Dmitry V. Levin <ldv-at-owl.openwall.com> 1.2.3-owl1
    88 - 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-owl3
    95 - 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, and
    101 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.