Changeset 912
- Timestamp:
- Nov 28, 2016, 11:18:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified spec/trunk/SPECS/clamav.spec ¶
r624 r912 1 1 #define svn_url F:/rd/ports/clamav/trunk 2 2 %define svn_url http://svn.netlabs.org/repos/ports/clamav/trunk 3 %define svn_rev 1 0013 %define svn_rev 1841 4 4 5 5 Summary: End-user tools for the Clam Antivirus scanner 6 6 Name: clamav 7 Version: 0.9 8.68 Release: 6%{?dist}7 Version: 0.99.2 8 Release: 1%{?dist} 9 9 10 10 License: proprietary … … 13 13 14 14 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 15 Source1: clamd.ico16 Source2: ClamAV_ReadMe.txt17 15 18 16 BuildRoot: %_tmppath/%name-%version-%release-root … … 24 22 BuildRequires: zlib-devel bzip2-devel 25 23 BuildRequires: ncurses-devel 24 BuildRequires: json-c-devel pcre-devel openssl-devel libxml2-devel 25 BuildRequires: libtool libtool-ltdl-devel 26 26 #BuildRequires: bc 27 27 … … 165 165 166 166 167 %package debug 168 Summary: HLL debug data for exception handling support. 169 170 %description debug 171 HLL debug data for exception handling support. 167 %debug_package 172 168 173 169 … … 184 180 %endif 185 181 186 sed - e 's!_VERSION_!%version!g;' \182 sed -i -e 's!_VERSION_!%version!g;' \ 187 183 -e 's!_BUILD_!%release!g;' \ 188 %{SOURCE2} > ReadMe.txt 189 190 # restore symlinks 191 ln -sf ../libclamav/getaddrinfo.c clamdscan/getaddrinfo.c 192 ln -sf ../libclamav/getaddrinfo.c clamdtop/getaddrinfo.c 184 ReadMe.txt 193 185 194 186 #sed -ri \ … … 211 203 %build 212 204 export CFLAGS="$RPM_OPT_FLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations" 213 export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 214 export LIBS="-lurpo -lmmap -lpthread" 215 216 export CONFIG_SITE=/@unixroot/usr/share/config.legacy 205 export LDFLAGS="-Zomf -Zmap -Zbin-files -Zhigh-mem -Zargs-wild -Zargs-resp" 206 export LIBS="-lurpo -lcx0 -lpthread" 207 # YD this is required for make llvm configure to work... 208 export PATH_SEPARATOR=";" 209 210 autoreconf -fvi 217 211 218 212 %configure \ … … 242 236 make DESTDIR="$RPM_BUILD_ROOT" install 243 237 244 cp libclamav/clamav.dll $RPM_BUILD_ROOT%{_libdir}245 cp %{SOURCE1}$RPM_BUILD_ROOT%{_sbindir}238 #cp libclamav/clamav.dll $RPM_BUILD_ROOT%{_libdir} 239 cp clamd/clamd.ico $RPM_BUILD_ROOT%{_sbindir} 246 240 247 241 #LogFile must be readable to submit stats … … 456 450 %endif 457 451 458 %files debug459 %defattr(-,root,root)460 %{_bindir}/*.dbg461 %{_libdir}/*.dbg462 %{_sbindir}/*.dbg463 464 452 %changelog 453 * Mon Nov 28 2016 yd <yd@os2power.com> 0.99.2-1 454 - use libcx0 mmap code, new libtool generation. 455 - r1834, update of source code to 0.99.21. 456 465 457 * Thu Feb 05 2015 yd <yd@os2power.com> 0.98.6-6 466 458 - r1001, update of source code to 0.98.6.
Note:
See TracChangeset
for help on using the changeset viewer.