]> git.pld-linux.org Git - packages/Xnee.git/blob - Xnee.spec
1c9db025ac9ab90d57c2de8510eb65bdcf13fcfe
[packages/Xnee.git] / Xnee.spec
1 # TODO:
2 # - rename spec xnee.spec -> Xnee.spec
3 # - separate subpackages: libs, tools
4 # - generate docs - deps are crazy...
5 Summary:        Suite of programs that can record and replay user actions under X11
6 Summary(pl.UTF-8):      Zestaw programów do nagrywania i odtwarzania akcji użytkownika pod X11
7 Name:           Xnee
8 Version:        2.01
9 Release:        0.1
10 License:        GPL v2
11 Group:          X11/Applications
12 Source0:        ftp://ftp.gnu.org/gnu/xnee/%{name}-%{version}.tar.gz
13 # Source0-md5:  c22cb4ce520bdf27867b823e57b6e7da
14 Patch0:         %{name}-info.patch
15 URL:            http://www.gnu.org/software/xnee/www/index.html
16 BuildRequires:  XFree86-devel
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
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
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
46 wielu komputerach), nagrywania i odtwarzania "makr", przepisywania
47 plików itp.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %configure \
55         --enable-xosd \
56         --disable-doc
57
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
67 #install -D xnee/doc/xnee.1 $RPM_BUILD_ROOT%{_mandir}/man1/xnee.1
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)
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*
This page took 0.376702 seconds and 2 git commands to generate.