]>
Commit | Line | Data |
---|---|---|
39241bfa | 1 | # TODO: |
39241bfa PG |
2 | # - separate subpackages: libs, tools |
3 | # - generate docs - deps are crazy... | |
32202ea1 | 4 | Summary: Suite of programs that can record and replay user actions under X11 |
8af58442 | 5 | Summary(pl.UTF-8): Zestaw programów do nagrywania i odtwarzania akcji użytkownika pod X11 |
39241bfa PG |
6 | Name: Xnee |
7 | Version: 2.01 | |
8 | Release: 0.1 | |
9 | License: GPL v2 | |
32202ea1 JB |
10 | Group: X11/Applications |
11 | Source0: ftp://ftp.gnu.org/gnu/xnee/%{name}-%{version}.tar.gz | |
39241bfa | 12 | # Source0-md5: c22cb4ce520bdf27867b823e57b6e7da |
32202ea1 | 13 | Patch0: %{name}-info.patch |
39241bfa | 14 | URL: http://www.gnu.org/software/xnee/www/index.html |
32202ea1 | 15 | BuildRequires: XFree86-devel |
39241bfa PG |
16 | BuildRequires: gtk+2-devel |
17 | BuildRequires: pkg-config > 0.9.0 | |
18 | # needed for docs only :-/ : | |
19 | #BuildRequires: ImageMagick | |
20 | #BuildRequires: ImageMagick-coder-jpeg | |
21 | #BuildRequires: ImageMagick-coder-png | |
22 | #BuildRequires: dia | |
23 | #BuildRequires: ghostscript | |
24 | #BuildRequires: tetex-dvips | |
25 | #BuildRequires: tetex-format-plain | |
26 | #BuildRequires: tetex-tex-misc | |
27 | #BuildRequires: texinfo | |
28 | #BuildRequires: texinfo-texi2dvi | |
29 | Obsoletes: xnee | |
30 | Provides: xnee | |
32202ea1 JB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Xnee is a suite of programs that can record, replay and distribute | |
35 | user actions under the X11 environment. Think of it as a robot that | |
36 | can imitate the job you just did. Xnee can be used to: automate tests, | |
37 | demonstrate programs, distribute actions, record and replay "macros", | |
38 | retype a file etc. | |
39 | ||
2f4dc8a5 JR |
40 | %description -l pl.UTF-8 |
41 | Xnee to zestaw programów do nagrywania, odtwarzania i powielania akcji | |
42 | użytkownika w środowisku X11. Można je określić jako maszynę | |
43 | powtarzającą pracę wykonaną przez nas. Xnee można użyć do: | |
44 | automatyzowania testów, demonstrowania programów, powielania akcji (na | |
32202ea1 | 45 | wielu komputerach), nagrywania i odtwarzania "makr", przepisywania |
2f4dc8a5 | 46 | plików itp. |
32202ea1 JB |
47 | |
48 | %prep | |
49 | %setup -q | |
50 | %patch0 -p1 | |
51 | ||
52 | %build | |
39241bfa PG |
53 | %configure \ |
54 | --enable-xosd \ | |
55 | --disable-doc | |
56 | ||
32202ea1 JB |
57 | %{__make} \ |
58 | GPROF_FLAG="%{rpmcflags}" | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
39241bfa | 66 | #install -D xnee/doc/xnee.1 $RPM_BUILD_ROOT%{_mandir}/man1/xnee.1 |
32202ea1 JB |
67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post | |
72 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
73 | ||
74 | %postun | |
75 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
39241bfa PG |
79 | %doc AUTHORS BUGS ChangeLog EXAMPLES NEWS TODO |
80 | %attr(755,root,root) %{_bindir}/cnee | |
81 | %attr(755,root,root) %{_bindir}/gnee | |
82 | %{_libdir}/libxnee.a | |
83 | #%{_mandir}/man1/xnee.1* | |
84 | #%{_infodir}/xnee.info* |