add devel package
Signed-off-by: He Rengui <herengui@uniontech.com>
This commit is contained in:
parent
17127068f1
commit
83cfee1c12
@ -1,12 +1,12 @@
|
|||||||
Name: samtools
|
Name: samtools
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Tools (written in C using htslib) for manipulating next-generation sequencing data
|
Summary: Tools (written in C using htslib) for manipulating next-generation sequencing data
|
||||||
License: MIT and BSD
|
License: MIT and BSD
|
||||||
URL: http://www.htslib.org
|
URL: http://www.htslib.org
|
||||||
Source0: https://github.com/samtools/samtools/archive/%{name}-%{version}.tar.bz2
|
Source0: https://github.com/samtools/samtools/archive/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: gcc gdb autoconf automake make zlib-devel htslib-devel perl-Getopt-Long ncurses-devel
|
BuildRequires: gcc gdb autoconf automake make zlib-devel htslib-devel perl-Getopt-Long ncurses-devel bzip2-devel xz-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The original samtools package has been split into three separate but tightly coordinated projects:
|
The original samtools package has been split into three separate but tightly coordinated projects:
|
||||||
@ -15,9 +15,16 @@ The original samtools package has been split into three separate but tightly coo
|
|||||||
bcftools: calling and other tools for handling VCF, BCF
|
bcftools: calling and other tools for handling VCF, BCF
|
||||||
See also http://github.com/samtools/
|
See also http://github.com/samtools/
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Header files and libraries for compiling against %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files and libraries for compiling against %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}/
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoheader
|
autoheader
|
||||||
@ -27,6 +34,9 @@ autoconf -Wno-syntax
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
install -d -m 0755 %{buildroot}%{_includedir}/bam
|
||||||
|
install -p -m 0644 *.h %{buildroot}%{_includedir}/bam
|
||||||
|
install -D -p -m 0755 libbam.a %{buildroot}%{_libdir}/libbam.a
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%preun
|
%preun
|
||||||
@ -41,8 +51,15 @@ autoconf -Wno-syntax
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/*
|
%{_mandir}/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/bam
|
||||||
|
%{_libdir}/libbam.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 25 2021 herengui <herengui@uniontech.com> - 1.12-2
|
||||||
|
- Add devel package
|
||||||
|
|
||||||
* Thu Mar 18 2021 yangzhao <yangzhao1@kylinos.cn> - 1.12-1
|
* Thu Mar 18 2021 yangzhao <yangzhao1@kylinos.cn> - 1.12-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user