You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xdotool/xdotool.spec

143 lines
4.6 KiB

Name: xdotool
Version: 2.20110530.1
Epoch: 1
Release: 5%{?dist}
Summary: Fake keyboard/mouse input
Group: User Interface/X
License: BSD
URL: http://www.semicomplete.com/projects/xdotool/
Source0: http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRequires: libXtst-devel, libX11-devel, libXinerama-devel, libXi-devel
%description
This tool lets you programmatically (or manually) simulate keyboard input
and mouse activity, move and re-size windows, etc.
%package -n libxdo
Group: System Environment/Libraries
Summary: Keyboard input simulation library
%description -n libxdo
This library contains functions to simulate keyboard and mouse input
%package -n libxdo-devel
Summary: Development files for libxdo
Group: Development/Libraries
Requires: libxdo = %{epoch}:%{version}-%{release}
%description -n libxdo-devel
The libxdo-devel package contains libraries and header files for
developing applications that use libxdo
%prep
%setup -q
%build
export WARNFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make PREFIX=$RPM_BUILD_ROOT/%{_prefix} INSTALLMAN=$RPM_BUILD_ROOT%{_mandir} INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} install
#fix permissions
chmod 0644 examples/ffsp.sh
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libxdo -p /sbin/ldconfig
%postun -n libxdo -p /sbin/ldconfig
%files -n libxdo
%defattr(-,root,root,-)
%doc CHANGELIST COPYRIGHT README
%{_libdir}/*.so.*
%files -n libxdo-devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%doc examples
%changelog
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.20110530.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Nov 2 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1:2.20110530.1-4
- Add libXi-devel dependency
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.20110530.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.20110530.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Nov 23 2011 Sven Lankes <sven@lank.es> - 1:2.20110530.1-1
- new upstream release
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.20101012.3049-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Jul 11 2010 Sven Lankes <sven@lank.es> - 1:2.20101012.3049-1
- new upstream release
* Sun Jul 11 2010 Sven Lankes <sven@lank.es> - 1:2.20100623.2949-1
- remove upstreamed patch
- new upstream release
* Sun Mar 28 2010 Sven Lankes <sven@lank.es> - 1:2.20100602.2915-1
- new upstream release
- add patch from Bruce Jerrick to not segfault when called with unknown command (bz #602946)
* Sun Mar 28 2010 Sven Lankes <sven@lank.es> - 1:1.20100318.2737-1
- new upstream release
* Sun Feb 07 2010 Sven Lankes <sven@lank.es> - 0.20100118.2605-2
- fix requires for libxdo-devel
* Fri Feb 05 2010 Sven Lankes <sven@lank.es> - 0.20100118.2605-1
- New upstream release
- remove BuildRoot from spec
- add subpackages for libxdo
- ship manpage
- bump Epoch as upstream changed the versioning
- use make install (with a makefile-patch) instead of manual install in spec
* Thu Sep 17 2009 Sven Lankes <sven@lank.es> - 20090815-1
- New upstream release (fixes #521765)
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090330-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed May 28 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20090330-2
- New upstream release
* Thu May 7 2009 Ville Skyttä <ville.skytta at iki.fi> - 20090126-2
- Build with $RPM_OPT_FLAGS.
* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20090126-1
- New upstream release
* Mon Mar 02 2009 Caolán McNamara <caolanm@redhat.com> - 20071230-4
- add BuildRequires libX11-devel to build
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071230-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20071230-2
- Add patch to fix prefix
- Add CFLAGS to %%build
* Tue May 06 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20071230-1
- Initial build