Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > b947ac7ca0dc7de5fa2858e9dd4c3564 > files > 2

clustalx-2.1-11.mga5.src.rpm

Summary:        windows interface for the ClustalW multiple sequence alignment program
Name:		clustalx
Version:	2.1
Release:	%mkrel 11
URL:		http://bips.u-strasbg.fr/fr/Documentation/ClustalX/
Source0:	%{name}-%{version}.tar.gz
Requires:       clustalw
BuildRequires:  qt4-devel
License:	GPLv3+ and LGPLv3+
Group:		Sciences/Biology

%description
Clustal X is a new windows interface for the ClustalW multiple sequence
alignment program. It provides an integrated environment for performing
multiple sequence and profile alignments and analysing the results. The
sequence alignment is displayed in a window on the screen. A versatile coloring
scheme has been incorporated allowing you to highlight conserved features in
the alignment. The pull-down menus at the top of the window allow you to select
all the options required for traditional multiple sequence and profile
alignment.

%files
%doc COPYING COPYING.LESSER README
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop

#--------------------------------------------------------------------

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

%build
%qmake_qt4
%make

%install
%__mkdir -p %{buildroot}%{_datadir}/%{name}
cp -a colprot.xml coldna.xml colprint.xml clustalx.hlp %{name} %{buildroot}%{_datadir}/%{name}/

%__mkdir -p %{buildroot}%{_bindir}
cat > %{buildroot}%{_bindir}/%{name} << EOF
#!/bin/sh
%{_datadir}/%{name}/%{name} &
EOF
chmod 755 %{buildroot}%{_bindir}/%{name}

# desktopfile
%__install -d -m755 %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=%{name}
GenericName=%{name}
Comment=windows interface for the ClustalW multiple sequence alignment program
Exec=%{name}
Icon=biology_section
Terminal=false
Type=Application
Categories=Science;Biology;Qt;
EOF


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 2.1-11.mga5
+ Revision: 749944
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.1-10.mga5
+ Revision: 678438
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 2.1-9.mga4
+ Revision: 503364
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 2.1-8.mga3
+ Revision: 347917
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + dmorgan <dmorgan>
    - Fix groups ( mga #3681)

* Wed Jul 13 2011 ahmad <ahmad> 2.1-6.mga2
+ Revision: 123847
- Fix categories, so that it shows up in only one menu

* Tue Jul 12 2011 ahmad <ahmad> 2.1-5.mga2
+ Revision: 122832
- Correct the License tag
- Use a shell script in %%{_bindir} to launch it, symlinking it makes complain
  about some files in %%{_datadir}/%%{name}
- Use the Biology Category for the .desktop file

* Mon Jul 11 2011 ahmad <ahmad> 2.1-4.mga2
+ Revision: 122149
- Fix the .desktop file name in the files list
- Fix the location of the .desktop file
- Fix the /usr/bin/clustalx symlink
- Fix the description wrapping

* Fri May 13 2011 dmorgan <dmorgan> 2.1-3.mga1
+ Revision: 97893
- Fix BR
- Fix macro
- Fix requires
- imported package clustalx