public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sven Lankes <slankes@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xdotool] epel10: - New upstream release
Date: Tue, 29 Sep 2026 22:01:35 GMT	[thread overview]
Message-ID: <179071929515.1.5534749224344471128.rpms-xdotool-85fba9738b46@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/xdotool
            Branch : epel10
            Commit : 85fba9738b46ccd44eeb97130ae85069764e3ae2
            Author : Sven Lankes <slankes@fedoraproject.org>
            Date   : 2010-02-06T10:24:02+00:00
            Stats  : +75/-13 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/xdotool/c/85fba9738b46ccd44eeb97130ae85069764e3ae2?branch=epel10

            Log:
            - 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

---
diff --git a/.cvsignore b/.cvsignore
index ef38a9f..1e985ca 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-xdotool-20090815.tar.gz
+xdotool-0.20100118.2605.tar.gz

diff --git a/sources b/sources
index 63fdd93..44ae7b2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-32b1127c0c24f5b3d0a1a1c09b3d44f8  xdotool-20090815.tar.gz
+9e0afbe66771dc0f90eb778728a4fbc9  xdotool-0.20100118.2605.tar.gz

diff --git a/xdotool-makefile.patch b/xdotool-makefile.patch
new file mode 100644
index 0000000..e95e101
--- /dev/null
+++ b/xdotool-makefile.patch
@@ -0,0 +1,24 @@
+--- Makefile.orig	2010-02-06 02:17:45.428793838 +0100
++++ Makefile	2010-02-06 02:19:28.420793962 +0100
+@@ -29,17 +29,20 @@
+ install: installlib installprog installman installheader
+ 
+ installprog: xdotool
++	[ -d $(INSTALLBIN) ] || mkdir -p $(INSTALLBIN)
+ 	install -m 755 xdotool $(INSTALLBIN)/
+ 
+ installlib: libxdo.so
++	[ -d $(INSTALLLIB) ] || mkdir -p $(INSTALLLIB)
+ 	install libxdo.so $(INSTALLLIB)/libxdo.so.$(MAJOR)
+ 	ln -sf libxdo.so.$(MAJOR) $(INSTALLLIB)/libxdo.so
+ 
+ installheader: xdo.h
++	[ -d $(INSTALLINCLUDE) ] || mkdir -p $(INSTALLINCLUDE)
+ 	install xdo.h $(INSTALLINCLUDE)/xdo.h
+ 
+ installman: xdotool.1
+-	[ -d $(INSTALLMAN) ] || mkdir $(INSTALLMAN)
++	[ -d $(INSTALLMAN) ] || mkdir -p $(INSTALLMAN)
+ 	[ -d $(INSTALLMAN)/man1 ] || mkdir $(INSTALLMAN)/man1
+ 	install -m 644 xdotool.1 $(INSTALLMAN)/man1/
+ 

diff --git a/xdotool.spec b/xdotool.spec
index a88470d..f5db777 100644
--- a/xdotool.spec
+++ b/xdotool.spec
@@ -1,22 +1,41 @@
 Name:           xdotool
-Version:        20090815
+Version:        0.20100118.2605
+Epoch:          1
 Release:        1%{?dist}
 Summary:        Fake keyboard/mouse input
-
 Group:          User Interface/X
 License:        BSD
 URL:            http://www.semicomplete.com/projects/xdotool/
-Source0:        http://www.semicomplete.com/files/xdotool/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz
+# Create directories if they don't exist
+# http://code.google.com/p/semicomplete/issues/detail?id=17
+Patch0:         xdotool-makefile.patch
 
 BuildRequires:  libXtst-devel, libX11-devel
 
 %description
-This tool lets you programatically (or manually) simulate keyboard input
-and mouse activity, move and resize windows, etc.
+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 = %{version}-%{release}
+
+%description -n libxdo-devel
+The libxdo-devel package contains libraries and header files for
+developing applications that use libxdo
 
 %prep
 %setup -q
+%patch0
 
 %build
 export WARNFLAGS="$RPM_OPT_FLAGS"
@@ -25,8 +44,7 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#manual install
-install -D -m 0755 xdotool $RPM_BUILD_ROOT%{_bindir}/xdotool
+make PREFIX=$RPM_BUILD_ROOT/%{_prefix} INSTALLMAN=$RPM_BUILD_ROOT%{_mandir} INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} install
 
 #fix permissions
 chmod 0644 examples/ffsp.sh
@@ -34,15 +52,35 @@ chmod 0644 examples/ffsp.sh
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -n libxdo -p /sbin/ldconfig
 
-%files
+%postun -n libxdo -p /sbin/ldconfig
+
+%files -n libxdo
 %defattr(-,root,root,-)
 %doc CHANGELIST COPYRIGHT README
-%doc examples
-%{_bindir}/*
+%{_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
+* Tue 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)
 

             reply	other threads:[~2026-09-29 22:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 22:01 Sven Lankes [this message]
2026-09-29 22:01 [rpms/xdotool] epel10: - New upstream release Sven Lankes
2026-09-29 22:01 [rpms/xdotool] epel10: - new " Sven Lankes
2026-09-29 22:01 Sven Lankes
2026-09-29 22:01 Sven Lankes
2026-09-29 22:01 Sven Lankes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179071929515.1.5534749224344471128.rpms-xdotool-85fba9738b46@fedoraproject.org \
    --to=slankes@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox