Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
b76323c0b9 dist-git conversion 2010-07-29 14:58:08 +00:00
Bill Nottingham
b7d71aace6 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:13:36 +00:00
8c1c2d70d0 Initial import 2009-01-26 22:58:35 +00:00
bd619168e8 Initialize branch F-10 for vhybridize 2009-01-26 22:25:43 +00:00
5 changed files with 64 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
vhybridize-0.5.9.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: vhybridize
# $Id$
NAME := vhybridize
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
f962b32a9bae82bd67e28f29ad783327 vhybridize-0.5.9.tar.gz

62
vhybridize.spec Normal file
View file

@ -0,0 +1,62 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: vhybridize
Version: 0.5.9
Release: 2%{?dist}
Summary: Virtual Hybridization command line tools
Group: Applications/Engineering
License: GPLv3+
URL: http://ygingras.net/bioinfo
Source0: http://ygingras.net/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
BuildRequires: python-setuptools-devel
%description
Virtual Hybridization uses sets of short probes to generate datasets
for comparative genomics: given a DNA sequence and a set of probes,
the typical output will give a sequence of oriented probe hits along
the DNA sequence. Other tools are supplied to allow simple manipulations
such as format conversion and extraction of permutations.
%prep
%setup -q
%build
python ./setup.py build
%install
rm -rf %{buildroot}
python ./setup.py install --skip-build --root %{buildroot}
#remove shebang
for file in \
%{buildroot}%{python_sitelib}/%{name}/scripts/{to_permutation.py,split_multi_fasta.py} \
%{buildroot}%{python_sitelib}/%{name}/{utils.py,locate.py} \
%{buildroot}%{python_sitelib}/%{name}/scripts/{to_vhx.py,merge.py,filter.py}; do
sed -i -e '/^#!\//, 1d' $file
done
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt COPYING.txt README.txt TODO.txt docs/ examples/
%{_bindir}/vhy*
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}*.egg-info
%changelog
* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.9-2
- Fixes from #481509 Comment #1
* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.9-1
- Initial package for Fedora