obconf-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: obconf
  2. Version: 2.0.3
  3. Release: 3%{?_dist_release}
  4. Summary: A graphical configuration editor for the Openbox window manager
  5. Summary(ja): Openboxウインドウマネージャのためのグラフィカルな設定エディタ
  6. Group: User Interface/X
  7. License: GPLv2+
  8. URL: http://icculus.org/openbox/index.php/ObConf:About
  9. Source0: http://icculus.org/openbox/obconf/%{name}-%{version}.tar.gz
  10. Source1: obconf-2.0.3-ja.po
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: openbox >= 3.4
  13. BuildRequires: openbox-devel >= 3.4
  14. BuildRequires: libglade2-devel
  15. BuildRequires: startup-notification-devel
  16. BuildRequires: pkgconfig
  17. BuildRequires: desktop-file-utils
  18. BuildRequires: libSM-devel
  19. %description
  20. ObConf is a graphical configuration editor for the Openbox window manager.
  21. %description -l ja
  22. ObConfはOpenboxウインドウマネージャのためのグラフィカルな設定エディタです。
  23. %prep
  24. %setup -q
  25. ## for ja.po
  26. %{__cp} -f %{SOURCE1} po/ja.po
  27. pushd po
  28. %{__mv} LINGUAS LINGUAS.orig
  29. grep -v '^ja' LINGUAS.orig > LINGUAS
  30. echo 'ja' >> LINGUAS
  31. msgfmt -o ja.gmo ja.po
  32. popd
  33. %build
  34. %configure
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf %{buildroot}
  38. make install DESTDIR=%{buildroot}
  39. %find_lang %{name}
  40. desktop-file-install --vendor vine \
  41. --dir %{buildroot}%{_datadir}/applications \
  42. --add-category X-System \
  43. --delete-original \
  44. %{buildroot}%{_datadir}/applications/%{name}.desktop
  45. %clean
  46. rm -rf %{buildroot}
  47. %post
  48. update-mime-database %{_datadir}/mime &> /dev/null
  49. update-desktop-database %{_datadir}/applications &> /dev/null
  50. :
  51. %postun
  52. update-mime-database %{_datadir}/mime &> /dev/null
  53. update-desktop-database %{_datadir}/applications &> /dev/null
  54. :
  55. %files -f %{name}.lang
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS COPYING README
  58. %{_bindir}/%{name}
  59. %{_datadir}/%{name}/
  60. %{_datadir}/applications/vine-%{name}.desktop
  61. %{_datadir}/mime/packages/%{name}.xml
  62. %{_datadir}/mimelnk/
  63. %{_datadir}/pixmaps/%{name}.png
  64. %changelog
  65. * Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
  66. - add ja.po (SOURCE1)
  67. - update %%prep section for ja.po
  68. * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
  69. - fixed some little problem
  70. * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
  71. - initial build for VineSeed
  72. - fixed Requires: openbox >= 3.4
  73. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
  76. - Rebuild for new openbox
  77. * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
  78. - Update to 2.0.3
  79. * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
  80. - Update license tag
  81. * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
  82. - Update to 2.0.2
  83. * Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
  84. - Update to 2.0.1
  85. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
  86. - Mass FC6 rebuild
  87. * Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
  88. - Add BR: libSM-devel to fix build issue.
  89. * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
  90. - Initial packaging.