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