Summary: X11 environment recorder Name: xnee Version: 3.10 Release: 6%{?dist} License: GPLv3+ Group: Applications/Multimedia URL: http://www.gnu.org/software/xnee/ Source0: ftp://ftp.gnu.org/gnu/xnee/xnee-%{version}.tar.gz Source1: %{name}.desktop BuildRequires: libXtst-devel BuildRequires: gtk2-devel BuildRequires: desktop-file-utils BuildRequires: chrpath %description A suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did. %package libs Summary: The shared libraries required for Xnee clients Group: System Environment/Libraries %description libs The xnee-lib package provides the essential shared libraries for any Xnee client program or interface. %package devel Summary: Files needed for building applications with libxnee Group: Development/Libraries Requires: xnee-libs%{?_isa} = %{version}-%{release} %description devel The xnee-devel package includes header files and libraries necessary for developing programs which use the xnee-lib library. %package -n cnee Summary: Command-line interface of Xnee Group: Applications/Multimedia %description -n cnee Command-line interface of a suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did. %prep %setup -q # For rpmlint warnings of debuginfo package : find . \( -name "*.h" -o -name "*.c" \) -exec chmod a-x {} \; %build # Don't build Pnee (gnome-panel-applet) because builddep is broken : %configure --disable-gnome-applet \ --enable-lib \ --enable-static-programs=no make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install # Delete statics librairies : rm -f %{buildroot}%{_libdir}/*.{a,la} # Install xnee.desktop : desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} # Install xnee-devel files with "chmod a-x *.h" : mkdir -p %{buildroot}%{_includedir}/libxnee/ install -pm 644 libxnee/include/libxnee/*.h %{buildroot}%{_includedir}/libxnee/ # Delete rpaths : chrpath --delete %{buildroot}%{_bindir}/gnee \ %{buildroot}%{_bindir}/cnee \ %{buildroot}%{_libdir}/libtestcb.so.0.0.0 # Rpmlint warning of xnee package. File absolutely useless. Built from simple_bash.sh.in1 : rm -f %{buildroot}%{_datadir}/%{name}/simple_bash.sh %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/gnee %{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_mandir}/man1/gnee.1* %{_mandir}/man1/%{name}.1* %files libs %defattr(-,root,root,-) %doc AUTHORS BUGS COPYING EXAMPLES FAQ NEWS TODO ChangeLog doc/%{name}.pdf %{_libdir}/libxnee.so.* %{_libdir}/libtestcb.so.* %files devel %defattr(-,root,root,-) %{_libdir}/libxnee.so %{_libdir}/libtestcb.so %{_includedir}/libxnee/ %files -n cnee %defattr(-,root,root,-) %{_bindir}/cnee %{_mandir}/man1/cnee.1* %changelog * Wed Nov 04 2011 Matthieu Saulnier 3.10-6 - move doc files in libs package * Thu Nov 03 2011 Matthieu Saulnier 3.10-5 - minor cleanup spec file * Sat Oct 22 2011 Matthieu Saulnier 3.10-4 - delete simple_bash.sh file * Thu Oct 20 2011 Matthieu Saulnier 3.10-3 - add libtestcb in xnee-libs package - clean up spec file * Sun Oct 16 2011 Matthieu Saulnier 3.10-2 - add COPYING in libs package * Tue Aug 23 2011 Matthieu Saulnier 3.10-1 - update to 3.10 version * Sat Aug 06 2011 Matthieu Saulnier 3.09-1 - clean up spec file * Fri Aug 05 2011 Matthieu Saulnier 3.09-1 - add header in libxnee-devel * Wed Aug 03 2011 Matthieu Saulnier 3.09-1 - add cnee subpackage * Sun Jul 31 2011 Matthieu Saulnier 3.09-1 - add libxnee and libxnee-devel subpackages * Thu Jul 28 2011 Matthieu Saulnier 3.09-1 - minor specfile cleanup * Wed Jul 27 2011 Matthieu Saulnier 3.09-1 - clean up spec file * Thu Jun 23 2011 Matthieu Saulnier 3.09-1 - initial RPM