Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b76323c0b9 | ||
|
|
b7d71aace6 | ||
| 8c1c2d70d0 | |||
| bd619168e8 |
5 changed files with 64 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
vhybridize-0.5.9.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
f962b32a9bae82bd67e28f29ad783327 vhybridize-0.5.9.tar.gz
|
||||
62
vhybridize.spec
Normal file
62
vhybridize.spec
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue