]> git.pld-linux.org Git - packages/clamav-database.git/blobdiff - clamav-database.spec
- bytecode ver 275
[packages/clamav-database.git] / clamav-database.spec
index d0121c22702cfc8f05e723dc96a48b2df1a9d0db..1fa805c8bc3941ea33a2cb4bd822393908a0291a 100644 (file)
@@ -1,18 +1,25 @@
-%define                main_version            45
-%define                daily_version           5854
-%define                database_version        20080217
+%define                main_version            57
+%define                daily_version           2146
+%define                bytecode_version        275
+%define                safebrowsing_version    4450
+%define                database_version        20160318
 %define                rel     1
 Summary:       Virus databases for clamav
+Summary(hu.UTF-8):     Vírus adatbázis clamav-hoz
 Summary(pl.UTF-8):     Bazy wirusów dla clamava
 Name:          clamav-database
-Version:       %{main_version}.%{daily_version}
+Version:       %{main_version}.%{daily_version}.%{bytecode_version}.%{safebrowsing_version}
 Release:       %{database_version}.%{rel}
 License:       GPL
 Group:         Applications/Databases
-Source0:       http://db.local.clamav.net/daily.cvd
-# Source0-md5: a0999deace2c3bd8dc48a5e03523b7fa
-Source1:       http://db.local.clamav.net/main.cvd
-# Source1-md5: 5312db62b11f8faf48c669fb358488e0
+Source0:       http://db.local.clamav.net/main.cvd
+# Source0-md5: f13ead862171f50019c15c946d25e91f
+Source1:       http://db.local.clamav.net/daily.cvd
+# Source1-md5: 094537361a304e7fb3db64e11482cd9f
+Source2:       http://db.local.clamav.net/bytecode.cvd
+# Source2-md5: 656e67f4237f33ca5ee087a33b696d90
+Source3:       http://db.local.clamav.net/safebrowsing.cvd
+# Source3-md5: 2084da0d4ab09c719be128f893840b17
 URL:           http://www.clamav.net/
 BuildRequires: file
 Requires:      clamav
@@ -22,16 +29,21 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Virus databases for clamav (updated %{database_version}).
 
+%description  -l hu.UTF-8
+Vírus adatbázis clamavhoz (%{database_version}).
+
 %description -l pl.UTF-8
 Bazy wirusów dla clamava (aktualizowane %{database_version}).
 
 %prep
 %setup -qcT
-cp -a %{SOURCE0} %{SOURCE1} .
+cp -a %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} .
 
 %build
 main_version=$(file main.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
 daily_version=$(file daily.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
+bytecode_version=$(file bytecode.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
+safebrowsing_version=$(file safebrowsing.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
 if [ "$main_version" != %{main_version} ]; then
        : Update %%define main_version $main_version, and retry
        exit 1
@@ -40,6 +52,14 @@ if [ "$daily_version" != %{daily_version} ]; then
        : Update %%define daily_version $daily_version, and retry
        exit 1
 fi
+if [ "$bytecode_version" != %{bytecode_version} ]; then
+       : Update %%define bytecode_version $bytecode_version, and retry
+       exit 1
+fi
+if [ "$safebrowsing_version" != %{safebrowsing_version} ]; then
+       : Update %%define safebrowsing_version $safebrowsing_version, and retry
+       exit 1
+fi
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.065744 seconds and 4 git commands to generate.