1 | Summary: Settings tool for Synaptics touchpad driver |
---|
2 | Summary(ja): Synaptics タッチパッドドライバ設定ツール |
---|
3 | |
---|
4 | Name: gsynaptics |
---|
5 | Version: 0.9.16 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: Applications/System |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://gsynaptics.sourceforge.jp/ |
---|
11 | Source0: http://downloads.sourceforge.jp/gsynaptics/28322/gsynaptics-%{version}.tar.gz |
---|
12 | # Source1 taken from http://downloads.sourceforge.jp/gsynaptics/15189/gsynaptics-0.9.0.tar.gz |
---|
13 | # until http://sourceforge.jp/tracker/index.php?func=detail&aid=11265&group_id=1720&atid=6433 gets fixed |
---|
14 | Patch0: gsynaptics-0.9.14-dot-fixes.patch |
---|
15 | Patch1: gsynaptics-0.9.14-do-not-set-zero.patch |
---|
16 | Patch2: gsynaptics-0.9.16-pixmap.patch |
---|
17 | Patch3: gsynaptics-0.9.14-driver-header.patch |
---|
18 | Source1: %{name}-touchpad.png |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
20 | |
---|
21 | BuildRequires: perl(XML::Parser) |
---|
22 | BuildRequires: libgnomeui-devel |
---|
23 | BuildRequires: libglade2-devel |
---|
24 | BuildRequires: desktop-file-utils gettext |
---|
25 | BuildRequires: gnome-doc-utils |
---|
26 | BuildRequires: xorg-x11-drv-synaptics |
---|
27 | Requires: xorg-x11-drv-synaptics |
---|
28 | |
---|
29 | %description |
---|
30 | A GTK+ tool to set scroll and tap preferences for the Synaptics touchpad |
---|
31 | driver. |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | cp data/gsynaptics-init.desktop.in.in data/gsynaptics-init.desktop.in.in.org |
---|
36 | grep -v -e "^Categories=$" data/gsynaptics-init.desktop.in.in.org > data/gsynaptics-init.desktop.in.in |
---|
37 | install -p %{SOURCE1} data/touchpad.png |
---|
38 | %patch0 -p1 -b .dot-fixes |
---|
39 | %patch1 -p1 -b .zero |
---|
40 | %patch2 -p1 -b .pixmap |
---|
41 | %patch3 -p1 -b .header |
---|
42 | |
---|
43 | %build |
---|
44 | autoreconf -v --install --force || exit 1 |
---|
45 | %configure |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
52 | desktop-file-install --vendor "" \ |
---|
53 | --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
54 | --add-category HardwareSettings \ |
---|
55 | --delete-original \ |
---|
56 | $RPM_BUILD_ROOT%{_datadir}/applications/gsynaptics.desktop |
---|
57 | |
---|
58 | desktop-file-install --vendor "" \ |
---|
59 | --dir ${RPM_BUILD_ROOT}%{_datadir}/gnome/autostart/ \ |
---|
60 | --delete-original \ |
---|
61 | $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/gsynaptics-init.desktop |
---|
62 | |
---|
63 | %find_lang %{name} |
---|
64 | |
---|
65 | |
---|
66 | %clean |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | |
---|
69 | |
---|
70 | %files -f %{name}.lang |
---|
71 | %defattr(-,root,root,-) |
---|
72 | %doc AUTHORS ChangeLog COPYING README TODO |
---|
73 | %{_bindir}/* |
---|
74 | %{_datadir}/%{name} |
---|
75 | %{_datadir}/pixmaps/touchpad.png |
---|
76 | %{_datadir}/applications/*%{name}.desktop |
---|
77 | %{_datadir}/gnome/autostart/*%{name}*.desktop |
---|
78 | %{_datadir}/gnome/help/%{name} |
---|
79 | %{_mandir}/man1/gsynaptics* |
---|
80 | |
---|
81 | |
---|
82 | %changelog |
---|
83 | * Mon Apr 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.16-1 |
---|
84 | - new upstream release |
---|
85 | - import Patch3 (use the driver's header file instead of a custom synshm.h) |
---|
86 | |
---|
87 | * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.14-1 |
---|
88 | - initial build for Vine Linux |
---|
89 | |
---|
90 | * Tue Aug 12 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-2 |
---|
91 | - Fix crash on startup, thanks to Sertaç Ö. Yıldız for the pointer (#457540) |
---|
92 | - Add patch to not set undefined keys to 0 by Michal Čihař (Debian #480744) |
---|
93 | - Fix for locales not using "." as decimal seperator (upstream #12498) |
---|
94 | |
---|
95 | * Sun Jul 27 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-1 |
---|
96 | - Use dist tag |
---|
97 | |
---|
98 | * Sun Jul 27 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-1 |
---|
99 | - Update 0.9.14 |
---|
100 | |
---|
101 | * Sat Feb 09 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0.9.13-3 |
---|
102 | - rebuilt |
---|
103 | |
---|
104 | * Sat Dec 01 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.13-2 |
---|
105 | - BR gnome-doc-utils |
---|
106 | |
---|
107 | * Sat Dec 01 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.13-1 |
---|
108 | - Update to 0.9.13 |
---|
109 | - ship touchpad.png, fixes #401891 |
---|
110 | |
---|
111 | * Fri Aug 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> |
---|
112 | - Update License field due to the "Licensing guidelines changes" |
---|
113 | |
---|
114 | * Sun Jun 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.12-2 |
---|
115 | - Use ExclusiveArch just as synaptics does |
---|
116 | |
---|
117 | * Sun Jun 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.12-1 |
---|
118 | - Update to 0.9.12 |
---|
119 | - Add category HardwareSettings to desktop file (#242345) |
---|
120 | |
---|
121 | * Sat Feb 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.11-1 |
---|
122 | - Update to 0.9.11 |
---|
123 | |
---|
124 | * Mon Aug 28 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.8-2 |
---|
125 | - Rebuild |
---|
126 | |
---|
127 | * Sat Jul 08 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.8-1 |
---|
128 | - Add BuildRequires: perl-XML-Parser (fixes #197955) |
---|
129 | - update to 0.9.8 |
---|
130 | |
---|
131 | * Mon Feb 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.5-2 |
---|
132 | - Rebuild for Fedora Extras 5 |
---|
133 | |
---|
134 | * Sun Nov 13 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.5-1 |
---|
135 | - Update to 0.9.5 |
---|
136 | |
---|
137 | * Sat Oct 22 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-3 |
---|
138 | - Use dist |
---|
139 | |
---|
140 | * Tue Oct 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-2 |
---|
141 | - Improved Summary and description as suggested by ignacio |
---|
142 | |
---|
143 | * Mon Oct 03 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-1 |
---|
144 | - Initial package. |
---|