Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
wise2
wise2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wise2.spec of Package wise2
# # spec file for package wise2 # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: wise2 Summary: Advanced Comparison of Protein Sequence to Genomic DNA Sequence License: GPL-2.0 and BSD-3-Clause Group: Productivity/Scientific/Other Version: 2.4.1 Release: 0 Url: https://www.ebi.ac.uk/~birney/wise2/ Source: https://www.ebi.ac.uk/~birney/wise2/wise%{version}.tar.gz # remove exec of welcome.csh Patch0: wise2-welcome.patch # fix sqio getline http://bugs.gentoo.org/278307 Patch1: wise2-hmmer2-sqio.patch # Use a default for the configdir in case WISECONFIGDIR is not set Patch2: add_WISECONFIGDIR_default.patch BuildRequires: fdupes BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: make %description Wise2 is a package focused on comparisons of bio polymers, commonly DNA sequence and protein sequence. %prep %autosetup -n wise%{version} -p1 # glib2 compat find . -type f -iname makefile -print -exec \ sed -i -e 's#glib-config --cflags#pkg-config --cflags glib-2.0#g' \ -e 's#glib-config --libs#pkg-config --libs glib-2.0#g' \ -e 's#-ldyna_glib#-ldyna_glib `pkg-config --libs glib-2.0` #' '{}' \; # replace non-standard isnumber with Posix/C99 isdigit sed -i -e 's/isnumber/isdigit/' src/models/phasemodel.c #remove exec permission chmod -x test_data/rrm.HMM %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" cd src %make_build all %install install -m 755 -D -t %{buildroot}/%{_bindir}/ src/bin/* mkdir -p %{buildroot}/%{_datadir}/%{name} cp -r test_data wisecfg %{buildroot}/%{_datadir}/%{name}/ %fdupes %{buildroot}%{_datadir} %files %{_bindir}/* %doc docs README %license LICENSE %{_datadir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor