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