Mageia Bugzilla – Attachment 13658 Details for
Bug 31453
{PACKAGE REQUEST} Synaptic touchpad fix solution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
Touchpad-Solution.spec (text/x-rpm-spec), 2.16 KB, created by
Kristoffer Grundström
on 2023-01-24 13:19:23 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2023-01-24 13:19:23 CET
Size:
2.16 KB
patch
obsolete
>%define prefix /usr >%define name Touchpad-solution >%define shortname t_solutions >%define version 0.1.9 >%define url http://www.pclinuxos.com/forum/index.php/topic,93782.0.html > >Name: %{name} >Version: %{version} >Release: %mkrel 1 >License: GPL >Group: System/Configuration >URL: %{url} >Source: %{name}.tar.xz >Summary: TouchPad Solutions (touchpad problem) >Requires: gtkdialog >Requires: yad >Buildarch: noarch > >%description >Simple GUI solution... >Getting your touchpad working properly seems to be a bit tricky with xorg 1.10.2. >The control file for your touchpad is called 50-synaptics.conf and is located in >the /etc/X11/xorg.conf.d folder. I have set this file up in default mode with the >x11-driver-input-synaptics-1.4.1-2pclos2011.i586.rpm package mainly because I'm >tired of tinking with the default config file. Seems if I set in one way it works >for some people and not for others. So here are some possible solutions for you. >One of these should work for you. > >%prep >%setup -q -n %{name} > >%build >#Nothing to build here > >%install >install -d -m 755 %{buildroot}%{_bindir} >install -m 755 %{shortname} %{buildroot}%{_bindir} >install -d -m 0755 %{buildroot}%{_datadir}/icons >install -m 0644 touchpad_s.png %{buildroot}%{_datadir}/icons/touchpad_s.png >install -d -m 0755 %{buildroot}%{_datadir}/Touchpad-Solutions >install -m 0644 solution* %{buildroot}%{_datadir}/Touchpad-Solutions/ > >mkdir -p %{buildroot}%{_datadir}/applications >cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF >[Desktop Entry] >Name=Fix Touchpad >Comment=TouchPad Solutions (touchpad problem) >Exec=%{shortname} >Icon=touchpad_s >Terminal=false >Type=Application >StartupNotify=true >Categories=Settings >EOF > ># i18n - Internationalization - Internationalisierung >mkdir -p %{buildroot}%{_datadir}/locale/de/LC_MESSAGES >msgfmt -o %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/%{shortname}.mo %{_builddir}/%{name}/languages/%{shortname}-de_DE.po > >%post >%{update_menus} >%{update_desktop_database} > >%postun >%{clean_menus} >%{clean_desktop_database} > >%files >%{_bindir}/t_solutions >%{_datadir}/icons/touchpad_s.png >%{_datadir}/applications/%{name}.desktop >%_datadir/Touchpad-Solutions/solution* >%{_datadir}/locale/* >#%%doc COPYING
%define prefix /usr %define name Touchpad-solution %define shortname t_solutions %define version 0.1.9 %define url http://www.pclinuxos.com/forum/index.php/topic,93782.0.html Name: %{name} Version: %{version} Release: %mkrel 1 License: GPL Group: System/Configuration URL: %{url} Source: %{name}.tar.xz Summary: TouchPad Solutions (touchpad problem) Requires: gtkdialog Requires: yad Buildarch: noarch %description Simple GUI solution... Getting your touchpad working properly seems to be a bit tricky with xorg 1.10.2. The control file for your touchpad is called 50-synaptics.conf and is located in the /etc/X11/xorg.conf.d folder. I have set this file up in default mode with the x11-driver-input-synaptics-1.4.1-2pclos2011.i586.rpm package mainly because I'm tired of tinking with the default config file. Seems if I set in one way it works for some people and not for others. So here are some possible solutions for you. One of these should work for you. %prep %setup -q -n %{name} %build #Nothing to build here %install install -d -m 755 %{buildroot}%{_bindir} install -m 755 %{shortname} %{buildroot}%{_bindir} install -d -m 0755 %{buildroot}%{_datadir}/icons install -m 0644 touchpad_s.png %{buildroot}%{_datadir}/icons/touchpad_s.png install -d -m 0755 %{buildroot}%{_datadir}/Touchpad-Solutions install -m 0644 solution* %{buildroot}%{_datadir}/Touchpad-Solutions/ mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Fix Touchpad Comment=TouchPad Solutions (touchpad problem) Exec=%{shortname} Icon=touchpad_s Terminal=false Type=Application StartupNotify=true Categories=Settings EOF # i18n - Internationalization - Internationalisierung mkdir -p %{buildroot}%{_datadir}/locale/de/LC_MESSAGES msgfmt -o %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/%{shortname}.mo %{_builddir}/%{name}/languages/%{shortname}-de_DE.po %post %{update_menus} %{update_desktop_database} %postun %{clean_menus} %{clean_desktop_database} %files %{_bindir}/t_solutions %{_datadir}/icons/touchpad_s.png %{_datadir}/applications/%{name}.desktop %_datadir/Touchpad-Solutions/solution* %{_datadir}/locale/* #%%doc COPYING
View Attachment As Raw
Actions:
View
Attachments on
bug 31453
: 13658