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