lxinput-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130
  2. Name: lxinput
  3. Version: 0.1.1
  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: gettext intltool desktop-file-utils pkgconfig
  14. BuildRequires: perl-XML-Parser
  15. Requires: lxde-settings-daemon
  16. %description
  17. LXInput is a keyboard and mouse configuration utility for LXDE, the
  18. Lightweight X11 Desktop Environment.
  19. %description -l ja
  20. LXInputはLXDEのキーボードとマウスの設定ユーティリティです。
  21. %prep
  22. %setup -q
  23. %build
  24. %configure
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  29. desktop-file-install \
  30. --delete-original \
  31. --remove-only-show-in=LXDE \
  32. --add-category=X-LXDE \
  33. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  34. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  35. %find_lang %{name}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files -f %{name}.lang
  39. %defattr(-,root,root,-)
  40. #FIXME: add ChangeLog and NEWS if there is content
  41. %doc AUTHORS COPYING README
  42. %{_bindir}/%{name}
  43. %{_datadir}/%{name}/
  44. %{_datadir}/applications/%{name}.desktop
  45. %{_datadir}/man/*
  46. %changelog
  47. * Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
  48. - new upstream release
  49. - added %{_datadir}/man/* in %files
  50. * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1
  51. - initial build for VineSeed
  52. * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1
  53. - Initial Fedora package