diff --git a/.cvsignore b/.cvsignore index e69de29..f4712df 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +easystroke-0.4.4.tar.gz diff --git a/easystroke.spec b/easystroke.spec new file mode 100644 index 0000000..d36e0b9 --- /dev/null +++ b/easystroke.spec @@ -0,0 +1,82 @@ +Name: easystroke +Version: 0.4.4 +Release: 3%{?dist} +Summary: Gesture-recognition application for X11 + +Group: User Interface/X Hardware Support +License: ISC +URL: http://easystroke.sourceforge.net/ +Source0: http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtkmm24-devel +BuildRequires: dbus-glib-devel +BuildRequires: boost-devel +BuildRequires: libXtst-devel +BuildRequires: gettext +BuildRequires: desktop-file-utils +BuildRequires: intltool + +%description +Easystroke is a gesture-recognition application for X11. Gestures or strokes +are movements that you make with you mouse (or your pen, finger etc.) while +holding down a specific mouse button. Easystroke will execute certain actions +if it recognizes the stroke; currently easystroke can emulate key presses, +execute shell commands, hold down modifiers and emulate a scroll wheel. + +%prep +%setup -q +# Resolve debuginfo +sed -i 's|install -Ds|install -D|' Makefile +# Preserve timestamps: +sed -i 's|install |install -p |' Makefile + +%build +make %{?_smp_mflags} DFLAGS="%{optflags}" + + +%install +rm -rf $RPM_BUILD_ROOT +make install PREFIX="%{_prefix}" DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} + +%check +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc changelog LICENSE +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg + + + +%changelog +* Fri Jun 01 2009 Zarko Pintar - 0.4.4-3 +- spec cleaning + +* Fri May 29 2009 Zarko Pintar - 0.4.4-2 +- resolved debuginfo + +* Wed May 27 2009 Zarko Pintar - 0.4.4-1 +- initial release diff --git a/import.log b/import.log new file mode 100644 index 0000000..b710fa7 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +easystroke-0_4_4-3_fc11:HEAD:easystroke-0.4.4-3.fc11.src.rpm:1243923742 diff --git a/sources b/sources index e69de29..989a49f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +82b359e2703740bf86c2402a269bb320 easystroke-0.4.4.tar.gz