12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- Summary: A GUI front-end for ClamAV
- Name: clamtk
- Version: 4.31
- Release: 1%{?_dist_release}
- License: Perl's
- Group: User Interface/Desktops
- URL: http://clamtk.sourceforge.net/
- Source0: %{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
- BuildArch: noarch
- BuildRequires: gzip
- BuildRequires(check): desktop-file-utils
- Requires: clamav
- Requires(post,postun): desktop-file-utils
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: iwaim
- %description
- ClamTk is a frontend for ClamAV using Gtk2-perl. It is intended to be
- an easy to use, lightweight scanner for Linux systems.
- %prep
- %setup -q
- %build
- gunzip clamtk.1.gz
- %install
- %__rm -rf %{buildroot}
- %__mkdir -p %{buildroot}%{_bindir}
- %__mkdir -p %{buildroot}%{_mandir}/man1
- %__mkdir -p %{buildroot}%{perl_vendorlib}/ClamTk
- %__mkdir -p %{buildroot}%{_datadir}/applications
- %__mkdir -p %{buildroot}%{_datadir}/pixmaps
- %__mkdir -p %{buildroot}%{_localedir}
- %__install -m 0755 clamtk %{buildroot}%{_bindir}
- %__install -m 0644 clamtk.1 %{buildroot}%{_mandir}/man1
- %__install -m 0644 lib/*.pm %{buildroot}%{perl_vendorlib}/ClamTk
- %__install -m 0644 clamtk.desktop %{buildroot}%{_datadir}/applications
- %__install -m 0644 clamtk.xpm clamtk.png %{buildroot}%{_datadir}/pixmaps
- langs="ja de fr ko zh_CN zh_TW"
- for lang in $langs
- do
- %__mkdir -p %{buildroot}%{_localedir}/${lang}/LC_MESSAGES
- %__cp -a po/${lang}.mo %{buildroot}%{_localedir}/${lang}/LC_MESSAGES/clamtk.mo
- done
- %{find_lang} %{name}
- %check
- desktop-file-validate %{buildroot}%{_datadir}/applications/clamtk.desktop
- %clean
- %__rm -rf %{buildroot}
- %post
- update-desktop-database %{_datadir}/applications
- %postun
- update-desktop-database %{_datadir}/applications
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc CHANGES LICENSE DISCLAIMER README
- %{_bindir}/clamtk
- %{_mandir}/man1/clamtk.1*
- %{perl_vendorlib}/ClamTk
- %{_datadir}/applications/clamtk.desktop
- %{_datadir}/pixmaps/clamtk.*
- %changelog
- * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 4.31-1
- - Initial build.
|