xdg-utils-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Summary: Basic desktop integration functions
  2. Summary(ja): デスクトップ統合の基本機能
  3. Name: xdg-utils
  4. Version: 1.1.1
  5. Release: 1%{?_dist_release}
  6. URL: http://portland.freedesktop.org/
  7. License: MIT
  8. Group: System Environment/Base
  9. Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}.tar.gz
  10. Source1: htmlview.sh
  11. Patch1: xdg-utils-1.1.1-browser.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: w3m
  15. BuildRequires: xmlto
  16. Requires: coreutils
  17. Requires: desktop-file-utils
  18. Requires: which
  19. Obsoletes: htmlview
  20. Provides: htmlview
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: daisuke
  24. %description
  25. The xdg-utils package is a set of simple scripts that provide basic
  26. desktop integration functions for any Free Desktop, such as Linux.
  27. They are intended to provide a set of defacto standards.
  28. This means that:
  29. * Third party software developers can rely on these xdg-utils
  30. for all of their simple integration needs.
  31. * Developers of desktop environments can make sure that their
  32. environments are well supported
  33. * Distribution vendors can provide custom versions of these utilities
  34. The following scripts are provided at this time:
  35. * xdg-desktop-menu Install desktop menu items
  36. * xdg-desktop-icon Install icons to the desktop
  37. * xdg-icon-resource Install icon resources
  38. * xdg-mime Query information about file type handling and
  39. install descriptions for new file types
  40. * xdg-open Open a file or URL in the user's preferred application
  41. * xdg-email Send mail using the user's preferred e-mail composer
  42. * xdg-screensaver Control the screensaver
  43. * xdg-settings Get various settings from the desktop environment
  44. %description -l ja
  45. xdg-utils パッケージは、Linux を含むさまざまな自由デスクトップにおける
  46. デスクトップ統合の基本機能を提供するスクリプト群が含まれています。
  47. 下記のような目的のために、デファクトスタンダードを提供する目的で用意さ
  48. れています。
  49. * サードパーティのソフトウエア開発者は、xdg-utils を前提とすることで共
  50. 通化することができます。
  51. * デスクトップ環境の開発者はその環境がよりサポートされるようにすること
  52. ができます。
  53. * ディストリビューションベンダは、これらのユーティリティのカスタム版を
  54. 提供することができます。
  55. 現在は、下記のスクリプトが提供されています:
  56. * xdg-desktop-menu デスクトップメニューのインストール
  57. * xdg-desktop-icon デスクトップへのアイコンのインストール
  58. * xdg-icon-resource アイコンのインストール
  59. * xdg-mime ファイルタイプハンドラに関するクエリーと、
  60. 新しいファイルタイプの登録
  61. * xdg-open お気に入りのアプリケーションでファイルまたはURLを開く
  62. * xdg-email お気に入りのメーラーでメールを送る
  63. * xdg-screensaver スクリーンセーバーの制御
  64. * xdg-settings デスクトップ環境からさまざまな設定を取り出す
  65. %prep
  66. %setup -q -n %{name}-%{version}
  67. %patch1 -p1 -b .browser
  68. %build
  69. %configure
  70. %__make %{?_smp_mflags}
  71. %install
  72. rm -rf $RPM_BUILD_ROOT
  73. %__make install DESTDIR=$RPM_BUILD_ROOT
  74. install -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/htmlview
  75. %clean
  76. rm -rf $RPM_BUILD_ROOT
  77. %files
  78. %defattr(-,root,root,-)
  79. %doc ChangeLog LICENSE README TODO
  80. %{_bindir}/xdg-*
  81. %{_bindir}/htmlview
  82. %{_mandir}/man1/xdg-*
  83. %changelog
  84. * Thu Jul 28 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
  85. - new upstream release.
  86. - updated Patch1.
  87. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2.rc1
  88. - rebuild with VineSeed environment
  89. * Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1.rc1
  90. - add htmlview compatibility script
  91. - add Obsoletes: htmlview, add Provides: htmlview
  92. * Tue Apr 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-0.rc1
  93. - update to 1.1.0-rc1
  94. * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-2
  95. - spec in UTF-8
  96. * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  97. - new upstream release
  98. - add Patch4 to fix CVS-2008-0386
  99. * Wed May 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1
  100. - initial build for Vine Linux
  101. * Mon Apr 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-3
  102. - add htmlview,links to browser fallbacks
  103. * Tue Dec 19 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-2
  104. - fix typo in xdg-icon-resource manpage
  105. * Mon Nov 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
  106. - xdg-utils-1.0.1
  107. * Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net 1.0-3
  108. - actually *use* mimeopen patch (#210797)
  109. * Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-2
  110. - prefer mimeopen as generic default (#210797)
  111. * Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-1
  112. - 1.0(final)
  113. * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.9.rc1
  114. - update %%description (#208926)
  115. * Wed Sep 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.8.rc1
  116. - 1.0rc1
  117. * Fri Sep 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.7.beta4
  118. - 1.0beta4
  119. * Mon Aug 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.6.beta3
  120. - 1.0beta3
  121. * Thu Jul 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.5.20060721
  122. - Release: append/use %%{?dist}
  123. * Wed Jul 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.4.20060721
  124. - specfile cosmetics, tabs -> spaces
  125. - %%makeinstall -> make install DESTDIR=...
  126. * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.3.20060721
  127. - 20060721 snapshot
  128. - optgnome.patch
  129. * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.2.beta1
  130. - Requires: desktop-file-utils
  131. * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.1.beta1
  132. - 1.0beta1