]> git.pld-linux.org Git - packages/dx.git/blob - dx.spec
set group to aplications, removed empty %pre/post sections
[packages/dx.git] / dx.spec
1 Summary:        Excelent tool to making visualization of data.  
2 Summary(pl):    Doskonale narzedzie do vizualizacji danych
3 Name:           dx      
4 Version:        4.1.0
5 Release:        1
6 Group:          Applications
7 Copyright:      IPL
8 Source0:        http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
9 Source1:        http://opendx.npaci.edu/source/%{name}samples-4.0.8.tar.gz
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-acfix.patch
12 URL:            http://www.opendx.org   
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/X11R6
16 %define         _mandir         %{_prefix}/man
17
18 %description 
19 OpenDX is a uniquely powerful, full-featured software package for the
20 visualization of scientific, engineering and analytical data: Its open
21 system design is built on a standard interface environments. And its
22 sophisticated data model provides users with great flexibility in
23 creating visualizations.
24
25 %description -l pl
26
27 %prep
28 %setup  -q
29 %patch0 -p1
30 %patch1 -p1
31
32 %build
33 autoheader;autoconf;automake; 
34
35 %configure      --prefix=%{_prefix}     \
36                 --datadir=%{_datadir}   \
37                 --mandir=%{_mandir}     
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
44 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
45 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
46 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
47
48
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50
51
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
53         README ChangeLog 
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*
61 %{_includedir}/*
62 %{_includedir}/dx/*
63 %{_libdir}/*
64 %doc /usr/share/doc/dx/*
65 %doc /usr/share/doc/dx/html/*
66 %{_datadir}/dx/fonts/*
67 %{_datadir}/dx/bin/*
68 %{_datadir}/dx/help/*
69 %{_datadir}/dx/ui/*
This page took 0.086004 seconds and 3 git commands to generate.