]> git.pld-linux.org Git - SPECS.git/blob - dionysus.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / dionysus.spec
1 Summary:        GNU Dionysus - scientific constants and engineers parameters
2 Summary(pl.UTF-8):      GNU Dionysus - pakiet stałych naukowych i parametrów inżynierskich
3 Name:           dionysus
4 Version:        1.4.0
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Science
8 Source0:        http://ftp.gnu.org/gnu/dionysus/%{name}-%{version}.tar.xz
9 # Source0-md5:  cb6fd06fcb5ea2c794a0b82d03986096
10 URL:            http://www.gnu.org/software/dionysus/
11 BuildRequires:  sed >= 4.0
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  xz
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Dionysus is a local machine search engine for universal constants and
18 parameters of scientific and engineering relevance.
19
20 %description -l pl.UTF-8
21 Dionysus to lokalna wyszukiwarka uniwersalnych stałych i parametrów,
22 mających zastosowanie naukowe lub inżynierskie.
23
24 %prep
25 %setup -q
26
27 %{__sed} -i -e '1s,/usr/bin/env tclsh,/usr/bin/tclsh,' src/Tcl_src/dionysus
28
29 %build
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT%{_datadir}/dionysus
40 cp -p databases/*.ddb $RPM_BUILD_ROOT%{_datadir}/dionysus
41
42 %{__mv} $RPM_BUILD_ROOT%{_infodir}/dionysus{,.info}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS ChangeLog NEWS README THANKS
50 %attr(755,root,root) %{_bindir}/dionysus
51 %{_datadir}/dionysus
52 %{_infodir}/dionysus.info*
This page took 0.217776 seconds and 3 git commands to generate.