]> git.pld-linux.org Git - packages/Xnee.git/blame - Xnee.spec
- updated to 3.15
[packages/Xnee.git] / Xnee.spec
CommitLineData
39241bfa 1# TODO:
8445abf7
JB
2# - package libxnee if needed for anything (it's noinst now)
3# - generate docs - (some files are missing)
4#
5# Conditional build:
6%bcond_with doc # documentation (broken, missing files)
7%bcond_without gnome # GNOME panel applet
8#
32202ea1 9Summary: Suite of programs that can record and replay user actions under X11
8af58442 10Summary(pl.UTF-8): Zestaw programów do nagrywania i odtwarzania akcji użytkownika pod X11
39241bfa 11Name: Xnee
558f9496 12Version: 3.15
39241bfa 13Release: 0.1
8445abf7 14License: GPL v3+
32202ea1 15Group: X11/Applications
558f9496
JB
16Source0: http://ftp.gnu.org/gnu/xnee/xnee-%{version}.tar.gz
17# Source0-md5: 32c8ac9f354741f03d7736383599984e
32202ea1 18Patch0: %{name}-info.patch
558f9496
JB
19Patch1: %{name}-link.patch
20Patch2: %{name}-am.patch
39241bfa 21URL: http://www.gnu.org/software/xnee/www/index.html
558f9496
JB
22BuildRequires: autoconf
23BuildRequires: automake
8445abf7 24BuildRequires: gtk+2-devel >= 1:2.0.0
558f9496 25BuildRequires: libtool
8445abf7
JB
26BuildRequires: pkgconfig >= 1:0.9.0
27BuildRequires: texinfo
7c2500e2 28BuildRequires: xorg-proto-recordproto-devel
558f9496
JB
29BuildRequires: xorg-lib-libX11-devel
30BuildRequires: xorg-lib-libXi-devel
7c2500e2 31BuildRequires: xorg-lib-libXtst-devel
8445abf7
JB
32%if %{with gnome}
33BuildRequires: GConf2-devel >= 2.0
34BuildRequires: gnome-panel-devel >= 2.0
35%endif
36%if %{with doc}
37BuildRequires: ImageMagick
38BuildRequires: ImageMagick-coder-jpeg
39BuildRequires: ImageMagick-coder-png
40BuildRequires: dia
41BuildRequires: ghostscript
42BuildRequires: tetex-dvips
43BuildRequires: tetex-format-plain
44BuildRequires: tetex-tex-misc
45BuildRequires: texinfo-texi2dvi
46%endif
39241bfa 47Provides: xnee
8445abf7 48Obsoletes: xnee
32202ea1
JB
49BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51%description
52Xnee is a suite of programs that can record, replay and distribute
53user actions under the X11 environment. Think of it as a robot that
54can imitate the job you just did. Xnee can be used to: automate tests,
55demonstrate programs, distribute actions, record and replay "macros",
56retype a file etc.
57
2f4dc8a5
JR
58%description -l pl.UTF-8
59Xnee to zestaw programów do nagrywania, odtwarzania i powielania akcji
60użytkownika w środowisku X11. Można je określić jako maszynę
61powtarzającą pracę wykonaną przez nas. Xnee można użyć do:
62automatyzowania testów, demonstrowania programów, powielania akcji (na
32202ea1 63wielu komputerach), nagrywania i odtwarzania "makr", przepisywania
2f4dc8a5 64plików itp.
32202ea1 65
8445abf7
JB
66%package gtk
67Summary: gnee - GTK+ based graphical frontent to GNU Xnee
68Summary(pl.UTF-8): gnee - oparty na GTK+ graficzny interfejs do GNU Xnee
69Group: X11/Applications
70Requires: %{name} = %{version}-%{release}
71
72%description gtk
73gnee is the graphical frontend to GNU Xnee, based on GTK+ toolkit.
74
75%description gtk -l pl.UTF-8
76gnee to graficzny interfejs do GNU Xnee, oparty na GTK+.
77
78%package gnome
79Summary: pnee - GNOME panel applet for GNU Xnee
80Summary(pl.UTF-8): pnee - aplet panelu GNOME dla GNU Xnee
81Group: X11/Applications
82Requires: %{name} = %{version}-%{release}
83
84%description gnome
85pnee is the GNOME panel applet for GNU Xnee.
86
87%description gnome -l pl.UTF-8
88pnee to aplet panelu GNOME dla GNU Xnee.
89
32202ea1 90%prep
558f9496 91%setup -q -n xnee-%{version}
8445abf7 92%patch0 -p1
558f9496
JB
93%patch1 -p1
94%patch2 -p1
32202ea1
JB
95
96%build
558f9496
JB
97%{__libtoolize}
98%{__aclocal}
99%{__autoconf}
100%{__autoheader}
101%{__automake}
102# disable static as no API is installed
39241bfa 103%configure \
8445abf7 104 --disable-doc \
558f9496
JB
105 --disable-static \
106 --disable-static-programs \
107 %{?with_gnome:--enable-gnome-applet} \
108 --enable-gui \
109 --enable-lib \
8445abf7 110 --enable-xosd
39241bfa 111
32202ea1 112%{__make} \
8445abf7 113 CNEE_INFO="cnee.info"
32202ea1
JB
114
115%install
116rm -rf $RPM_BUILD_ROOT
117
118%{__make} install \
8445abf7 119 DESTDIR=$RPM_BUILD_ROOT \
17ddc481
JB
120 CNEE_INFO="cnee.info" \
121 PANEL_APPLET_DIR=$RPM_BUILD_ROOT%{_bindir} \
122 PANEL_SERVER_DIR=$RPM_BUILD_ROOT%{_libdir}/bonobo/servers
32202ea1 123
558f9496
JB
124# API not installed
125%{__rm} $RPM_BUILD_ROOT%{_libdir}/libxnee.{so,la}
126
32202ea1
JB
127%clean
128rm -rf $RPM_BUILD_ROOT
129
558f9496
JB
130%post -p /sbin/postshell
131-/sbin/ldconfig
8998578e 132-/usr/sbin/fix-info-dir -c %{_infodir}
32202ea1 133
558f9496
JB
134%postun -p /sbin/postshell
135-/sbin/ldconfig
8998578e 136-/usr/sbin/fix-info-dir -c %{_infodir}
32202ea1
JB
137
138%files
139%defattr(644,root,root,755)
8445abf7 140%doc AUTHORS BUGS ChangeLog FAQ NEWS README TODO
39241bfa 141%attr(755,root,root) %{_bindir}/cnee
558f9496
JB
142%attr(755,root,root) %{_libdir}/libxnee.so.*.*.*
143%attr(755,root,root) %ghost %{_libdir}/libxnee.so.0
8445abf7
JB
144%dir %{_datadir}/xnee
145%{_datadir}/xnee/*.sh
146%{_datadir}/xnee/*.xns
558f9496
JB
147%{_pixmapsdir}/xnee.png
148%{_pixmapsdir}/xnee.xpm
8445abf7
JB
149%{_mandir}/man1/cnee.1*
150%{_mandir}/man1/xnee.1*
151%{_infodir}/cnee.info*
152
153%files gtk
154%defattr(644,root,root,755)
155%doc gnee/AUTHORS
39241bfa 156%attr(755,root,root) %{_bindir}/gnee
8445abf7
JB
157%{_mandir}/man1/gnee.1*
158
159%if %{with gnome}
160%files gnome
161%defattr(644,root,root,755)
17ddc481 162%attr(755,root,root) %{_bindir}/pnee
8445abf7 163%{_libdir}/bonobo/servers/pnee.server
558f9496 164%dir %{_datadir}/xnee/pixmaps
8445abf7
JB
165%{_datadir}/xnee/pixmaps/pnee-*.png
166%{_mandir}/man1/pnee.1*
167%endif
This page took 0.073004 seconds and 4 git commands to generate.