1 | Summary: Basic desktop integration functions |
---|
2 | Summary(ja): デスクトップ統合の基本機能 |
---|
3 | Name: xdg-utils |
---|
4 | Version: 1.0.2 |
---|
5 | Release: 2%{?_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}.tgz |
---|
11 | Patch1: xdg-utils-1.0.2-mimeopen.patch |
---|
12 | Patch2: xdg-utils-1.0.1-typo.patch |
---|
13 | Patch3: xdg-utils-1.0.1-htmlview.patch |
---|
14 | Patch4: xdg-utils-1.0.2-CVE-2008-0386.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | |
---|
19 | Requires: coreutils |
---|
20 | Requires: desktop-file-utils |
---|
21 | Requires: which |
---|
22 | |
---|
23 | %description |
---|
24 | The xdg-utils package is a set of simple scripts that provide basic |
---|
25 | desktop integration functions for any Free Desktop, such as Linux. |
---|
26 | They are intended to provide a set of defacto standards. |
---|
27 | This means that: |
---|
28 | * Third party software developers can rely on these xdg-utils |
---|
29 | for all of their simple integration needs. |
---|
30 | * Developers of desktop environments can make sure that their |
---|
31 | environments are well supported |
---|
32 | * Distribution vendors can provide custom versions of these utilities |
---|
33 | |
---|
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 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | %patch1 -p1 -b .mimeopen |
---|
48 | %patch2 -p1 -b .typo |
---|
49 | %patch3 -p1 -b .htmlview |
---|
50 | %patch4 -p1 -b .CVE-2008-0386 |
---|
51 | |
---|
52 | %build |
---|
53 | %configure |
---|
54 | |
---|
55 | %__make %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %doc ChangeLog LICENSE README TODO |
---|
69 | %{_bindir}/xdg-* |
---|
70 | %{_mandir}/man1/xdg-* |
---|
71 | |
---|
72 | %changelog |
---|
73 | * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-2 |
---|
74 | - spec in UTF-8 |
---|
75 | |
---|
76 | * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
77 | - new upstream release |
---|
78 | - add Patch4 to fix CVS-2008-0386 |
---|
79 | |
---|
80 | * Wed May 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1 |
---|
81 | - initial build for Vine Linux |
---|
82 | |
---|
83 | * Mon Apr 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-3 |
---|
84 | - add htmlview,links to browser fallbacks |
---|
85 | |
---|
86 | * Tue Dec 19 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-2 |
---|
87 | - fix typo in xdg-icon-resource manpage |
---|
88 | |
---|
89 | * Mon Nov 06 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1 |
---|
90 | - xdg-utils-1.0.1 |
---|
91 | |
---|
92 | * Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net 1.0-3 |
---|
93 | - actually *use* mimeopen patch (#210797) |
---|
94 | |
---|
95 | * Tue Oct 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-2 |
---|
96 | - prefer mimeopen as generic default (#210797) |
---|
97 | |
---|
98 | * Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-1 |
---|
99 | - 1.0(final) |
---|
100 | |
---|
101 | * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.9.rc1 |
---|
102 | - update %%description (#208926) |
---|
103 | |
---|
104 | * Wed Sep 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.8.rc1 |
---|
105 | - 1.0rc1 |
---|
106 | |
---|
107 | * Fri Sep 15 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.7.beta4 |
---|
108 | - 1.0beta4 |
---|
109 | |
---|
110 | * Mon Aug 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.6.beta3 |
---|
111 | - 1.0beta3 |
---|
112 | |
---|
113 | * Thu Jul 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.5.20060721 |
---|
114 | - Release: append/use %%{?dist} |
---|
115 | |
---|
116 | * Wed Jul 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.4.20060721 |
---|
117 | - specfile cosmetics, tabs -> spaces |
---|
118 | - %%makeinstall -> make install DESTDIR=... |
---|
119 | |
---|
120 | * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.3.20060721 |
---|
121 | - 20060721 snapshot |
---|
122 | - optgnome.patch |
---|
123 | |
---|
124 | * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.2.beta1 |
---|
125 | - Requires: desktop-file-utils |
---|
126 | |
---|
127 | * Mon Jul 24 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.1.beta1 |
---|
128 | - 1.0beta1 |
---|
129 | |
---|