]>
Commit | Line | Data |
---|---|---|
b62fcb97 | 1 | # $Rev: 3372 $, $Date: 2005-08-27 17:42:47 $ |
4d727bad AM |
2 | # |
3 | Summary: xcalc application | |
4 | Summary(pl): Aplikacja xcalc | |
5 | Name: xorg-app-xcalc | |
6 | Version: 0.99.0 | |
7 | Release: 0.02 | |
8 | License: MIT | |
9 | Group: X11/Applications | |
10 | Source0: http://xorg.freedesktop.org/X11R7.0-RC0/app/xcalc-%{version}.tar.bz2 | |
11 | # Source0-md5: ce8f4e730292c97b4da28d68abd23416 | |
12 | Patch0: xcalc-man.patch | |
13 | URL: http://xorg.freedesktop.org/ | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: xorg-lib-libXaw-devel | |
17 | BuildRequires: xorg-util-util-macros | |
b62fcb97 | 18 | BuildRequires: pkgconfig >= 0.19 |
4d727bad AM |
19 | BuildRoot: %{tmpdir}/xcalc-%{version}-root-%(id -u -n) |
20 | ||
21 | %define _prefix /usr/X11R6 | |
22 | %define _mandir %{_prefix}/man | |
23 | ||
24 | %description | |
25 | xcalc application. | |
26 | ||
27 | %description -l pl | |
28 | Aplikacja xcalc. | |
29 | ||
30 | ||
31 | %prep | |
32 | %setup -q -n xcalc-%{version} | |
33 | %patch0 -p1 | |
34 | ||
35 | ||
36 | %build | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure | |
42 | ||
43 | %{__make} | |
44 | ||
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %{_sysconfdir}/X11/app-defaults/* | |
60 | %attr(755,root,wheel) %{_bindir}/* | |
61 | %{_mandir}/man1/*.1* |