lxshortcut-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Summary: Edit app shortcuts
  2. Summary(ja): アプリケーションのショートカットを編集します
  3. Name: lxshortcut
  4. Version: 0.1.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv3+
  7. Group: User Interface/Desktops
  8. Source0: http://dfn.dl.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  9. #Source1: lxterminal-upstream-r1231-ja.po
  10. #Patch0: lxshortcut-0.1-configure-catalogs.patch
  11. URL: http://lxde.sourceforge.net/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel >= 2.12 gettext intltool
  14. BuildRequires: pkgconfig automake autoconf
  15. BuildRequires: perl-XML-Parser
  16. BuildRequires: glib2-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. LXShortcut is a small program used to edit application shortcuts created
  21. with freedesktop.org Desktop Entry spec.
  22. %description -l ja
  23. LXShortcut は freedesktop.org デスクトップエントリの仕様に沿って
  24. 作成されたアプリケーションのショートカットを編集するために用いられる
  25. 小さなプログラムです。
  26. %prep
  27. %setup -q
  28. ### for ja.po
  29. #%patch0 -p1 -b .catalogs
  30. #%__cp -f %{SOURCE1} po/ja.po
  31. #pushd po
  32. #msgfmt -o ja.gmo ja.po
  33. #popd
  34. %build
  35. %configure
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. %makeinstall
  40. %{find_lang} %{name}
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post
  44. %postun
  45. %files -f %{name}.lang
  46. %defattr(-, root, root)
  47. %doc COPYING README ChangeLog
  48. %{_bindir}/*
  49. %dir %{_datadir}/lxshortcut
  50. %{_datadir}/lxshortcut/*
  51. %changelog
  52. * Sun Jul 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.2-1
  53. - new upstream release
  54. - added BuildRequires: perl-XML-Parser, glib2-devel
  55. * Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-2
  56. - rebuilt with current environment
  57. * Mon Jul 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.1-1
  58. - new upstream release
  59. - dropt Source1 and Patch1
  60. * Sun Apr 12 2009 IWAI, Masaharu <iwai@alib.jp> 0.1-2
  61. - add ja.po from upstream r1231 (Source1)
  62. - add configure patch for ja.po (Patch0)
  63. - add Vendor and Distribution tags
  64. - fix License tag value
  65. - using %%makeinstall macro
  66. - add %%{_datadir}/lxshortcut directory in %%files
  67. - update Group: User Interface/Desktops
  68. * Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1-1vl5
  69. - initial build for VineSeed (imported Mandriva package)
  70. * Sat Dec 06 2008 Funda Wang <fundawang@mandriva.org> 0.1-1mdv2009.1
  71. + Revision: 311195
  72. - import lxshortcut