Main
Pruning the forum database.
Summary: Easy to use front-end for ClamAVName: clamtkVersion: 4.18Release: %mkrel 1License: Artistic 2.0Group: File toolsURL: http://clamtk.sourceforge.net/Source: %{name}-%{version}.tar.gzBuildRoot: %{_tmppath}/%{name}-%{version}-buildrootBuildArch: noarchBuildRequires: gettextBuildRequires: desktop-file-utilsRequires: perl-Gtk2Requires: perl-File-Find-Rule, perl-Date-Calc, perl-gettextRequires: perl-libwww-perl, perl-Net-DNSRequires: clamav >= 0.90 clamav-dbRequires: zenity, crontabsRequires(post): desktop-file-utilsRequires(postun): desktop-file-utils%descriptionClamTk is a GUI front-end for ClamAV using Gtk2-perl.It is designed to be an easy-to-use, point and clickvirus scanner for Linux systems.%prep%setup -q%build%install%{__rm} -rf %{buildroot}%{__install} -D -m0755 clamtk %{buildroot}%{_bindir}/clamtk%{__install} -D -m0644 clamtk.png %{buildroot}%{_datadir}/pixmaps/clamtk.png%{__install} -D -m0644 clamtk.1.gz %{buildroot}%{_mandir}/man1/clamtk.1.gz%{__install} -D -m0644 clamtk.desktop %{buildroot}%{_datadir}/applications/clamtk.desktop%{__mkdir} -p %{buildroot}%{_datadir}/locale/{ar,cs_CZ,da,de,el_GR,en_GB,es,fr,gl,hr,hu,it,ja,ko_KR,ms,nl,nl_BE,nb,nn,pl,pt_BR,ro,ru,sk,sl,sv,tr,zh_CN}/LC_MESSAGES%{__install} -d %{buildroot}%{perl_vendorlib}/ClamTk%{__install} -m0644 lib/*.pm %{buildroot}%{perl_vendorlib}/ClamTk/for n in po/*.mo ; do %{__install} -D -m0644 $n %{buildroot}%{_datadir}/locale/`basename $n .mo`/LC_MESSAGES/clamtk.modone%find_lang %{name}desktop-file-install --delete-original \ --add-category="GTK" \ --add-category="GNOME" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications %{buildroot}%{_datadir}/applications/*%clean%{__rm} -rf %{buildroot}%files -f %{name}.lang%defattr(-, root, root, 0755)%doc CHANGES DISCLAIMER LICENSE README%{_bindir}/%{name}%{perl_vendorlib}/ClamTk%{_datadir}/applications/%{name}.desktop%{_datadir}/pixmaps/clamtk.png%{_mandir}/man1/%{name}.1*%changelog
$ rpm -ba clamtk.spec...+ /usr/bin/install -D -m0644 po/zh_CN.mo /home/rogaven/RPM/tmp/clamtk-4.18-root/usr/share/locale/zh_CN/LC_MESSAGES/clamtk.mo+ /usr/lib/rpm/mandriva/find-lang.sh /home/rogaven/RPM/tmp/clamtk-4.18-root clamtk+ desktop-file-install --delete-original --add-category=GTK --add-category=GNOME --dir /home/rogaven/RPM/tmp/clamtk-4.18-root/usr/share/applications /home/rogaven/RPM/tmp/clamtk-4.18-root/usr/share/applications/clamtk.desktopMust specify the vendor namespace for these files with --vendor
Group: File toolsVendor: Nombre
Must specify the vendor namespace for these files with --vendor
$ desktop-file-install --help
...%find_lang %{name}desktop-file-install --vendor="" \ --delete-original \ --add-category="GTK" \ --add-category="GNOME" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications %{buildroot}%{_datadir}/applications/*...
...Requires: perl-File-Find-Rule, perl-Date-Calc, perl-gettext...
Do you have it built?
I have dropbox installed and an folder PCLinuxOS for packages.here I'll parking my packages (if there are even more )saludos
Quote from: margarita on September 20, 2009, 07:02:30 AMI have dropbox installed and an folder PCLinuxOS for packages.here I'll parking my packages (if there are even more )saludos Good.
desktop-file-install --vendor="" \ --delete-original \ --add-category="GTK" \ --add-category="GNOME" \ --add-category="X-MandrivaLinux-Filetools" \ --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
sry, but I need more infoI can't share it with Texstar before the build is complete.I have problems with the desktop-entry, until now I still have no solutionCode: [Select]desktop-file-install --vendor="" \ --delete-original \ --add-category="GTK" \ --add-category="GNOME" \ --add-category="X-MandrivaLinux-Filetools" \ --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*Have in /usr/share/applications/clamtk.desktop but i can't find it in the KDE-Menu.What is wrong here or what is missing?
nextSource: %{name}-%{version}.tar.gzvs.Source: http://downloads.sourceforge.net/clamtk/%{name}-%{version}.tar.gzwhich option is better?But once pausesaludos