File dukto.spec of Package dukto

%define debug_package %{nil}

Name:           dukto
Version:        6.0
Release:        13.1
Summary:        Dukto R6 file transfer tool
Group:          Applications/Networking
License:        GPL
Source:         %{name}-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  desktop-file-utils libpng-devel

%if 0%{?suse_version}
BuildRequires:  libqt4-devel >= 4.7.0
Requires:       libqt4 >= 4.7.0
BuildRequires:   update-desktop-files
BuildRequires:  qt-devel >= 4.7.0
Requires:       qt >= 4.7.0

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Dukto is an easy file transfer tool designed for LAN use.
You can use it to transfer files from one PC to another,
without worrying about users, permissions, operating systems,
protocols, clients, servers and so on... Just start dukto on
the two PCs and transfer files and folders by dragging
onto it's window.

%setup -q

%if 0%{?suse_version}
/usr/bin/qmake %{name}.pro
/usr/bin/qmake-qt4 %{name}.pro
%if 0%{?suse_version}
%suse_update_desktop_file -n %{name} FileTransfer

%__install -D -m0755 -s %{name} "%{buildroot}%{_bindir}/%{name}"
%__install -D -m0644 %{name}.png "%{buildroot}%{_datadir}/pixmaps/%{name}.png"

echo 'Categories=Application;Network;' >> %{name}.desktop
desktop-file-install --dir "%{buildroot}%{_datadir}/applications" %{name}.desktop

%{__rm} -rf %{buildroot}


openSUSE Build Service is sponsored by