Changeset 912


Ignore:
Timestamp:
Nov 28, 2016, 11:18:11 PM (8 years ago)
Author:
Yuri Dario
Message:

spec: clamav: Release version 0.99.2-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified spec/trunk/SPECS/clamav.spec

    r624 r912  
    11#define svn_url     F:/rd/ports/clamav/trunk
    22%define svn_url     http://svn.netlabs.org/repos/ports/clamav/trunk
    3 %define svn_rev     1001
     3%define svn_rev     1841
    44
    55Summary:        End-user tools for the Clam Antivirus scanner
    66Name:           clamav
    7 Version:        0.98.6
    8 Release:        6%{?dist}
     7Version:        0.99.2
     8Release:        1%{?dist}
    99
    1010License:        proprietary
     
    1313
    1414Source:         %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip
    15 Source1:        clamd.ico
    16 Source2:        ClamAV_ReadMe.txt
    1715
    1816BuildRoot:      %_tmppath/%name-%version-%release-root
     
    2422BuildRequires:  zlib-devel bzip2-devel
    2523BuildRequires:  ncurses-devel
     24BuildRequires:  json-c-devel pcre-devel openssl-devel libxml2-devel
     25BuildRequires:  libtool libtool-ltdl-devel
    2626#BuildRequires: bc
    2727
     
    165165
    166166
    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
    172168
    173169
     
    184180%endif
    185181
    186 sed -e 's!_VERSION_!%version!g;' \
     182sed -i -e 's!_VERSION_!%version!g;' \
    187183    -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
    193185
    194186#sed -ri \
     
    211203%build
    212204export 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
     205export LDFLAGS="-Zomf -Zmap -Zbin-files -Zhigh-mem -Zargs-wild -Zargs-resp"
     206export LIBS="-lurpo -lcx0 -lpthread"
     207# YD this is required for make llvm configure to work...
     208export PATH_SEPARATOR=";"
     209
     210autoreconf -fvi
    217211
    218212%configure \
     
    242236make DESTDIR="$RPM_BUILD_ROOT" install
    243237
    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}
     239cp clamd/clamd.ico $RPM_BUILD_ROOT%{_sbindir}
    246240
    247241#LogFile must be readable to submit stats
     
    456450%endif
    457451
    458 %files debug
    459 %defattr(-,root,root)
    460 %{_bindir}/*.dbg
    461 %{_libdir}/*.dbg
    462 %{_sbindir}/*.dbg
    463 
    464452%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
    465457* Thu Feb 05 2015 yd <yd@os2power.com> 0.98.6-6
    466458- r1001, update of source code to 0.98.6.
Note: See TracChangeset for help on using the changeset viewer.