]> git.pld-linux.org Git - packages/dx.git/blob - dx.spec
- added missing BRs,
[packages/dx.git] / dx.spec
1 Summary:        Excellent tool for making visualization of data
2 Summary(pl):    Doskona³e narzêdzie do wizualizacji danych
3 Name:           dx
4 Version:        4.3.2
5 Release:        2
6 License:        IPL
7 Group:          Applications
8 Source0:        http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
9 # Source0-md5:  201afdd86a5ddcfda0dc60fc7b6d3fea
10 Source1:        http://opendx.npaci.edu/source/%{name}samples-%{version}.tar.gz
11 # Source1-md5:  940eece74fc2bf001a8017f9df18daac
12 Patch0:         %{name}-DESTDIR.patch
13 URL:            http://www.opendx.org/
14 BuildRequires:  ImageMagick-devel
15 BuildRequires:  OpenGL-devel-base
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bison
19 BuildRequires:  flex
20 BuildRequires:  hdf-devel
21 BuildRequires:  libtool
22 BuildRequires:  libtiff-devel
23 BuildRequires:  motif-devel
24 BuildRequires:  netcdf-devel
25 Requires:       %{name}-libs = %{version}
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 OpenDX is a uniquely powerful, full-featured software package for the
30 visualization of scientific, engineering and analytical data: Its open
31 system design is built on a standard interface environments. And its
32 sophisticated data model provides users with great flexibility in
33 creating visualizations.
34
35 %description -l pl
36 OpenDX jest w pe³ni funkcjonalnym, o unikalnych mo¿liwo¶ciach,
37 pakietem do wizualizacji danych naukowych, in¿ynierskich i
38 analitycznych. Zosta³ zaprojektowany w sposób otwarty, w oparciu o
39 standardowe ¶rodowiska interfejstów. Jego przemy¶lany model danych
40 daje u¿ytkownikom du¿± elastyczno¶æ w tworzeniu wizualizacji.
41
42 %package libs
43 Summary:        OpenDX shared libraries
44 Summary(pl):    Biblioteki wspó³dzielone OpenDX
45 Group:          Libraries
46
47 %description libs
48 OpenDX shared libraries.
49
50 %description libs -l pl
51 Biblioteki wspó³dzielone OpenDX.
52
53 %package devel
54 Summary:        OpenDX development files
55 Summary(pl):    Pliki nag³ówkowe OpenDX
56 Group:          Development/Libraries
57 Requires:       %{name}-libs = %{version}
58
59 %description devel
60 OpenDX development files.
61
62 %description devel -l pl
63 Pliki nag³ówkowe OpenDX oraz inne pliki, potrzebne do budowania.
64
65 %package doc
66 Summary:        OpenDX documentation
67 Summary(pl):    Dokumentacja OpenDX
68 Group:          Documentation
69
70 %description doc
71 Online help and html documentation for OpenDX.
72
73 %description doc -l pl
74 Podrêczna pomoc oraz dokumentacja html dla OpenDX.
75
76 %prep
77 %setup  -q
78 #%patch0 -p1
79
80 %build
81 rm -f missing aclocal.m4
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoheader}
85 %{__autoconf}
86 %{__automake}
87 %configure \
88         --prefix=%{_datadir} \
89         --enable-shared \
90         --disable-static \
91         --disable-dependency-tracking \
92         --enable-smp-linux \
93         --enable-new-keylayout \
94         --without-javadx
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}} \
105         $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}
106
107 mv $RPM_BUILD_ROOT%{_datadir}/bin/dx $RPM_BUILD_ROOT%{_bindir}
108 mv $RPM_BUILD_ROOT%{_datadir}/dx/man/manl $RPM_BUILD_ROOT%{_mandir}
109 mv $RPM_BUILD_ROOT%{_datadir}/dx/include/* $RPM_BUILD_ROOT%{_includedir}
110 mv $RPM_BUILD_ROOT%{_datadir}/dx/h* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}
111 mv $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux $RPM_BUILD_ROOT%{_libdir}/dx
112 mv $RPM_BUILD_ROOT%{_datadir}/dx/bin_linux $RPM_BUILD_ROOT%{_libdir}/dx
113 #ln -s %{_libdir}/dx $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux
114 ln -s %{_libdir}/dx/bin_linux $RPM_BUILD_ROOT%{_datadir}/dx
115 ln -s %{_docdir}/%{name}-doc-%{version}/help $RPM_BUILD_ROOT%{_datadir}/dx/help
116 ln -s %{_docdir}/%{name}-doc-%{version}/html $RPM_BUILD_ROOT%{_datadir}/dx/html
117 rm -rf $RPM_BUILD_ROOT%{_datadir}/{bin,dx/{bin/dx,man,include,doc}}
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %files
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/*
125 %dir %{_datadir}/dx
126 %attr(755,root,root) %{_datadir}/dx/bin
127 %{_datadir}/dx/bin_linux
128 %{_datadir}/dx/fonts
129 %{_datadir}/dx/lib
130 %{_datadir}/dx/ui
131 %doc doc/README*
132 %{_mandir}/manl/*
133
134 %files libs
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/*
137 %exclude %{_libdir}/dx/*.mak
138 %exclude %{_libdir}/dx/*.la
139 %exclude %{_libdir}/dx/*.so
140
141 %files devel
142 %defattr(644,root,root,755)
143 %{_includedir}/*
144 %{_libdir}/dx/*.mak
145 %{_libdir}/dx/*.la
146 %{_libdir}/dx/*.so
147
148 %files doc
149 %defattr(644,root,root,755)
150 %{_docdir}/%{name}-doc-%{version}
151 %{_datadir}/dx/h*
This page took 0.110848 seconds and 3 git commands to generate.