1 Summary: PDC - the programmers desktop calculator
2 Summary(pl.UTF-8): PDC - desktopowy kalkulator dla programistów
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
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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).
33 %{__cc} %{rpmldflags} %{rpmcflags} %{name}.tab.c -o %{name}
36 rm -rf $RPM_BUILD_ROOT
37 install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*