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