obconf-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Name: obconf
  2. Version: 2.0.4
  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://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. * Sun Nov 15 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-3
  72. - rebuilt with openbox-3.6
  73. * Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.0.4-2
  74. - rebuild with openbox-3.5
  75. - use 2.0.4 release tar ball
  76. - drop all patches
  77. * Sat Feb 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.4-1.git20120217
  78. - new upstream release
  79. - built trunk snapshot
  80. - added patch0-3 from Debian sid
  81. - fixed Summary(ja) and description -l ja
  82. - changed URL and Source0
  83. * Fri Jul 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-4
  84. - rebuilt with current environment
  85. * Wed Mar 25 2009 IWAI, Masaharu <iwai@alib.jp> - 2.0.3-3
  86. - add ja.po (SOURCE1)
  87. - update %%prep section for ja.po
  88. * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-2vl5
  89. - fixed some little problem
  90. * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0.3-1vl5
  91. - initial build for VineSeed
  92. - fixed Requires: openbox >= 3.4
  93. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-3
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  95. * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-2
  96. - Rebuild for new openbox
  97. * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.3-1
  98. - Update to 2.0.3
  99. * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-2
  100. - Update license tag
  101. * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.2-1
  102. - Update to 2.0.2
  103. * Thu Jun 14 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.0.1-1
  104. - Update to 2.0.1
  105. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-3
  106. - Mass FC6 rebuild
  107. * Thu Jul 13 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-2
  108. - Add BR: libSM-devel to fix build issue.
  109. * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 1.6-1
  110. - Initial packaging.