Group :: Sistema/Configurações/Hadware
RPM: lxde-lxinput
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define upstreamname lxinput
%define gtkver 2
Name: lxde-%upstreamname
Version: 0.3.5
Release: alt1
Summary: Keyboard and mouse settings dialog for LXDE
Group: System/Configuration/Hardware
License: GPLv2+
Url: http://lxde.sourceforge.net/
#Url: git://git.lxde.org/lxde/lxinput.git
Packager: LXDE Development Team <lxde at packages.altlinux.org>
Source: %upstreamname-%version.tar
BuildRequires: docbook-dtds docbook-style-xsl intltool libgtk+%gtkver-devel xsltproc
Requires: lxde-lxsession
%description
LXInput is a keyboard and mouse configuration utility for LXDE, the
Lightweight X11 Desktop Environment.
%prep
%setup -n %upstreamname-%version
%build
%autoreconf
%if %gtkver==3
%configure --enable-man --enable-gtk3
%else
%configure --enable-man
%endif
%make_build
%install
%makeinstall_std
#cp data/%upstreamname.desktop %buildroot%_desktopdir/%upstreamname.desktop
%find_lang %upstreamname
%files -f %upstreamname.lang
%doc AUTHORS COPYING README ChangeLog NEWS
%_bindir/%upstreamname
%_datadir/%upstreamname/
%_desktopdir/%upstreamname.desktop
%_man1dir/%upstreamname.1.*
%changelog
…
Todas as alterações você pod ver aqui
%define gtkver 2
Name: lxde-%upstreamname
Version: 0.3.5
Release: alt1
Summary: Keyboard and mouse settings dialog for LXDE
Group: System/Configuration/Hardware
License: GPLv2+
Url: http://lxde.sourceforge.net/
#Url: git://git.lxde.org/lxde/lxinput.git
Packager: LXDE Development Team <lxde at packages.altlinux.org>
Source: %upstreamname-%version.tar
BuildRequires: docbook-dtds docbook-style-xsl intltool libgtk+%gtkver-devel xsltproc
Requires: lxde-lxsession
%description
LXInput is a keyboard and mouse configuration utility for LXDE, the
Lightweight X11 Desktop Environment.
%prep
%setup -n %upstreamname-%version
%build
%autoreconf
%if %gtkver==3
%configure --enable-man --enable-gtk3
%else
%configure --enable-man
%endif
%make_build
%install
%makeinstall_std
#cp data/%upstreamname.desktop %buildroot%_desktopdir/%upstreamname.desktop
%find_lang %upstreamname
%files -f %upstreamname.lang
%doc AUTHORS COPYING README ChangeLog NEWS
%_bindir/%upstreamname
%_datadir/%upstreamname/
%_desktopdir/%upstreamname.desktop
%_man1dir/%upstreamname.1.*
%changelog
…
Todas as alterações você pod ver aqui