/[packages]/cauldron/easystroke/current/SPECS/easystroke.spec
ViewVC logotype

Annotation of /cauldron/easystroke/current/SPECS/easystroke.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68066 - (hide annotations) (download)
Fri Mar 11 00:36:36 2011 UTC (11 years, 5 months ago) by stormi
File size: 1848 byte(s)
imported package easystroke
1 stormi 68066 %define version 0.5.3
2     %define release %mkrel 2
3    
4     Summary: A gesture-recognition application for X11
5     Name: easystroke
6     Version: %{version}
7     Release: %{release}
8     Group: Accessibility
9     License: ISC
10     Url: http://easystroke.sourceforge.net/
11     Source0: http://downloads.sourceforge.net/easystroke/%{name}-%{version}.tar.gz
12     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13     BuildRequires: gtkmm2.4-devel
14     BuildRequires: dbus-glib-devel
15     BuildRequires: boost-devel
16     BuildRequires: libxtst-devel
17     BuildRequires: x11-server-devel >= 1.7
18     BuildRequires: intltool
19     BuildRequires: help2man
20    
21     %description
22     Easystroke is a gesture-recognition application for X11. Gestures or
23     strokes are movements that you make with you mouse (or your pen,
24     finger etc.) while holding down a specific mouse button. Easystroke
25     will execute certain actions if it recognizes the stroke; currently
26     easystroke can emulate key presses, execute shell commands, hold down
27     modifiers and emulate a scroll wheel.
28     The program was designed with Tablet PCs in mind and can be used
29     effectively even without access to a keyboard. Easystroke tries to
30     provide an intuitive and efficient user interface, while at the same
31     time being highly configurable and offering many advanced features.
32    
33     %prep
34     %setup -q
35     # fix PREFIX
36     sed -i -e 's:/usr/local:%{_prefix}:' Makefile
37    
38     %build
39     %make CXX="g++ %{optflags}" \
40     CC="gcc -std=c99 %{optflags}" \
41     LDFLAGS="%{ldflags}"
42    
43     # man page
44     make man
45    
46     %install
47     rm -rf %{buildroot}
48     %makeinstall_std
49    
50     # man page install
51     install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
52    
53     %find_lang %{name}
54    
55     %clean
56     rm -rf %{buildroot}
57    
58     %files -f %{name}.lang
59     %defattr(-,root,root,-)
60     %doc LICENSE changelog
61     %{_bindir}/%{name}
62     %{_datadir}/applications/%{name}.desktop
63     %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
64     %{_mandir}/man1/%{name}*
65    
66    

  ViewVC Help
Powered by ViewVC 1.1.28