LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File MIFit.spec of Package MIFit (Project home:baysmith)

Name:           MIFit
Version:        2009.09
Release:        1
Summary:        A protein crystallography fitting application
License:        GPLv2
URL:            http://code.google.com/p/mifit
Group:          Science/Crystallography

Source:         %{name}-%{version}-1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  boost-devel

%if 0%{?suse_version}
Requires:       libqt4
BuildRequires:  libqt4-devel

%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
Requires:       qt4
BuildRequires:  qt4-devel
%if 0%{?centos_version}
BuildRequires:  gcc-c++

BuildRequires:  -post-build-checks

MIFit is a cross-platform interactive graphics application
for molecular modeling, fitting, and refinement of protein
structures from x-ray crystallography.

%define mifitdir /opt/%{name}

%if 0%{?fedora_version}
%define qmake qmake-qt4
%if 0%{?rhel_version} || 0%{?centos_version}
%define qmake /usr/lib/qt4/bin/qmake
%define qmake qmake


%qmake -r MI.pro PREFIX=$RPM_BUILD_ROOT/%{mifitdir}

%__make install