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