lxinput-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130
  2. Name: lxinput
  3. Version: 0.3.0
  4. Release: 1%{?_dist_release}
  5. Summary: Keyboard and mouse configuration utility for LXDE
  6. Summary(ja): LXDE のキーボードとマウスの設定ユーティリティ
  7. Group: User Interface/Desktops
  8. License: GPLv2+
  9. URL: http://lxde.sourceforge.net/
  10. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk2-devel >= 2.12.0
  13. BuildRequires: glib2-devel
  14. BuildRequires: intltool >= 0.40
  15. BuildRequires: gettext desktop-file-utils pkgconfig
  16. BuildRequires: perl-XML-Parser
  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. #FIXME: add ChangeLog and NEWS if there is content
  42. %doc AUTHORS COPYING README
  43. %{_bindir}/%{name}
  44. %{_datadir}/%{name}/
  45. %{_datadir}/applications/%{name}.desktop
  46. %{_datadir}/man/*
  47. %changelog
  48. * Tue Aug 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
  49. - new upstream release
  50. - added BuildRequires: glib2-devel
  51. - changed Requires: lxde-settings-daemon to lxsession >= 0.4.0
  52. - changed BuildRequires: intltool >= 0.40
  53. * Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
  54. - new upstream release
  55. - added %{_datadir}/man/* in %files
  56. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1
  57. - initial build for VineSeed
  58. * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1
  59. - Initial Fedora package