removed kde3 subpackage, moved into its own package to fix versioning
OBS-URL: https://build.opensuse.org/package/show/security/clamtk?expand=0&rev=4
This commit is contained in:
parent
1decfee4bf
commit
f5cb7b0267
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b093c6e257362c9af31d08753b2d95123b91bc6494fb9de0b059d8ec42b644ac
|
||||
size 6934
|
39
clamtk.spec
39
clamtk.spec
@ -1,14 +1,10 @@
|
||||
# norootforbuild
|
||||
|
||||
%define kdeprefix /opt/kde3
|
||||
|
||||
Name: clamtk
|
||||
Version: 4.12
|
||||
%define clamtk_kde_version 0.13
|
||||
Release: 0
|
||||
Summary: GUI for the ClamAV Antivirus
|
||||
Source: http://prdownloads.sourceforge.net/clamtk/clamtk-%{version}.tar.gz
|
||||
Source1: http://prdownloads.sourceforge.net/clamtk/clamtk-kde-%{clamtk_kde_version}.tar.gz
|
||||
URL: http://clamtk.sourceforge.net/
|
||||
Group: Productivity/Security
|
||||
License: Perl License
|
||||
@ -18,7 +14,7 @@ Requires: clamav-db
|
||||
Requires: perl perl-File-Find-Rule perl-libwww-perl perl-Date-Calc
|
||||
Requires: perl-Gtk2 perl-Glib perl-gettext perl-Config-Tiny
|
||||
Requires: perl-Net-DNS
|
||||
BuildRequires: perl update-desktop-files kdebase3
|
||||
BuildRequires: perl update-desktop-file
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -32,25 +28,8 @@ Authors:
|
||||
--------
|
||||
Dave M. <dave.nerd@gmail.com>
|
||||
|
||||
%package kde3
|
||||
Summary: KDE 3 Konqueror Integration for %{name}
|
||||
Group: System/GUI/KDE
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: kdebase3
|
||||
# for backwards compatibility/upgrading:
|
||||
Provides: clamtk-kde = %{version}-%{release}
|
||||
Obsoletes: clamtk-kde
|
||||
|
||||
%description kde3
|
||||
This subpackage contains KDE3 Konqueror integration for clamtk, a
|
||||
GUI frontend for scanning with the opensource ClamAV antivirus.
|
||||
|
||||
By installing this package, a context menu item is provided in
|
||||
(KDE3) Konqueror in order to scan a directory recursively, or a
|
||||
single file.
|
||||
|
||||
%prep
|
||||
%setup -q -a 1
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%__gzip -dc clamtk.1.gz > clamtk.1
|
||||
@ -73,11 +52,6 @@ for mo in *.mo; do
|
||||
done
|
||||
popd #po
|
||||
|
||||
pushd "clamtk-kde-%{clamtk_kde_version}"
|
||||
%__install -D -m 0644 clamtk-kde.desktop "%{buildroot}%{kdeprefix}/share/apps/konqueror/servicemenus/%{name}-kde.desktop"
|
||||
%__install -D -m 0644 clamtk-kde.xpm "%{buildroot}%{_datadir}/pixmaps/%{name}-kde.xpm"
|
||||
popd #clamtk-kde
|
||||
|
||||
%suse_update_desktop_file -r "%{name}" System Security
|
||||
|
||||
%find_lang "%{name}"
|
||||
@ -86,6 +60,7 @@ popd #clamtk-kde
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files -f "%{name}.lang"
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES DISCLAIMER LICENSE README
|
||||
%{_bindir}/clamtk
|
||||
%{_prefix}/lib/ClamTk
|
||||
@ -93,19 +68,13 @@ popd #clamtk-kde
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%doc %{_mandir}/man1/clamtk.1*
|
||||
|
||||
%files kde3
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/pixmaps/clamtk-kde.xpm
|
||||
%{kdeprefix}/share/apps/konqueror/servicemenus/%{name}-kde.desktop
|
||||
|
||||
%changelog
|
||||
* Sun Apr 26 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.12
|
||||
- update to 4.12:
|
||||
* this release adds Turkish language support and updates the French,
|
||||
Brazilian, and Spanish language files
|
||||
* additionally, there are a few minor dependency changes
|
||||
- clamtk-kde updated to 0.13
|
||||
- moved clamtk-kde into its own subpackage (clamtk-kde3)
|
||||
- clamtk-kde moved into its own package (clamtk-kde3)
|
||||
|
||||
* Sun Mar 22 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.11
|
||||
- update to 4.11:
|
||||
|
Loading…
Reference in New Issue
Block a user