obconf-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Name: obconf
  2. Version: 2.0.4
  3. Release: 2%{?_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://openbox.org/wiki/ObConf:About
  9. Source0: http://openbox.org/dist/obconf/%{name}-%{version}.tar.gz
  10. Source1: obconf-2.0.3-ja.po
  11. #Patch0: fix_freedesktop_compliance.patch
  12. #Patch1: revert_new_button_layout.patch
  13. #Patch2: show_specific_tab.dpatch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Requires: openbox >= 3.5
  16. BuildRequires: openbox-devel >= 3.5
  17. BuildRequires: libglade2-devel
  18. BuildRequires: startup-notification-devel
  19. BuildRequires: pkgconfig
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: libSM-devel
  22. %description
  23. ObConf is a graphical configuration editor for the Openbox window manager.
  24. %description -l ja
  25. ObConf は Openbox ウインドウマネージャーのためのグラフィカルな設定エディターです。
  26. %prep
  27. %setup -q
  28. ## for ja.po
  29. %{__cp} -f %{SOURCE1} po/ja.po
  30. pushd po
  31. %{__mv} LINGUAS LINGUAS.orig
  32. grep -v '^ja' LINGUAS.orig > LINGUAS
  33. echo 'ja' >> LINGUAS
  34. msgfmt -o ja.gmo ja.po
  35. popd
  36. #%patch0 -p1
  37. #%patch1 -p1
  38. #%patch2 -p1
  39. %build
  40. %configure
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf %{buildroot}
  44. make install DESTDIR=%{buildroot}
  45. %find_lang %{name}
  46. desktop-file-install --vendor vine \
  47. --dir %{buildroot}%{_datadir}/applications \
  48. --add-category X-System \
  49. --delete-original \
  50. %{buildroot}%{_datadir}/applications/%{name}.desktop
  51. %clean
  52. rm -rf %{buildroot}
  53. %post
  54. update-mime-database %{_datadir}/mime &> /dev/null
  55. update-desktop-database %{_datadir}/applications &> /dev/null
  56. :
  57. %postun
  58. update-mime-database %{_datadir}/mime &> /dev/null
  59. update-desktop-database %{_datadir}/applications &> /dev/null
  60. :
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc AUTHORS COPYING README
  64. %{_bindir}/%{name}
  65. %{_datadir}/%{name}/
  66. %{_datadir}/applications/vine-%{name}.desktop
  67. %{_datadir}/mime/packages/%{name}.xml
  68. %{_datadir}/mimelnk/
  69. %{_datadir}/pixmaps/%{name}.png
  70. %changelog
  71. * Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-2
  72. - rebuild with openbox-3.5
  73. - use 2.0.4 release tar ball
  74. - drop all patches
  75. * Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217
  76. - new upstream release
  77. - built trunk snapshot
  78. - added patch0-3 from Debian sid
  79. - fixed Summary(ja) and description -l ja
  80. - changed URL and Source0
  81. * Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
  82. - rebuilt with current environment
  83. * Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
  84. - add ja.po (SOURCE1)
  85. - update %%prep section for ja.po
  86. * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
  87. - fixed some little problem
  88. * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
  89. - initial build for VineSeed
  90. - fixed Requires: openbox >= 3.4
  91. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  93. * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
  94. - Rebuild for new openbox
  95. * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
  96. - Update to 2.0.3
  97. * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
  98. - Update license tag
  99. * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
  100. - Update to 2.0.2
  101. * Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
  102. - Update to 2.0.1
  103. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
  104. - Mass FC6 rebuild
  105. * Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
  106. - Add BR: libSM-devel to fix build issue.
  107. * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
  108. - Initial packaging.