]>
Commit | Line | Data |
---|---|---|
42325cf3 JB |
1 | Summary: xcalc application - scientific calculator for X |
2 | Summary(pl.UTF-8): Aplikacja xcalc - kalkulator naukowy dla X | |
4d727bad | 3 | Name: xorg-app-xcalc |
603b9452 | 4 | Version: 1.1.2 |
f0158720 | 5 | Release: 1 |
4d727bad AM |
6 | License: MIT |
7 | Group: X11/Applications | |
2a6767f4 | 8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xcalc-%{version}.tar.xz |
603b9452 | 9 | # Source0-md5: c70f47ddd3dc661950e17b9ab36d8a87 |
642a1499 JB |
10 | Source1: xcalc.desktop |
11 | Source2: xcalc.png | |
f0158720 | 12 | URL: https://xorg.freedesktop.org/ |
a6360dbe | 13 | BuildRequires: autoconf >= 2.60 |
4d727bad | 14 | BuildRequires: automake |
7d456676 | 15 | BuildRequires: pkgconfig >= 1:0.19 |
2a6767f4 | 16 | BuildRequires: tar >= 1:1.22 |
538acd81 | 17 | BuildRequires: xorg-lib-libX11-devel |
4d727bad | 18 | BuildRequires: xorg-lib-libXaw-devel |
fef9ccd5 | 19 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 |
160d2b1e | 20 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 |
a6360dbe | 21 | BuildRequires: xorg-util-util-macros >= 1.8 |
2a6767f4 | 22 | BuildRequires: xz |
2b81278d | 23 | Requires: xorg-lib-libXt >= 1.0.0 |
2d28e30e | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4d727bad AM |
25 | |
26 | %description | |
42325cf3 JB |
27 | xcalc is a scientific calculator desktop accessory that can emulate a |
28 | TI-30 or an HP-10C. | |
4d727bad | 29 | |
450ada3e | 30 | %description -l pl.UTF-8 |
42325cf3 JB |
31 | xcalc to naukowy kalkulator dostępny na pulpicie, potrafiący emulować |
32 | TI-30 lub HP-10C. | |
4d727bad | 33 | |
4d727bad AM |
34 | %prep |
35 | %setup -q -n xcalc-%{version} | |
4d727bad | 36 | |
4d727bad AM |
37 | %build |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | ||
44 | %{__make} | |
45 | ||
4d727bad AM |
46 | %install |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
06747d81 | 50 | DESTDIR=$RPM_BUILD_ROOT |
4d727bad | 51 | |
642a1499 JB |
52 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/xcalc.desktop |
53 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/xcalc.png | |
54 | ||
4d727bad AM |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
4d727bad AM |
58 | %files |
59 | %defattr(644,root,root,755) | |
f0158720 | 60 | %doc COPYING ChangeLog README.md |
ae1bdc17 | 61 | %attr(755,root,root) %{_bindir}/xcalc |
4da4c545 JB |
62 | %{_datadir}/X11/app-defaults/XCalc |
63 | %{_datadir}/X11/app-defaults/XCalc-color | |
642a1499 JB |
64 | %{_desktopdir}/xcalc.desktop |
65 | %{_pixmapsdir}/xcalc.png | |
160d2b1e | 66 | %{_mandir}/man1/xcalc.1* |