Name: wise Version: 2.4.1 Release: 2 Summary: Comparisons of DNA and protein sequences Group: Sciences/Biology License: GPL URL: https://www.ebi.ac.uk/~birney/wise2/ Source0: http://www.ebi.ac.uk/~birney/%{name}2/wise%{version}.tar.gz Patch0: wise-2.4.1-fix_format.patch # (debian) Patch1: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-build.patch Patch2: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-isnumber.patch Patch3: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-glib2.patch Patch4: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-getline.patch Patch5: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-ld--as-needed.patch Patch6: https://src.fedoraproject.org/rpms/wise2/raw/rawhide/f/%{name}2-mayhem.patch BuildRequires: pkgconfig(glib-2.0) %description Wise2 is a package focused on comparisons of biopolymers, commonly DNA and protein sequence. Wise2's particular forte is the comparison of DNA sequence at the level of its protein translation. This comparison allows the simulta- neous prediction of say gene structure with homology based alignment. The Wise2 package was principally written by Ewan Birney, who wrote the main genewise and estwise programs. The protein comparison database search program was written by Richard Copley using the underlying Wise2 libraries. Wise2 also uses code from Sean Eddy for reading HMMs and for Extreme value distribution fitting. %files %doc README LICENSE docs %{_bindir}/* %{_datadir}/%{name} %config(noreplace) %{_sysconfdir}/profile.d/* #-------------------------------------------------------------------- %prep %autosetup -p1 -n %{name}%{version} ## fix interpreter in examples sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' docs/gettex.pl %build %before_configure make -C src CFLAGS="-c %{optflags} %(pkg-config --cflags glib-2.0) -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L" realall %install # binaries install -dm 755 %{buildroot}%{_bindir} #install -m 755 src/models/{pswdb,psw,genewisedb,estwisedb,estwise,genewise,dba,dnal,genomewise} %{buildroot}%{_bindir} install -pm 755 src/models/{dba,dnal,estwise,estwisedb,genewise,genewisedb,promoterwise,psw,pswdb,scanwise,sywise} %{buildroot}%{_bindir} # data install -dm 755 %{buildroot}%{_datadir}/%{name} install -pm 644 wisecfg/* %{buildroot}%{_datadir}/%{name} # configuration install -dm 755 %{buildroot}%{_sysconfdir}/profile.d echo "export WISECONFIGDIR=%{_datadir}/%{name}" > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh echo "setenv WISECONFIGDIR %{_datadir}/%{name}" > %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh %check export WISECONFIGDIR=$PWD/wisecfg make -C src test %changelog * Wed Dec 08 2010 Oden Eriksson 2.2.0-9mdv2011.0 + Revision: 615450 - the mass rebuild of 2010.1 packages * Mon Mar 15 2010 Eric Fernandez 2.2.0-8mdv2010.1 + Revision: 519888 - rebuild * Wed Aug 19 2009 Eric Fernandez 2.2.0-7mdv2010.0 + Revision: 417945 - compilation fix * Wed May 06 2009 Eric Fernandez 2.2.0-6mdv2010.0 + Revision: 372448 - rebuild * Thu Jan 03 2008 Olivier Blin 2.2.0-5mdv2008.1 + Revision: 140932 - restore BuildRoot + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Wed Aug 08 2007 Eric Fernandez 2.2.0-5mdv2008.0 + Revision: 60257 - version number fix * Tue Dec 19 2006 Eric Fernandez 2.2.0-4mdv2007.0 + Revision: 100256 - Import wise * Mon Jun 26 2006 Eric Fernandez 2.2.0-4mdv2007.0 - rebuild - use mkrel * Fri Jul 29 2005 Guillaume Rousse 2.2.0-3mdk - spec cleanup * Fri Jul 23 2004 Guillaume Rousse 2.2.0-2mdk - rpmbuildupdate aware * Sat Jan 24 2004 Guillaume Rousse 2.2.0-1mdk - first mdk release, after a spec file stolen from Luc Ducazu