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