Name: Judy Version: 1.0.5 Release: 19 Summary: C library array License: LGPLv2+ URL: http://sourceforge.net/projects/judy/ Source0: http://downloads.sf.net/judy/Judy-%{version}.tar.gz BuildRequires: coreutils gawk make sed gcc >= 4.1 %description The package provides the most advanced core technology, the main advantages are scalability, high performance and memory efficiency. %package devel Summary: Development libraries and headers for Judy Requires: %{name} = %{version}-%{release} %description devel This package contains header files and development libraries. %package help Summary: API documentation for Judy. %description help The help for Judy to use. %prep %autosetup -n judy-%{version} -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-copy-prop -fno-tree-vrp" %configure --disable-static make %install %make_install rm -f %{buildroot}%{_libdir}/*.a %delete_la %check cd test ./Checkit cd - %post /sbin/ldconfig %postun /sbin/ldconfig %files %license COPYING %{_libdir}/libJudy.so.* %files devel %doc doc %{_includedir}/Judy.h %{_libdir}/libJudy.so %files help %{_mandir}/man3/J*.3* %doc README examples AUTHORS ChangeLog %changelog * Wed Jan 8 2020 sunguoshuai - 1.0.5-19 - Delete unwanted files. * Thu Nov 14 2019 wangye - 1.0.5-19 - Package init.