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