forked from pool/clamtk
Accepting request 232959 from home:ecsos
patch for visible in KDE menu OBS-URL: https://build.opensuse.org/request/show/232959 OBS-URL: https://build.opensuse.org/package/show/security/clamtk?expand=0&rev=47
This commit is contained in:
10
clamtk-desktop.patch
Normal file
10
clamtk-desktop.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
diff -Pdpru clamtk-5.06.orig/clamtk.desktop clamtk-5.06/clamtk.desktop
|
||||
--- clamtk-5.06.orig/clamtk.desktop 2014-04-06 13:04:35.000000000 +0200
|
||||
+++ clamtk-5.06/clamtk.desktop 2014-05-07 16:56:07.895318332 +0200
|
||||
@@ -100,6 +100,5 @@ Icon=clamtk
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=GTK;GNOME;Utility;
|
||||
-OnlyShowIn=GNOME;
|
||||
StartupNotify=true
|
||||
Keywords=antivirus;virus;malware;scan;scanner;
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 15:14:59 UTC 2014 - ecsos@schirra.net
|
||||
|
||||
- added patch for visibilty in kde menu
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 16:57:45 UTC 2014 - ecsos@schirra.net
|
||||
|
||||
|
@@ -19,6 +19,7 @@ Release: 0
|
||||
Summary: GUI for the ClamAV Antivirus
|
||||
Source: https://bitbucket.org/dave_theunsub/clamtk/downloads/clamtk-%{version}.tar.gz
|
||||
Patch0: clamtk-add_searchpath.patch
|
||||
Patch1: clamtk-desktop.patch
|
||||
URL: http://code.google.com/p/clamtk/
|
||||
Group: Productivity/Security
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
@@ -42,6 +43,7 @@ Requires: perl(Locale::gettext)
|
||||
Requires: perl(Net::DNS)
|
||||
Requires: perl(Text::CSV)
|
||||
Requires: zenity
|
||||
BuildRequires: desktop-file-utils
|
||||
# not actually needed, but to make the build fail if the dependencies
|
||||
# won't be available at runtime:
|
||||
BuildRequires: perl(Cwd)
|
||||
@@ -77,6 +79,7 @@ It is designed to be an easy-to-use, point and click virus scanner.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%__gzip -dc clamtk.1.gz > clamtk.1
|
||||
@@ -109,6 +112,12 @@ done
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%post
|
||||
%desktop_database_post
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES DISCLAIMER LICENSE README
|
||||
|
Reference in New Issue
Block a user