1 Summary: HDS - Hierarchical Data System
2 Summary(pl.UTF-8): HDS - hierarchiczny system danych
8 Source0: ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/hds/hds.tar.Z
9 # Source0-md5: 958b8eba37e53175bc890d70257908da
10 URL: http://www.starlink.rl.ac.uk/static_www/soft_further_HDS.html
11 BuildRequires: gcc-g77
12 BuildRequires: sed >= 4.0
13 BuildRequires: starlink-chr-devel
14 BuildRequires: starlink-ems-devel
15 BuildRequires: starlink-sae-devel
16 Requires: starlink-sae
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define stardir /usr/lib/star
22 HDS is a file-based hierarchical data system designed for the storage
23 of a wide variety of information. It is particularly suited to the
24 storage of large multi-dimensional arrays (with their ancillary data)
25 where efficient access is needed.
27 HDS organises data into hierarchies, broadly similar to the directory
28 structure of a hierarchical filing system, but contained within a
29 single HDS container file. The structures stored in these files are
30 self-describing and flexible; HDS supports modification and extension
31 of structures previously created, as well as deletion, copying,
34 All information stored in HDS files is portable between the machines
35 on which HDS is implemented. Thus, there are no format conversion
36 problems when moving between machines.
38 %description -l pl.UTF-8
39 HDS to oparty na plikach hierarchiczny system danych opracowany do
40 przechowywania różnych informacji. W szczególności jest dopasowany do
41 przechowywania dużych wielowymiarowych tablic (z ich danymi
42 pomocniczymi), gdzie potrzebny jest wydajny dostęp.
44 HDS organizuje dane w hierarchie, podobnie jak struktury katalogów w
45 hierarchicznym systemie plików, ale zawarte w pojedynczym pliku
46 kontenera HDS. Struktury zapisane w tych plikach są samoopisujące się
47 i elastyczne; HDS obsługuje modyfikowanie i rozszerzanie poprzednio
48 utworzonych struktur, a także usuwanie, kopiowanie, zmianę nazwy itp.
50 Wszystkie informacje zapisane w plikach HDS są przenośne między
51 maszynami, na których HDS jest zaimplementowany, dlatego nie ma
52 problemu konwersji formatu przy przenoszeniu między maszynami.
55 Summary: Header files for HDS library
56 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HDS
57 Group: Development/Libraries
58 Requires: %{name} = %{version}-%{release}
59 Requires: starlink-chr-devel
60 Requires: starlink-ems-devel
63 Header files for HDS library.
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe biblioteki HDS.
69 Summary: Static Starlink HDS library
70 Summary(pl.UTF-8): Statyczna biblioteka Starlink HDS
71 Group: Development/Libraries
72 Requires: %{name}-devel = %{version}-%{release}
75 Static Starlink HDS library.
77 %description static -l pl.UTF-8
78 Statyczna biblioteka Starlink HDS.
83 sed -i -e "s/-O2 /%{rpmcflags} /;s/ ld -shared -soname / g77 -shared \\\$\\\$3 -Wl,-soname=/" mk
84 sed -i -e "s/\\('-L\\\$(STAR\\)_LIB) /\\1LINK)\\/share /;s/-L\\\$(STAR_LIB) lib\\\$(PKG_NAME)\\.a/-L\\\$(STARLINK)\\/share -L. -l\\\$(PKG_NAME)/" makefile
88 PATH="$PATH:%{stardir}/bin" \
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{stardir}/help
100 INSTALL=$RPM_BUILD_ROOT%{stardir}
103 rm -rf $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
112 %docdir %{stardir}/docs
115 %attr(755,root,root) %{stardir}/share/*.so
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{stardir}/bin/hds_dev
120 %attr(755,root,root) %{stardir}/bin/hds_link*
124 %defattr(644,root,root,755)