-
Notifications
You must be signed in to change notification settings - Fork 1
/
circos-0.69.2-1.spec
80 lines (59 loc) · 2.19 KB
/
circos-0.69.2-1.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
78
79
80
Name: circos
Version: 0.69-2
Release: 1%{?dist}
Summary: Data and information visualization with a circular layout
License: GPLv2+
URL: http://circos.ca
Source0: http://circos.ca/distribution/circos-0.69-2.tgz
BuildArch:
# Correct for lots of packages, other common choices include eg. Module::Build
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
Circos is a software package for visualizing data and information. It
visualizes data in a circular layout — this makes Circos ideal for exploring
relationships between objects or positions. There are other reasons why a
circular layout is advantageous, not the least being the fact that it is
attractive.
Circos is ideal for creating publication-quality infographics and illustrations
with a high data-to-ink ratio, richly layered data and pleasant symmetries. You
have fine control each element in the figure to tailor its focus points and
detail to your audience.
%prep
%setup -q -n circos-0.69-2
%build
# Remove OPTIMIZE=... from noarch packages (unneeded)
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
# Remove the next line from noarch packages (unneeded)
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc
# For noarch packages: vendorlib
%{perl_vendorlib}/*
# For arch-specific packages: vendorarch
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto/
%{_mandir}/man3/*.3*
%changelog
* Fri Mar 18 2016 Adam Huffman <[email protected]>
%install
mkdir -p %{buildroot}%{installroot}
cp -r bin data error etc example fonts lib tiles %{buildroot}%{installroot}
%files
%defattr(644,root,root,755)
%{installroot}
%defattr(755,root,root,755)
%{installroot}/bin
%{installroot}/data/karyotype/parse.karyotype
%{installroot}/data/karyotype/assembly/parse.assembly
%{installroot}/example/run