]> git.pld-linux.org Git - SPECS.git/blob - starlink-hds.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / starlink-hds.spec
1 Summary:        HDS - Hierarchical Data System
2 Summary(pl.UTF-8):      HDS - hierarchiczny system danych
3 Name:           starlink-hds
4 Version:        4.3_4.218
5 Release:        1
6 License:        GPL
7 Group:          Libraries
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)
18
19 %define         stardir         /usr/lib/star
20
21 %description
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.
26
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,
32 renaming, etc.
33
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.
37
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.
43
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.
49
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.
53
54 %package devel
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
61
62 %description devel
63 Header files for HDS library.
64
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe biblioteki HDS.
67
68 %package static
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}
73
74 %description static
75 Static Starlink HDS library.
76
77 %description static -l pl.UTF-8
78 Statyczna biblioteka Starlink HDS.
79
80 %prep
81 %setup -q -c
82
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
85
86 %build
87 LD_LIBRARY_PATH=. \
88 PATH="$PATH:%{stardir}/bin" \
89 SYSTEM=ix86_Linux \
90 ./mk build \
91         STARLINK=%{stardir}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{stardir}/help
96
97 SYSTEM=ix86_Linux \
98 ./mk install \
99         STARLINK=%{stardir} \
100         INSTALL=$RPM_BUILD_ROOT%{stardir}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files
109 %defattr(644,root,root,755)
110 %doc hds.news
111 %{stardir}/dates/*
112 %docdir %{stardir}/docs
113 %{stardir}/docs/sun*
114 %{stardir}/help/fac*
115 %attr(755,root,root) %{stardir}/share/*.so
116
117 %files devel
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{stardir}/bin/hds_dev
120 %attr(755,root,root) %{stardir}/bin/hds_link*
121 %{stardir}/include/*
122
123 %files static
124 %defattr(644,root,root,755)
125 %{stardir}/lib/*.a
This page took 0.580636 seconds and 3 git commands to generate.