1 Summary: NDF - NDF (N-dimensional Data Format) data structure routines
2 Summary(pl.UTF-8): NDF - funkcje do struktur danych NDF (N-wymiarowego formatu danych)
6 License: non-commercial use and distribution (see NDF_CONDITIONS)
8 Source0: ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/ndf/ndf.tar.Z
9 # Source0-md5: 33103b5672be45d20a33727b055ef139
10 URL: http://www.starlink.rl.ac.uk/static_www/soft_further_NDF.html
11 BuildRequires: gcc-g77
12 BuildRequires: sed >= 4.0
13 BuildRequires: starlink-ary-devel
14 BuildRequires: starlink-ast-devel
15 BuildRequires: starlink-par-devel
16 BuildRequires: starlink-sae-devel
17 Requires: starlink-sae
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define stardir /usr/lib/star
23 The Extensible N-Dimensional Data Format (NDF) is a format for storing
24 bulk data in the form of N-dimensional arrays of numbers. It is
25 typically used for storing spectra, images and similar datasets with
26 higher dimensionality. The NDF format is based on the Hierarchical
27 Data System HDS and is extensible; not only does it provide a
28 comprehensive set of standard ancillary items to describe the data, it
29 can also be extended indefinitely to handle additional user-defined
30 information of any type.
32 %description -l pl.UTF-8
33 NDF (N-Dimensional Data Format - n-wymiarowy format danych) to format
34 służący do przechowywania danych w postaci n-wymiarowych tablic liczb.
35 Jest zwykle używany do przechowywania widm, obrazów i podobnych
36 zbiorów danych o większej liczbie wymiarów. Format NDF jest oparty na
37 hierarchicznym systemie danych HDS i jest rozszerzalny; nie tylko
38 dostarcza kompletnego zbioru standardowych elementów pomocniczych do
39 opisu danych, ale może być także nieskończenie rozszerzany do obsługi
40 dodatkowych zdefiniowanych przez użytkownika informacji dowolnego
44 Summary: Header files for NDF libraries
45 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek NDF
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: starlink-ary-devel
49 Requires: starlink-ast-devel
50 Requires: starlink-par-devel
53 Header files for NDF libraries.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe bibliotek NDF.
59 Summary: Static Starlink NDF libraries
60 Summary(pl.UTF-8): Statyczne biblioteki Starlink NDF
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static Starlink NDF libraries.
67 %description static -l pl.UTF-8
68 Statyczne biblioteki Starlink NDF.
73 sed -i -e "s/ -O2\\? / %{rpmcflags} /;s/ ld -shared -soname / g77 -shared \\\$\\\$3 -Wl,-soname=/" mk
74 sed -i -e "s/\\('-L\\\$(STAR_\\)LIB) /\\1SHARE) /;s/-lerr /-lerr_standalone -last /;s/-lerr_adam /&-last -lpar_adam -ltask_adam /" makefile
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{stardir}/help
88 INSTALL=$RPM_BUILD_ROOT%{stardir}
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc NDF_CONDITIONS ndf.news
100 %docdir %{stardir}/docs
104 %attr(755,root,root) %{stardir}/share/*.so
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{stardir}/bin/ndf_dev
109 %attr(755,root,root) %{stardir}/bin/ndf_link*
113 %defattr(644,root,root,755)