File ugene.spec of Package ugene_f

Name:    ugene
Summary: Integrated bioinformatics toolkit
Version: 1.3.2
Release: 2%{?dist}
License: GPLv2+
Group:   Applications/Engineering
URL:     http://ugene.unipro.ru
#Source0: http://ugene.unipro.ru/downloads/%{name}-%{version}.tar.gz
Source:  %{name}-%{version}.tar.gz

Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: qt-devel >= 4.4 zlib-devel desktop-file-utils
Requires:  qt >= 4.4 qt-x11 >= 4.4

%description
Unipro UGENE is a cross-platform visual environment for DNA and protein
sequence analysis. UGENE integrates the most important bioinformatics
computational algorithms and provides an easy-to-use GUI for performing
complex analysis of the genomic data. One of the main features of UGENE
is a designer for custom bioinformatics workflows.

%prep
%setup -q

%build
qmake-qt4 -r
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install INSTALL_ROOT=%{buildroot}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/ugene/
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/ugene/
%{_mandir}/man1/*
%doc COPYRIGHT LICENSE

%changelog
* Fri Jan 30 2009 Ivan Efremov <iefremov@unipro.ru> - 1.3.2-2
- added desktop-file-validate entry

* Wed Jan 28 2009 Ivan Efremov <iefremov@unipro.ru> - 1.3.2-1
- Initial release of rpm (#481717)