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
|
# norootforbuild
|
||||||
|
|
||||||
%define kdeprefix /opt/kde3
|
|
||||||
|
|
||||||
Name: clamtk
|
Name: clamtk
|
||||||
Version: 4.12
|
Version: 4.12
|
||||||
%define clamtk_kde_version 0.13
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GUI for the ClamAV Antivirus
|
Summary: GUI for the ClamAV Antivirus
|
||||||
Source: http://prdownloads.sourceforge.net/clamtk/clamtk-%{version}.tar.gz
|
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/
|
URL: http://clamtk.sourceforge.net/
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
License: Perl License
|
License: Perl License
|
||||||
@ -18,7 +14,7 @@ Requires: clamav-db
|
|||||||
Requires: perl perl-File-Find-Rule perl-libwww-perl perl-Date-Calc
|
Requires: perl perl-File-Find-Rule perl-libwww-perl perl-Date-Calc
|
||||||
Requires: perl-Gtk2 perl-Glib perl-gettext perl-Config-Tiny
|
Requires: perl-Gtk2 perl-Glib perl-gettext perl-Config-Tiny
|
||||||
Requires: perl-Net-DNS
|
Requires: perl-Net-DNS
|
||||||
BuildRequires: perl update-desktop-files kdebase3
|
BuildRequires: perl update-desktop-file
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,25 +28,8 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Dave M. <dave.nerd@gmail.com>
|
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
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__gzip -dc clamtk.1.gz > clamtk.1
|
%__gzip -dc clamtk.1.gz > clamtk.1
|
||||||
@ -73,11 +52,6 @@ for mo in *.mo; do
|
|||||||
done
|
done
|
||||||
popd #po
|
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
|
%suse_update_desktop_file -r "%{name}" System Security
|
||||||
|
|
||||||
%find_lang "%{name}"
|
%find_lang "%{name}"
|
||||||
@ -86,6 +60,7 @@ popd #clamtk-kde
|
|||||||
%__rm -rf "%{buildroot}"
|
%__rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f "%{name}.lang"
|
%files -f "%{name}.lang"
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc CHANGES DISCLAIMER LICENSE README
|
%doc CHANGES DISCLAIMER LICENSE README
|
||||||
%{_bindir}/clamtk
|
%{_bindir}/clamtk
|
||||||
%{_prefix}/lib/ClamTk
|
%{_prefix}/lib/ClamTk
|
||||||
@ -93,19 +68,13 @@ popd #clamtk-kde
|
|||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%doc %{_mandir}/man1/clamtk.1*
|
%doc %{_mandir}/man1/clamtk.1*
|
||||||
|
|
||||||
%files kde3
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/pixmaps/clamtk-kde.xpm
|
|
||||||
%{kdeprefix}/share/apps/konqueror/servicemenus/%{name}-kde.desktop
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Apr 26 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.12
|
* Sun Apr 26 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.12
|
||||||
- update to 4.12:
|
- update to 4.12:
|
||||||
* this release adds Turkish language support and updates the French,
|
* this release adds Turkish language support and updates the French,
|
||||||
Brazilian, and Spanish language files
|
Brazilian, and Spanish language files
|
||||||
* additionally, there are a few minor dependency changes
|
* additionally, there are a few minor dependency changes
|
||||||
- clamtk-kde updated to 0.13
|
- clamtk-kde moved into its own package (clamtk-kde3)
|
||||||
- moved clamtk-kde into its own subpackage (clamtk-kde3)
|
|
||||||
|
|
||||||
* Sun Mar 22 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.11
|
* Sun Mar 22 2009 Pascal Bleser <pascal.bleser@opensuse.org> 4.11
|
||||||
- update to 4.11:
|
- update to 4.11:
|
||||||
|
Loading…
Reference in New Issue
Block a user