lxinput-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: lxinput
  2. Version: 0.3.1
  3. Release: 1%{?_dist_release}
  4. Summary: Keyboard and mouse configuration utility for LXDE
  5. Summary(ja): LXDE のキーボードとマウスの設定ユーティリティ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.12.0
  12. BuildRequires: glib2-devel
  13. BuildRequires: intltool >= 0.40
  14. BuildRequires: gettext desktop-file-utils pkgconfig
  15. BuildRequires: perl-XML-Parser
  16. BuildRequires: libX11-devel
  17. Requires: lxsession >= 0.4.0
  18. %description
  19. LXInput is a keyboard and mouse configuration utility for LXDE, the
  20. Lightweight X11 Desktop Environment.
  21. %description -l ja
  22. LXInput は LXDE のキーボードとマウスの設定ユーティリティです。
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  31. desktop-file-install \
  32. --delete-original \
  33. --add-category=X-LXDE \
  34. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  35. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  36. %find_lang %{name}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files -f %{name}.lang
  40. %defattr(-,root,root,-)
  41. %doc AUTHORS ChangeLog COPYING NEWS README
  42. %{_bindir}/%{name}
  43. %{_datadir}/%{name}/
  44. %{_datadir}/applications/%{name}.desktop
  45. %{_datadir}/man/*
  46. %changelog
  47. * Sat Jul 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
  48. - new upstream release
  49. - added BuildRequires: libX11-devel
  50. * Tue Aug 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
  51. - new upstream release
  52. - added BuildRequires: glib2-devel
  53. - changed Requires: lxde-settings-daemon to lxsession >= 0.4.0
  54. - changed BuildRequires: intltool >= 0.40
  55. * Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
  56. - new upstream release
  57. - added %{_datadir}/man/* in %files
  58. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1
  59. - initial build for VineSeed
  60. * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1
  61. - Initial Fedora package