forked from pjbriggs/fedora-rpms-bioinf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaffymetrix-apt.spec
64 lines (50 loc) · 2.08 KB
/
affymetrix-apt.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
Name: affymetrix-apt
Version: 1.14.3.1
Release: 1%{?dist}
Summary: Tools for analyzing and working with Affymetrix GeneChip arrays
Group: Applications/Productivity
License: LGPLv2
URL: http://www.affymetrix.com/partners_programs/programs/developer/tools/powertools.affx
Source0: http://www.affymetrix.com/estore/partners_programs/programs/developer/apt_download/apt_thank_you.affx?onloadforward=http://media.affymetrix.com//Download/updates/apt-%{version}-src.zip
Patch0: affymetrix-apt-configure-gcc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cppunit-devel
%description
Affymetrix Power Tools (APT) are a set of cross-platform command line programs
that implement algorithms for analyzing and working with Affymetrix GeneChip
arrays. APT is an open-source project licensed under the GNU General Public
License (GPL). (Developers who need a non-GPL license may purchase a commercial
license from Affymetrix.) APT programs are intended for "power users" who
prefer programs that can be utilized in scripting environments and are
sophisticated enough to handle the complexity of extra features and
functionality. The vision is that APT provides a platform for developing and
deploying new algorithms without waiting for the GUI implementations.
%prep
%setup -q -n apt-%{version}-src
# Patch sdk/configure to deal with gcc 4.6.x
%patch0 -p1
%build
cd sdk
./configure
make
%install
rm -rf %{buildroot}
# Doesn't have a make install of its own so fudge it here
mkdir -p %{buildroot}%{_bindir}
cp sdk/output/amd64-pc-linux/bin/apt-* %{buildroot}%{_bindir}
rm %{buildroot}%{_bindir}/apt-rt-*
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/*
%changelog
* Thu Jan 26 2012 Peter Briggs <[email protected]> - 1.14.3.1-1
- updated to 1.14.3.1
- add patch for compiling with gcc 4.6.x
* Fri Oct 21 2011 Adam Huffman <[email protected]> - 1.14.3-2
- use macros for %%buildroot and %%_bindir
- add BR for cppunit-devel
- fix license
* Fri Oct 14 2011 Peter Briggs <[email protected]> - 1.14.3-1
- initial version