lxinput-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Name: lxinput
  2. Version: 0.3.2
  3. Release: 2%{?_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 Sep 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-2
  48. - rebuilt with current environment
  49. * Sun May 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  50. - new upstream release
  51. * Sat Jul 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
  52. - new upstream release
  53. - added BuildRequires: libX11-devel
  54. * Mon Aug 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
  55. - new upstream release
  56. - added BuildRequires: glib2-devel
  57. - changed Requires: lxde-settings-daemon to lxsession >= 0.4.0
  58. - changed BuildRequires: intltool >= 0.40
  59. * Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
  60. - new upstream release
  61. - added %{_datadir}/man/* in %files
  62. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1
  63. - initial build for VineSeed
  64. * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1
  65. - Initial Fedora package