SPECS: arcacmd.spec - cleanups, hint about minimal libstdc++ versi...

qboosh qboosh at pld-linux.org
Sat Aug 19 14:06:47 CEST 2006


Author: qboosh                       Date: Sat Aug 19 12:06:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanups, hint about minimal libstdc++ version
- it's x86 binary with x86 deps, so removed x86_64 from EA

---- Files affected:
SPECS:
   arcacmd.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/arcacmd.spec
diff -u SPECS/arcacmd.spec:1.4 SPECS/arcacmd.spec:1.5
--- SPECS/arcacmd.spec:1.4	Wed Aug  9 10:27:24 2006
+++ SPECS/arcacmd.spec	Sat Aug 19 14:06:42 2006
@@ -1,15 +1,20 @@
 # $Revision$, $Date$
+# TODO:
+# - fix version information (2.6 is Linux version)
+# - move databases to /var/lib, fix paths in arcaupdate
+#
 Summary:	An anti-virus utility for Unix
-Summary(pl):	Antywirusowe narzędzie dla Uniksów
+Summary(pl):	Narzędzie antywirusowe dla Uniksów
 Name:		arcacmd
 Version:	2.6
 Release:	0.1
-License:	see COPYING
+License:	restricted or commercial (see COPYING* files)
 Group:		Applications
 Source0:	http://arcabit.pl/download/linux/%{name}-linux%{version}-bundle-20060731.tgz
 # Source0-md5:	ffc56e252fbb05b60fa80255140a81d8
 URL:		http://arcabit.pl/
-ExclusiveArch:	%{ix86} %{x8664}
+Requires:	libstdc++ >= 5:3.4
+ExclusiveArch:	%{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,6 +27,7 @@
 Summary:	Arcavir Antivirus databases
 Summary(pl):	Bazy antywirusowe arcavir
 Group:		Applications
+Requires:	%{name} = %{version}-%{release}
 
 %description bases
 This package contains antivirus databases.
@@ -33,6 +39,7 @@
 Summary:	Arcavir Antivirus database updater
 Summary(pl):	Aktualizator baz antywirusowych arcavir
 Group:		Applications
+Requires:	%{name} = %{version}-%{release}
 Requires:	/usr/bin/wget
 Requires:	bc
 Requires:	coreutils
@@ -50,11 +57,11 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/arcacmd/bases/tmp,%{_bindir},%{_sbindir},%{_mandir}/man1,%{_sysconfdir}}
 
-cd files/
+cd files
 install arcacmd $RPM_BUILD_ROOT%{_bindir}
 install arcaupdate $RPM_BUILD_ROOT%{_sbindir}
 cd docs
-install arcacmd.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
+gzip -dc arcacmd.1.gz >$RPM_BUILD_ROOT%{_mandir}/man1/arcacmd.1
 cd ..
 install arcacmdg.conf $RPM_BUILD_ROOT%{_sysconfdir}
 install arcacmdl.conf.template $RPM_BUILD_ROOT%{_sysconfdir}
@@ -68,12 +75,13 @@
 
 %files
 %defattr(644,root,root,755)
-%doc files/docs/COPYING.*
-%dir %{_datadir}/%{name}
-%{_mandir}/man1/*
-%{_datadir}/%{name}/pl_ascii.atr
+%lang(fr) %doc files/docs/COPYING.{commercial,free}.fr
+%lang(pl) %doc files/docs/COPYING.{commercial,free}.pl
 %attr(755,root,root) %{_bindir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arcacmdg.conf
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/pl_ascii.atr
+%{_mandir}/man1/*
 
 %files bases
 %defattr(644,root,root,755)
@@ -81,8 +89,6 @@
 
 %files updater
 %defattr(644,root,root,755)
-%dir %{_datadir}/%{name}
-%defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/arcaupdate
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -91,6 +97,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/08/19 12:06:42  qboosh
+- cleanups, hint about minimal libstdc++ version
+- it's x86 binary with x86 deps, so removed x86_64 from EA
+
 Revision 1.4  2006/08/09 08:27:24  spider
 - rel down
 - dont work
@@ -109,4 +119,3 @@
 - PLD init
 - RAW and NFY, dont touch
 - based on mks.spec
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/arcacmd.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list