Changeset 661 for spec/trunk/SPECS


Ignore:
Timestamp:
Feb 18, 2016, 9:32:14 PM (10 years ago)
Author:
Yuri Dario
Message:

spec: zlib, added .pc file to distribution.

File:
1 edited

Legend:

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

    r427 r661  
    22Name: zlib
    33Version: 1.2.5
    4 Release: 5%{?dist}
     4Release: 6%{?dist}
    55License: BSD
    66Group: System Environment/Libraries
     
    3434HLL debug data for exception handling support.
    3535
     36%debug_package
     37
    3638%prep
    3739%setup -q
     
    4345%build
    4446# first build and test static zlib
    45 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe"
    4647export TEST_LDFLAGS="-Zomf"
    4748CFLAGS="%optflags" \
     
    6667rm -rf %buildroot
    6768mkdir -p %buildroot%_libdir
     69mkdir -p %buildroot%_libdir/pkgconfig
    6870mkdir -p %buildroot%_includedir
    6971mkdir -p %buildroot%_mandir/man3
     
    7274cp -a libz_s.a %buildroot%_libdir/
    7375cp -a z.dll %buildroot%_libdir/
     76cp -a zlib.pc %buildroot%_libdir/pkgconfig/
    7477
    7578install -p -m644 zlib.h zconf.h %buildroot%_includedir/
     
    8689%_libdir/z.dll
    8790%dir %docdir
    88 #%docdir/License
     91#docdir/License
    8992%docdir/README
    9093
     
    9699%dir %docdir
    97100%docdir/*.c
    98 #%docdir/*.bz2
    99 
    100 %files debug
    101 %defattr(-,root,root)
    102 %{_libdir}/*.dbg
     101#docdir/*.bz2
     102%{_libdir}/pkgconfig/*.pc
    103103
    104104%changelog
     105* Thu Feb 18 2016 yd <yd@os2power.com> 1.2.5-6
     106- added .pc file to distribution.
     107- use new debug macros.
     108
    105109* Mon Jun 02 2014 yd
    106110- remove dll from devel package.
Note: See TracChangeset for help on using the changeset viewer.