]> git.pld-linux.org Git - packages/dx.git/blame - dx.spec
- rel 9 (new ImageMagick)
[packages/dx.git] / dx.spec
CommitLineData
2f333b73 1Summary: Excellent tool for making visualization of data
bbe5b64c 2Summary(pl.UTF-8): Doskonałe narzędzie do wizualizacji danych
87ff9ddb 3Name: dx
06b6bf25 4Version: 4.4.4
76f2865b 5Release: 9
2f7c6ea3 6License: IPL
87ff9ddb 7Group: Applications
4f56f054 8Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
06b6bf25
JR
9# Source0-md5: 6da0c4cd21d3c08f97b7662e3aee5b7b
10Source1: http://opendx.npaci.edu/source/%{name}samples-4.4.0.tar.gz
4e8e9895 11# Source1-md5: e8f43722ca0a66282608bded7c0e4f93
5f61fa7f 12Source2: %{name}.desktop
4f56f054 13Patch0: %{name}-DESTDIR.patch
aa5c8b82 14Patch1: %{name}-nolibs.patch
5f61fa7f 15Patch2: dxsamples-DESTDIR.patch
5a4d0763 16Patch3: dxsamples-unused_bin.patch
8f58c354 17Patch4: %{name}-include.patch
4a53e0e8
JR
18Patch5: %{name}-ac.patch
19Patch6: %{name}-ImageMagic.patch
fff3497b
JR
20Patch7: %{name}-open.patch
21Patch8: %{name}-gcc43.patch
87ff9ddb 22URL: http://www.opendx.org/
e9c28b4e 23BuildRequires: ImageMagick-devel >= 1:6.2.4.0
6c8c71df 24BuildRequires: OpenGL-devel
fff3497b 25BuildRequires: OpenGL-GLU-devel
92191875 26BuildRequires: autoconf >= 2.57
098f7bd8 27BuildRequires: automake
2f333b73 28BuildRequires: bison
098f7bd8 29BuildRequires: flex
2f333b73 30BuildRequires: hdf-devel
dee13415 31BuildRequires: libjpeg-devel
2f333b73
TP
32BuildRequires: libtool
33BuildRequires: libtiff-devel
34BuildRequires: motif-devel
35BuildRequires: netcdf-devel
fff3497b
JR
36BuildRequires: xorg-lib-libXinerama-devel
37BuildRequires: xorg-lib-libXpm-devel
38Requires: openssh-clients
aa5c8b82 39Requires: %{name}-libs = %{version}-%{release}
56cc8230 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
dee13415
TP
42%define specflags_ia32 -fomit-frame-pointer
43
87ff9ddb 44%description
56cc8230 45OpenDX is a uniquely powerful, full-featured software package for the
4f56f054
MP
46visualization of scientific, engineering and analytical data: Its open
47system design is built on a standard interface environments. And its
48sophisticated data model provides users with great flexibility in
49creating visualizations.
56cc8230 50
dcb1af5f
JR
51%description -l pl.UTF-8
52OpenDX jest w pełni funkcjonalnym, o unikalnych możliwościach,
53pakietem do wizualizacji danych naukowych, inżynierskich i
54analitycznych. Został zaprojektowany w sposób otwarty, w oparciu o
55standardowe środowiska interfejsów. Jego przemyślany model danych
56daje użytkownikom dużą elastyczność w tworzeniu wizualizacji.
56cc8230 57
2f333b73
TP
58%package libs
59Summary: OpenDX shared libraries
bbe5b64c 60Summary(pl.UTF-8): Biblioteki współdzielone OpenDX
2f333b73
TP
61Group: Libraries
62
63%description libs
64OpenDX shared libraries.
65
dcb1af5f
JR
66%description libs -l pl.UTF-8
67Biblioteki współdzielone OpenDX.
2f333b73
TP
68
69%package devel
70Summary: OpenDX development files
bbe5b64c 71Summary(pl.UTF-8): Pliki nagłówkowe OpenDX
2f333b73 72Group: Development/Libraries
aa5c8b82 73Requires: %{name}-libs = %{version}-%{release}
2f333b73
TP
74
75%description devel
76OpenDX development files.
77
dcb1af5f
JR
78%description devel -l pl.UTF-8
79Pliki nagłówkowe OpenDX oraz inne pliki, potrzebne do budowania.
2f333b73 80
e7df76ed
TP
81%package static
82Summary: OpenDX static libraries
bbe5b64c 83Summary(pl.UTF-8): Biblioteki statyczne OpenDX
e7df76ed 84Group: Development/Libraries
aa5c8b82 85Requires: %{name}-devel = %{version}-%{release}
e7df76ed
TP
86
87%description static
88OpenDX static libraries.
89
dcb1af5f 90%description static -l pl.UTF-8
e7df76ed
TP
91Biblioteki statyczne OpenDX.
92
2f333b73
TP
93%package doc
94Summary: OpenDX documentation
bbe5b64c 95Summary(pl.UTF-8): Dokumentacja OpenDX
2f333b73
TP
96Group: Documentation
97
98%description doc
99Online help and html documentation for OpenDX.
100
dcb1af5f
JR
101%description doc -l pl.UTF-8
102Podręczna pomoc oraz dokumentacja html dla OpenDX.
2f333b73 103
5a4d0763 104%package examples
105Summary: OpenDX Examples
bbe5b64c 106Summary(pl.UTF-8): Przykłady dla OpenDX
5a4d0763 107Group: Documentation
108
109%description examples
110Examples for OpenDX.
111
dcb1af5f
JR
112%description examples -l pl.UTF-8
113Przykłady dla OpenDX.
5a4d0763 114
56cc8230 115%prep
5a4d0763 116%setup -q -a 1
2f333b73 117#%patch0 -p1
aa5c8b82 118%patch1 -p1
5a4d0763 119%patch2 -p0
120%patch3 -p1
8f58c354 121%patch4 -p1
4a53e0e8
JR
122%patch5 -p1
123%patch6 -p1
fff3497b
JR
124%patch7 -p1
125%patch8 -p1
56cc8230 126
127%build
2f333b73 128%{__libtoolize}
4a53e0e8 129%{__aclocal} -I m4
ddde77f0 130%{__autoheader}
098f7bd8 131%{__autoconf}
ddde77f0
MM
132%{__automake}
133%configure \
2f333b73
TP
134 --prefix=%{_datadir} \
135 --enable-shared \
e7df76ed 136 --enable-static \
2f333b73
TP
137 --disable-dependency-tracking \
138 --enable-smp-linux \
139 --enable-new-keylayout \
fff3497b
JR
140 --without-javadx \
141 --with-rsh=%{_bindir}/ssh
56cc8230 142
06b6bf25 143cd %{name}samples-4.4.0
38605a8b 144%{__aclocal}
145%{__autoheader}
146%{__autoconf}
147%{__automake}
148%configure \
5a4d0763 149 --prefix=%{_examplesdir} \
38605a8b 150 --without-javadx
151cd ..
5a4d0763 152
fff3497b 153%{__make} -j1
56cc8230 154
fff3497b 155%{__make} -j1 -C %{name}samples-4.4.0
5a4d0763 156
56cc8230 157%install
158rm -rf $RPM_BUILD_ROOT
56cc8230 159
716598e9
PG
160%{__make} install \
161 DESTDIR=$RPM_BUILD_ROOT
56cc8230 162
06b6bf25 163%{__make} -C %{name}samples-4.4.0 install \
38605a8b 164 DESTDIR=$RPM_BUILD_ROOT
5a4d0763 165
5f61fa7f 166install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir},%{_desktopdir},%{_pixmapsdir}}
5a4d0763 167install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
2f333b73 168
5f61fa7f
TP
169install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
170install src/uipp/ui/icon50.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/dx.xpm
2f333b73
TP
171mv $RPM_BUILD_ROOT%{_datadir}/bin/dx $RPM_BUILD_ROOT%{_bindir}
172mv $RPM_BUILD_ROOT%{_datadir}/dx/man/manl $RPM_BUILD_ROOT%{_mandir}
173mv $RPM_BUILD_ROOT%{_datadir}/dx/include/* $RPM_BUILD_ROOT%{_includedir}
2f333b73
TP
174mv $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux $RPM_BUILD_ROOT%{_libdir}/dx
175mv $RPM_BUILD_ROOT%{_datadir}/dx/bin_linux $RPM_BUILD_ROOT%{_libdir}/dx
5a4d0763 176mv $RPM_BUILD_ROOT%{_examplesdir}/dx/samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
a2ba2395 177ln -s %{_libdir}/dx $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux
2f333b73 178ln -s %{_libdir}/dx/bin_linux $RPM_BUILD_ROOT%{_datadir}/dx
2f333b73 179rm -rf $RPM_BUILD_ROOT%{_datadir}/{bin,dx/{bin/dx,man,include,doc}}
56cc8230 180
56cc8230 181%clean
182rm -rf $RPM_BUILD_ROOT
183
184%files
185%defattr(644,root,root,755)
aa5c8b82 186%doc doc/README*
4f56f054 187%attr(755,root,root) %{_bindir}/*
569780d2 188%dir %{_datadir}/dx
2f333b73 189%attr(755,root,root) %{_datadir}/dx/bin
098f7bd8 190%{_datadir}/dx/bin_linux
569780d2 191%{_datadir}/dx/fonts
2f333b73 192%{_datadir}/dx/lib
a2ba2395 193%{_datadir}/dx/lib_linux
569780d2 194%{_datadir}/dx/ui
2f333b73 195%{_mandir}/manl/*
c17a201a 196%{_desktopdir}/*.desktop
5f61fa7f 197%{_pixmapsdir}/*
2f333b73
TP
198
199%files libs
200%defattr(644,root,root,755)
358b5150
JB
201%dir %{_libdir}/dx
202%attr(755,root,root) %{_libdir}/dx/bin_linux
203%attr(755,root,root) %{_libdir}/dx/lib*.so.*
2f333b73
TP
204
205%files devel
206%defattr(644,root,root,755)
207%{_includedir}/*
208%{_libdir}/dx/*.mak
209%{_libdir}/dx/*.la
210%{_libdir}/dx/*.so
211
e7df76ed
TP
212%files static
213%defattr(644,root,root,755)
214%{_libdir}/dx/*.a
215
2f333b73
TP
216%files doc
217%defattr(644,root,root,755)
2f333b73 218%{_datadir}/dx/h*
5a4d0763 219
220%files examples
221%defattr(644,root,root,755)
222%{_examplesdir}/%{name}-%{version}
This page took 0.054774 seconds and 4 git commands to generate.