LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bedops.spec of Package bedops (Project home:peralta_jm:bioinformatics)

#
# spec file for package bedopts
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

Name:           bedops
Version:        2.3.0.1a
Release:        1
License:        GPL-2.0
Summary:        High-performance genomic feature operations
Group:          Scientific/Bioinformatics
URL:            https://github.com/bedops/
#Source:         https://github.com/%{name}/%{name}/archive/v%{version}.zip
Source0:        %{name}-%{version}.zip

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++ >= 4.7
BuildRequires:  glibc-devel-static
BuildRequires:  python
BuildRequires:  python-sphinx
BuildRequires:  unzip
BuildRequires:  gzip

#Requires:       

%description
BEDOPS is a suite of tools to address common questions raised in genomic 
studies — mostly with regard to overlap and proximity relationships between 
data sets. It aims to be scalable and flexible, facilitating the efficient and 
accurate analysis and management of large-scale genomic data.

%prep
%setup -q

%build
%__make %{?_smp_mflags} static

cd docs
%__make man

%install
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

# Copy binaries
%__mkdir_p %{buildroot}%{_bindir}
%__make BINDIR=%{buildroot}%{_bindir} install

# Compress and copy man pages
%__mkdir_p %{buildroot}%{_mandir}/man1
for f in docs/_build/man/*; do
  %__gzip $f
done
cp docs/_build/man/* %{buildroot}%{_mandir}/man1

# Prepare docs
%__mv README.md README

%files
%defattr(-,root,root)
%doc README LICENSE
%{_bindir}/*
%{_mandir}/*

%changelog
* Wed Dec 18 2013 peralta_jm@yahoo.com
- Initial package