1 Summary: PAR - ADAM parameter system
2 Summary(pl.UTF-8): PAR - system parametrów ADAM
6 License: non-commercial use and distribution (see PAR_CONDITIONS)
8 Source0: ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/par/par.tar.Z
9 # Source0-md5: 6ab7ae3d35eb4fad52bbd59d75a78cbf
10 URL: http://www.starlink.rl.ac.uk/static_www/soft_further_PAR.html
11 BuildRequires: gcc-g77
12 BuildRequires: sed >= 4.0
13 BuildRequires: starlink-err-devel
14 BuildRequires: starlink-sae-devel
15 Requires: starlink-sae
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define stardir /usr/lib/star
21 PAR is a library of Fortran subroutines that provides convenient
22 mechanisms for applications to exchange information with the outside
23 world, through input-output channels called parameters. Parameters
24 enable a user to control an application's behaviour. PAR supports
25 numeric, character, and logical parameters, and is currently
26 implemented only on top of the ADAM parameter system.
28 The PAR library permits parameter values to be obtained, without or
29 with a variety of constraints. Results may be put into parameters to
30 be passed onto other applications. Other facilities include setting a
31 prompt string, and suggested defaults.
33 %description -l pl.UTF-8
34 PAR to biblioteka funkcji fortranowych dostarczająca wygodne
35 mechanizmy dla aplikacji do wymiany informacji z zewnętrznym światem
36 poprzez kanały wejścia-wyjścia nazywane parametrami. Parametry
37 pozwalają użytkownikowi sterować zachowaniem aplikacji. PAR obsługuje
38 parametry numeryczne, znakowe i logiczne; aktualnie jest
39 zaimplementowany tylko w oparciu o system parametrów ADAM.
41 Biblioteka PAR pozwala na uzyskanie wartości parametrów bez lub z
42 różnymi ograniczeniami. Wyniki mogą być umieszczone w parametrach do
43 przekazania do innych aplikacji. Inne możliwości obejmują ustawianie
44 łańcucha zachęty i sugerowanych wartości domyślnych.
47 Summary: Header files for PAR library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PAR
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 Header files for PAR library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki PAR.
59 Summary: Static Starlink PAR library
60 Summary(pl.UTF-8): Statyczna biblioteka Starlink PAR
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static Starlink PAR library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka Starlink PAR.
73 sed -i -e "s/ -O'/ %{rpmcflags} -fPIC'/;s/ ld -shared -soname / g77 -shared \\\$\\\$3 -Wl,-soname=/" mk
74 sed -i -e "s/\\('-L\\\$(STAR_\\)LIB) /\\1SHARE) -lsubpar_adam -lerr_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 PAR_CONDITIONS par.news
100 %docdir %{stardir}/docs
103 %attr(755,root,root) %{stardir}/share/*.so
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{stardir}/bin/par_dev
108 %attr(755,root,root) %{stardir}/bin/par_link*
112 %defattr(644,root,root,755)