Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
antivir-gui
antivir-gui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File antivir-gui.spec of Package antivir-gui
# # spec file for package antivir-gui (Version 2.1.10.15) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: antivir-gui License: NON-OSI-COMPLIANT(Restricted Shareware) Group: Productivity/Security AutoReqProv: on %define antivir_version antivir-server-prof-2.1.10-15 Version: 2.1.10.15 Release: 86 Summary: Antivir Virus Scanner GUI Url: http://www.avira.com Source0: http://dl.antivir.de/dateien/antivir/release/%{antivir_version}.tar.gz Source2: antivir-gui.desktop Source1: antivir-gui.README ExclusiveArch: %ix86 s390 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pwdutils Requires: antivir antivir-avguard jpackage-utils PreReq: /usr/sbin/groupadd unzip %insserv_prereq %fillup_prereq %description This is the AntiVir virus scanner GUI software package of Avira (former H+B EDV) Germany. More informations at http://www.avira.com/. Authors: -------- Avira <support@avira.com> %prep %setup -q -n %{antivir_version} %build %ifarch %ix86 tar xzf gui/gui_server_linux_glibc22.tgz %else %ifarch s390 tar xzf gui/gui_server_linux_glibc22_s390.tgz %endif %endif rm -f gui/bin/antivir_start.real gcc -W -Wall -fPIC -pie $RPM_OPT_FLAGS gui/src/antivir_start.c -o gui/bin/antivir_start.real install -m 644 $RPM_SOURCE_DIR/antivir-gui.README README.SuSE %install # create directories install -d -m 0755 $RPM_BUILD_ROOT/usr/ install -d -m 0755 $RPM_BUILD_ROOT/usr/bin/ install -d -m 0755 $RPM_BUILD_ROOT/usr/lib/ install -d -m 0755 $RPM_BUILD_ROOT/usr/lib/AntiVir/ install -d -m 0755 $RPM_BUILD_ROOT/usr/share install -d -m 0755 $RPM_BUILD_ROOT/usr/share/pixmaps/ install -d -m 0755 $RPM_BUILD_ROOT/usr/share/applications/ ## ## install AntiVir GUI ## pushd $RPM_BUILD_ROOT/usr/lib/AntiVir tar xzf $RPM_BUILD_DIR/%{antivir_version}/gui/gui_server_common.tgz %ifarch %ix86 tar xzf $RPM_BUILD_DIR/%{antivir_version}/gui/gui_server_linux_glibc22.tgz %else %ifarch s390 tar xzf $RPM_BUILD_DIR/%{antivir_version}/gui/gui_server_linux_glibc22_s390.tgz %else cat <<ERR Error: Don't have antivir-gui binaries for the %arch platform! ERR exit 1 %endif %endif rm -f gui/bin/antivir_start.real test -d gui/src && rm -rf gui/src popd # install -m 755 gui/bin/antivir_start.real $RPM_BUILD_ROOT/usr/lib/AntiVir/gui/bin/antivir_start.real install -m 644 smcpkg/scanparameters.txt $RPM_BUILD_ROOT/usr/lib/AntiVir/agent/ install -m 755 script/antivir-gui $RPM_BUILD_ROOT/usr/lib/AntiVir/ ln -sf /usr/lib/AntiVir/antivir-gui $RPM_BUILD_ROOT/usr/bin/antivir-gui install -m 644 gui/avira-logo.png $RPM_BUILD_ROOT/usr/share/pixmaps/ install -m 644 $RPM_SOURCE_DIR/antivir-gui.desktop \ $RPM_BUILD_ROOT/usr/share/applications/ %clean rm -rf $RPM_BUILD_ROOT %pre /usr/sbin/groupadd -r antivir 2>/dev/null || : %files %defattr(-,root,root) %doc README.SuSE %dir %attr(0755,root,root) /usr/lib/AntiVir %dir %attr(0755,root,antivir) /usr/lib/AntiVir/gui %dir %attr(0755,root,antivir) /usr/lib/AntiVir/gui/bin # antivir_start.real needs SUID bit to run gui as user, that # is member of the antivir group - rejected by security-team %attr(0750,root,antivir) /usr/lib/AntiVir/gui/bin/antivir_start.real %attr(0750,root,antivir) /usr/lib/AntiVir/gui/bin/antivir_start %attr(0750,root,antivir) /usr/lib/AntiVir/gui/bin/avgu_stats %attr(0640,root,antivir) /usr/lib/AntiVir/gui/bin/avgu_stats.lck %dir %attr(0750,root,antivir) /usr/lib/AntiVir/gui/lib %attr(0640,root,antivir) /usr/lib/AntiVir/gui/lib/*.jar %dir %attr(0750,root,antivir) /usr/lib/AntiVir/gui/lib/ext %attr(0640,root,antivir) /usr/lib/AntiVir/gui/lib/ext/*.jar %dir %attr(0750,root,antivir) /usr/lib/AntiVir/gui/resources %attr(0640,root,antivir) /usr/lib/AntiVir/gui/resources/* %dir %attr(0750,root,antivir) /usr/lib/AntiVir/gui/cert %config %attr(0640,root,antivir) /usr/lib/AntiVir/gui/cert/* %dir %attr(0750,root,antivir) /usr/lib/AntiVir/agent %attr(0750,root,antivir) /usr/lib/AntiVir/agent/rcscript %config %attr(0640,root,antivir) /usr/lib/AntiVir/agent/scanparameters.txt /usr/lib/AntiVir/gui/legal /usr/lib/AntiVir/antivir-gui /usr/bin/antivir-gui /usr/share/pixmaps/avira-logo.png /usr/share/applications/antivir-gui.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor