# -*- rpm-spec -*-
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Summary:        Graphical clients for the ARC middleware
Name:           arc-gui-clients
Version:        0.3.0
Release:        1%{?dist}
License:        Apache License V2.0
Group:          unknown
Vendor:         Lunarc, Lund University
Source:         %{name}-%{version}-Source.tar.gz

Requires: nordugrid-arc-plugins-globus >= 2.0, nordugrid-arc >= 2.0, nordugrid-arc-plugins-needed >= 2.0, nordugrid-arc-client >= 2.0, qt >= 4.6, qt-x11 >= 4.6, openssl >= 1.0

BuildRequires: cmake

Prefix: /usr

%description
Graphical clients for the ARC middleware

%prep
%setup -q -n %{name}-%{version}-Source

%build
%cmake .
make

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%post


%postun


%pre


%preun


%files
%defattr(-,root,root,-)
%dir "/usr"
%dir "/usr/share"
%dir "/usr/share/applications"
"/usr/share/applications/arcstat-ui.desktop"
"/usr/share/applications/arccert-ui.desktop"
"/usr/share/applications/arcstorage-ui.desktop"
"/usr/share/applications/arcsub-ui.desktop"
"/usr/share/applications/arcproxy-ui.desktop"
%dir "/usr/bin"
"/usr/bin/arcstat-ui"
"/usr/bin/arcsub-ui"
"/usr/bin/arccert-ui"
"/usr/bin/arcstorage-ui"
"/usr/bin/arcproxy-ui"




%changelog
* Sun Jul 4 2010 Erk <eric.noulard@gmail.com>
  Generated by CPack RPM (no Changelog file were provided)
