]> git.pld-linux.org Git - packages/teem.git/blame - teem.spec
- release 2
[packages/teem.git] / teem.spec
CommitLineData
9e81d798
JB
1#
2# Conditional build:
3%bcond_without levmar # LEVMAR optimization algorithm
4#
f9e6cef4
JB
5Summary: Teem - tools to process and visualize scientific data and images
6Summary(pl.UTF-8): Teem - narzędzia do przetwarzania i wizualizacji danych i obrazów naukowych
7Name: teem
8Version: 1.11.0
f1d86642 9Release: 2
f9e6cef4
JB
10License: SLUL v1 (LGPL v2.1+ with linking exception)
11Group: Libraries
12Source0: http://downloads.sourceforge.net/teem/%{name}-%{version}-src.tar.gz
13# Source0-md5: 6b9737e8b7640e18eaf281e830fe59d1
2c37ab6f 14Patch0: %{name}-lib.patch
9e81d798 15Patch1: %{name}-levmar.patch
f9e6cef4
JB
16URL: http://teem.sourceforge.net/
17BuildRequires: bzip2-devel
18BuildRequires: cmake >= 2.4
19BuildRequires: fftw3-devel
9e81d798 20%{?with_levmar:BuildRequires: levmar-devel}
f9e6cef4
JB
21BuildRequires: libpng-devel
22BuildRequires: rpmbuild(macros) >= 1.605
23BuildRequires: zlib-devel
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Teem - tools to process and visualize scientific data and images.
28
29%description -l pl.UTF-8
30Teem - narzędzia do przetwarzania i wizualizacji danych i obrazów
31naukowych.
32
33%package devel
34Summary: Header files for Teem library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Teem
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Header files for Teem library.
41
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki Teem.
44
45%prep
46%setup -q -n %{name}-%{version}-src
2c37ab6f 47%patch0 -p1
9e81d798 48%patch1 -p1
f9e6cef4
JB
49
50%build
51%cmake . \
9e81d798
JB
52 -DTeem_FFTW3=ON \
53 %{?with_levmar:-DTeem_LEVMAR=ON}
f9e6cef4
JB
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
f9e6cef4
JB
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
f9e6cef4
JB
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(644,root,root,755)
70%doc LICENSE.txt README.txt
71%attr(755,root,root) %{_bindir}/gprobe
72%attr(755,root,root) %{_bindir}/ilk
73%attr(755,root,root) %{_bindir}/miter
74%attr(755,root,root) %{_bindir}/mrender
75%attr(755,root,root) %{_bindir}/nrrdSanity
76%attr(755,root,root) %{_bindir}/overrgb
77%attr(755,root,root) %{_bindir}/puller
78%attr(755,root,root) %{_bindir}/tend
79%attr(755,root,root) %{_bindir}/unu
80%attr(755,root,root) %{_bindir}/vprobe
81%attr(755,root,root) %{_libdir}/libteem.so.*.*.*
82%attr(755,root,root) %ghost %{_libdir}/libteem.so.1
83
84%files devel
85%defattr(644,root,root,755)
86%attr(755,root,root) %{_libdir}/libteem.so
87%{_includedir}/teem
88%{_libdir}/cmake/teem
This page took 0.729097 seconds and 4 git commands to generate.