Pascal Bleser 2009-03-21 21:53:07 +00:00 committed by Git OBS Bridge
commit e10823e449
5 changed files with 174 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
clamtk-4.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57515c4048dc474558aff6bd0de664b71f745f131811011cf9728fb6e9021fa2
size 176951

3
clamtk-kde-0.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49001c7ed8ce5abc13a33993e5590bef036bfe87ab89a97e6dcf1fd651584a6d
size 7010

144
clamtk.spec Normal file
View File

@ -0,0 +1,144 @@
# norootforbuild
%define kdeprefix /opt/kde3
Name: clamtk
Version: 4.10
%define clamtk_kde_version 0.11
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: Artistic License 2.0
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: clamav >= 0.88
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
BuildRequires: perl update-desktop-files kdebase3
BuildArch: noarch
Provides: clamtk-kde = %{clamtk_kde_version}-%{release}
%description
ClamTk is a GUI front-end for ClamAV using Gtk2-perl.
It is designed to be an easy-to-use, point and click virus scanner.
Authors:
--------
Dave M. <dave.nerd@gmail.com>
%prep
%setup -q -a 1
%build
%__gzip -dc clamtk.1.gz > clamtk.1
%__rm clamtk.1.gz
%install
%__install -D -m 0755 clamtk "%{buildroot}%{_bindir}/clamtk"
%__install -D -m 0644 clamtk.png "%{buildroot}%{_datadir}/pixmaps/clamtk.png"
%__install -D -m 0644 clamtk.desktop "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%__install -D -m 0644 clamtk.1 "%{buildroot}%{_mandir}/man1/clamtk.1"
# use /usr/lib, not %{_libdir}:
%__install -d "%{buildroot}%{_prefix}/lib/ClamTk"
%__install -m0644 lib/*.pm "%{buildroot}%{_prefix}/lib/ClamTk/"
pushd po
for mo in *.mo; do
lang="${mo%%.mo}"
%__install -D -m 0644 "${mo}" "%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/%{name}.mo"
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}"
%clean
%__rm -rf "%{buildroot}"
%files -f "%{name}.lang"
%defattr(-,root,root)
%doc CHANGES DISCLAIMER LICENSE README
%{_bindir}/clamtk
%{_prefix}/lib/ClamTk
%{_datadir}/pixmaps/clamtk.png
%{_datadir}/pixmaps/clamtk-kde.xpm
%{_datadir}/applications/%{name}.desktop
%{kdeprefix}/share/apps/konqueror/servicemenus/%{name}-kde.desktop
%doc %{_mandir}/man1/clamtk.1*
%changelog
* Thu Feb 19 2009 Pascal Bleser <guru@unixtech.be> 4.10
- update to 4.10:
* fixes a situation where signatures were not accurately counted
* some patches were re-added
* Sun Feb 15 2009 Pascal Bleser <guru@unixtech.be> 4.09
- update to 4.09:
* updated language files
* one minor bugfix related to language display
* Sun Dec 28 2008 Pascal Bleser <guru@unixtech.be> 4.08
- update to 4.08:
* minor bugfixes
* Sat Dec 20 2008 Pascal Bleser <guru@unixtech.be> 4.07
- moved to openSUSE Build Service
- scrapped old %changelog entries
- update to 4.07:
* this release contains minor bugfixes involving the save-as dialog
* Sun Dec 7 2008 Pascal Bleser <guru@unixtech.be> 4.06-0.pm.1
- update to 4.06:
* fixes AV version detection
* Fri Nov 28 2008 Pascal Bleser <guru@unixtech.be> 4.05-0.pm.1
- update to 4.05:
* adds several minor bugfixes
* updates the Slovene and Italian language files
* Sun Nov 16 2008 Pascal Bleser <guru@unixtech.be> 4.04-0.pm.1
- update to 4.04:
* fixes a minor bug
* GUI improvements
* updates to Chinese and Swedish translations
* Mon Nov 10 2008 Pascal Bleser <guru@unixtech.be> 4.03-0.pm.1
- update to 4.03:
* updates the Polish, French, Russian, and Brazilian language files to the
4.x series
* a few missing translation lines were added
* the display of the GUI and the logs were improved
* Sun Oct 26 2008 Pascal Bleser <guru@unixtech.be> 4.02-0.pm.1
- update to 4.02:
* bugfixes
* updated korean translation
* Sun Oct 19 2008 Pascal Bleser <guru@unixtech.be> 4.01-0.pm.1
- update to 4.01:
* bugfixes
* updates README
* updates Dutch translation
* Mon Oct 13 2008 Pascal Bleser <guru@unixtech.be> 4.00-0.pm.1
- update to 4.00
* adds the ability of any user to maintain their own sig database and update
them
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: