-
Notifications
You must be signed in to change notification settings - Fork 1
/
libsequence.spec
78 lines (54 loc) · 1.53 KB
/
libsequence.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# libsequence2.spec
#
# Copyright (c) 2002 Kevin Thornton [email protected]
#
Name: libsequence
Version: 1.7.3
Release: 3%{?dist}
Summary: Genomics and evolutionary genetics library
License: GPLv2
URL: http://molpopgen.org/software/%{name}.html
Source0: http://molpopgen.org/software/%{name}/%{name}-%{version}.tar.gz
Group: Development/Libraries
BuildRequires: boost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
a library for various sequence I/O operations
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure
make
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make install DESTDIR=%{buildroot}
rm %{buildroot}/%{_libdir}/%{name}.*a
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog
%{_libdir}/%{name}*.so.*
%files devel
%defattr(-,root,root)
%doc doc examples
%{_includedir}/Sequence
%{_libdir}/%{name}*.so
%changelog
* Mon Sep 12 2011 Adam Huffman <[email protected]> - 1.7.3-3
- remove unnecessary upstream spec cruft
* Fri Sep 9 2011 Adam Huffman <[email protected]> - 1.7.3-2
- -devel subpackage
- fix install
* Thu Aug 18 2011 Adam Huffman <[email protected]> - 1.7.3-1
- initial version, based on upstream template