]> git.pld-linux.org Git - SPECS.git/blob - pdc.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / pdc.spec
1 Summary:        PDC - the programmers desktop calculator
2 Summary(pl.UTF-8):      PDC - desktopowy kalkulator dla programistów
3 Name:           pdc
4 Version:        0.8.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://www.redfelineninja.dsl.pipex.com/software/%{name}-%{version}.tar.gz
9 # Source0-md5:  ec3595e2707a44e9f5372226ac91ab46
10 URL:            http://www.redfelineninja.dsl.pipex.com/software/all.html#pdc
11 BuildRequires:  bison
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 PDC is a desktop calculator similar to bc but with features designed
16 for use by programmers. In particular PDC supports most ANSI C
17 operators including bitwise operators and shifts. PDC also makes
18 dealing with mixed bases very easy since it supports contant pefixes
19 (eg 0xff, 0755).
20
21 %description -l pl.UTF-8
22 PDC jest desktopowym kalkulatorem podobnym do bc, ale z dodatkami
23 przeznaczonymi do wykorzystania przez programistów. W szczególności
24 PDC obsługuje większość operatorów ANSI C włącznie z operatorami
25 bitowymi i przesunięciami. PDC obsługuje także bardzo łatwo liczby o
26 różnych podstawach dzięki obsłudze prefiksów (np 0xff, 0755).
27
28 %prep
29 %setup -q
30
31 %build
32 bison %{name}.y
33 %{__cc} %{rpmldflags} %{rpmcflags} %{name}.tab.c -o %{name}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README ChangeLog
45 %attr(755,root,root) %{_bindir}/*
This page took 0.28315 seconds and 3 git commands to generate.