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