Name: kfilefactory Version: 0.1.1 Release: 1%{?dist} Summary: An application for sharing files on FileFactory Group: Applications/Internet License: GPLv2 URL: http://kde-apps.org/content/show.php/kfilefactory?content=105900 Source0: http://kde-apps.org/CONTENT/content-files/105900-%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # This patch fixes the path of the kfilefactory executable. Patch0: kfilefactory_desktop_file.patch BuildRequires: desktop-file-utils, kde-filesystem Requires: perl, perl-libwww-perl, kdebase-workspace %description kfilefactory installs an action menu in dolphin. It compresses a file or directory and uploads the resulting password protected zip file to filefactory.com. %prep %setup -q %patch0 -p1 %build %install rm -rf $RPM_BUILD_ROOT install -Dpm 0755 kfilefactory_kde4.pl $RPM_BUILD_ROOT%{_kde4_libexecdir}/kfilefactory install -Dpm 0755 kfilefactory.desktop $RPM_BUILD_ROOT%{_kde4_datadir}/kde4/services/ServiceMenus/kfilefactory.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_kde4_libexecdir}/kfilefactory %{_kde4_datadir}/kde4/services/ServiceMenus/kfilefactory.desktop %doc CHANGELOG LICENSE README %changelog * Sun Jun 6 2010 Aditya Patawari - 0.1.1-1 - Initial Build