1 | Summary: A lightweight GTK+ web browser |
---|
2 | Summary(ja): 軽量な GTK+ ウェブブラウザ |
---|
3 | Name: midori |
---|
4 | Version: 0.4.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: Applications/Internet |
---|
8 | License: LGPLv2.1+ |
---|
9 | URL: http://software.twotoasts.de/?page=midori |
---|
10 | |
---|
11 | Source0: http://software.twotoasts.de/media/%{name}/%{name}-%{version}.tar.bz2 |
---|
12 | #Patch0: %{name}-0.2.9-docdir.patch |
---|
13 | Patch0: fix_desktop_entry.patch |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | BuildRequires: desktop-file-utils |
---|
18 | BuildRequires: gettext |
---|
19 | BuildRequires: libsexy-devel |
---|
20 | BuildRequires: libtool |
---|
21 | BuildRequires: libxml2-devel >= 2.6 |
---|
22 | BuildRequires: perl-XML-Parser |
---|
23 | BuildRequires: WebKit-gtk-devel >= 1.1.17 |
---|
24 | |
---|
25 | ## for IDN support |
---|
26 | BuildRequires: libidn-devel >= 1.0 |
---|
27 | ## for Single instance |
---|
28 | BuildRequires: unique-devel >= 0.9 |
---|
29 | ## for Persistent history |
---|
30 | BuildRequires: sqlite3-devel >= 3.0 |
---|
31 | BuildRequires: glib2-devel >= 2.22.0 |
---|
32 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
33 | BuildRequires: libsoup-devel >= 2.27.90 |
---|
34 | ## for Icon optimizations: /usr/bin/rsvg-convert |
---|
35 | BuildRequires: librsvg2 |
---|
36 | ## for User documentation |
---|
37 | BuildRequires: python-docutils |
---|
38 | ## for API documentation |
---|
39 | BuildRequires: gtk-doc |
---|
40 | |
---|
41 | BuildRequires: gtksourceview2-devel |
---|
42 | BuildRequires: intltool |
---|
43 | BuildRequires: libnotify-devel |
---|
44 | BuildRequires: libXScrnSaver-devel |
---|
45 | BuildRequires: vala-devel |
---|
46 | |
---|
47 | Requires: WebKit-gtk |
---|
48 | |
---|
49 | %description |
---|
50 | Midori is a lightweight web browser, and has many features expected of a |
---|
51 | modern browser, including: |
---|
52 | * Full integration with GTK+2. |
---|
53 | * Fast rendering with WebKit. |
---|
54 | * Tabs, windows and session management. |
---|
55 | * Bookmarks are stored with XBEL. |
---|
56 | * Searchbox based on OpenSearch. |
---|
57 | * Custom context menu actions. |
---|
58 | * User scripts and user styles support. |
---|
59 | * Extensible via Lua scripts. |
---|
60 | |
---|
61 | The project is currently in an early alpha state. The features are still being |
---|
62 | implemented, and some are still quite incomplete. |
---|
63 | |
---|
64 | %description -l ja |
---|
65 | Midori は軽量な Web ブラウザで、多くの機能がモダンブラウザとして期待されています。 |
---|
66 | 以下の機能が含まれています。: |
---|
67 | * GTK+2 に完全に統合。 |
---|
68 | * WebKit で高速なレンダリング。 |
---|
69 | * タブ、ウィンドウおよびセッションの管理。 |
---|
70 | * ブックマークは XBEL で格納。 |
---|
71 | * OpenSearch に基づくサーチボックス。 |
---|
72 | * カスタムコンテキストメニューの操作。 |
---|
73 | * ユーザースクリプトとユーザースタイルをサポート。 |
---|
74 | * Lua スクリプトを介して拡張可能。 |
---|
75 | |
---|
76 | プロジェクトは現在初期アルファの状態にあります。 |
---|
77 | 機能はまだ実装中で、一部はかなり不完全です。 |
---|
78 | |
---|
79 | %package devel |
---|
80 | Summary: Development files for %{name} |
---|
81 | Summary(ja): %{name} の開発ファイル |
---|
82 | Group: Development/Libraries |
---|
83 | Requires: %{name} = %{version}-%{release} |
---|
84 | Requires: vala |
---|
85 | |
---|
86 | %description devel |
---|
87 | The %{name}-devel package contains libraries and header files for |
---|
88 | developing extensions for %{name}. |
---|
89 | |
---|
90 | %prep |
---|
91 | %setup -q |
---|
92 | #%patch0 -p1 -b .docdir |
---|
93 | %patch0 -p1 |
---|
94 | |
---|
95 | %build |
---|
96 | export CFLAGS="%{optflags}" |
---|
97 | ./waf --prefix=%{_usr} \ |
---|
98 | --docdir=%{_docdir}/%{name}-%{version} \ |
---|
99 | --libdir=%{_libdir} \ |
---|
100 | --enable-apidocs \ |
---|
101 | configure \ |
---|
102 | --disable-hildon |
---|
103 | ./waf %{?_smp_mflags} build |
---|
104 | |
---|
105 | |
---|
106 | %install |
---|
107 | rm -rf %{buildroot} |
---|
108 | ./waf --destdir=%{buildroot} install |
---|
109 | %find_lang %{name} |
---|
110 | desktop-file-install \ |
---|
111 | --vendor "" \ |
---|
112 | --delete-original \ |
---|
113 | --dir %{buildroot}%{_datadir}/applications \ |
---|
114 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
115 | |
---|
116 | mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/%{name} |
---|
117 | install -Dpm 644 _build_/docs/api/midori/html/* \ |
---|
118 | %{buildroot}%{_datadir}/gtk-doc/html/%{name} |
---|
119 | |
---|
120 | %clean |
---|
121 | rm -rf %{buildroot} |
---|
122 | |
---|
123 | %post |
---|
124 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
125 | |
---|
126 | |
---|
127 | %postun |
---|
128 | if [ $1 -eq 0 ] ; then |
---|
129 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
130 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
131 | fi |
---|
132 | |
---|
133 | %posttrans |
---|
134 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
135 | |
---|
136 | %files -f %{name}.lang |
---|
137 | %defattr(-,root,root,-) |
---|
138 | %doc %{_docdir}/%{name}-%{version}/ |
---|
139 | %{_bindir}/midori |
---|
140 | %{_datadir}/applications/%{name}*.desktop |
---|
141 | %{_datadir}/icons/hicolor/* |
---|
142 | %{_datadir}/%{name}/ |
---|
143 | %{_libdir}/%{name}/ |
---|
144 | %{_sysconfdir}/xdg/%{name}/ |
---|
145 | |
---|
146 | %files devel |
---|
147 | %defattr(-,root,root,-) |
---|
148 | %doc %{_datadir}/gtk-doc/ |
---|
149 | %{_datadir}/vala/ |
---|
150 | %{_includedir}/%{name}-0.4/ |
---|
151 | |
---|
152 | %changelog |
---|
153 | * Fri Nov 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.2-1 |
---|
154 | - new upstream release |
---|
155 | - changed BuildRequires: libsoup-devel >= 2.25.2 to >= 2.27.90, |
---|
156 | glib2-devel >= 2.16.0 to >= 2.22, WebKit-gtk-devel >= 1.1.6 to 1.1.17 |
---|
157 | |
---|
158 | * Thu Oct 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-2 |
---|
159 | - changed BuildRequires: docutils to python-docutils |
---|
160 | |
---|
161 | * Mon Oct 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Wed Aug 03 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.0-1 |
---|
165 | - new upstream release |
---|
166 | - refresh patch0 |
---|
167 | |
---|
168 | * Wed May 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.6-1 |
---|
169 | - new upstream release |
---|
170 | - added Patch0 to fix desktop entry |
---|
171 | |
---|
172 | * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.5-1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.3.3-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Sun Feb 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.2-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Tue Feb 1 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-1 |
---|
182 | - new upstream release |
---|
183 | - dropt Patch0 |
---|
184 | |
---|
185 | * Sun Nov 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.9-1 |
---|
186 | - new upstream release |
---|
187 | - recreated patch0 |
---|
188 | - probed %%post and %%postun |
---|
189 | - added %%posttrans |
---|
190 | |
---|
191 | * Mon Sep 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.8-1 |
---|
192 | - new upstream release |
---|
193 | |
---|
194 | * Thu Aug 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.7-1 |
---|
195 | - new upstream release |
---|
196 | - disabled conditional branch to vala support |
---|
197 | - to preparation vala package on Vine 5 |
---|
198 | - splitted devel file |
---|
199 | - enabled BuildRequires: gtk-doc |
---|
200 | |
---|
201 | * Wed May 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.6-1 |
---|
202 | - new upstream release |
---|
203 | - deleted duplicate BuildRequires (librsvg2) |
---|
204 | - added BuildRequires: libXScrnSaver-devel |
---|
205 | - fixed BuildRoot path |
---|
206 | - applied conditional branch to vala support |
---|
207 | |
---|
208 | * Thu May 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.5-1 |
---|
209 | - new upstream release |
---|
210 | - added BuildRequires: gtksourceview2-devel, intltool, libnotify-devel, librsvg2, |
---|
211 | vala-devel |
---|
212 | - added Patch0 from Fedora to fix docdir |
---|
213 | - improved %files section |
---|
214 | |
---|
215 | * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.4-1 |
---|
216 | - new upstream release |
---|
217 | - applied new naming policy to spec |
---|
218 | |
---|
219 | * Thu Feb 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.3-1 |
---|
220 | - new upstream release |
---|
221 | |
---|
222 | * Mon Dec 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.2-1 |
---|
223 | - new upstream release |
---|
224 | |
---|
225 | * Sat Nov 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.1-1 |
---|
226 | - new upstream release |
---|
227 | |
---|
228 | * Fri Oct 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.0-1 |
---|
229 | - new upstream release |
---|
230 | - fixed BuildRequires: perl-XML-Parser |
---|
231 | |
---|
232 | * Sun Sep 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.10-1 |
---|
233 | - new upstream release |
---|
234 | |
---|
235 | * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.9-1 |
---|
236 | - new upstream release |
---|
237 | |
---|
238 | * Mon Jul 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-2 |
---|
239 | - added Japanese description |
---|
240 | - fixed BuildRequires: perl(XML::Parser) to perl-XML-Parser |
---|
241 | |
---|
242 | * Sun Jul 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.8-1 |
---|
243 | - new upstream release |
---|
244 | - few changed in %files seciton |
---|
245 | |
---|
246 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1 |
---|
247 | - new upstream release |
---|
248 | - add BR: WebKit-gtk-devel >= 1.1.6 |
---|
249 | - add --disable-hildon to configure option |
---|
250 | |
---|
251 | * Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-1 |
---|
252 | - new upstream release |
---|
253 | - drop old ja.po |
---|
254 | |
---|
255 | * Mon Feb 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.1-1 |
---|
256 | - new upstream release |
---|
257 | |
---|
258 | * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.19-1 |
---|
259 | - new upstream release |
---|
260 | - update ja.po |
---|
261 | |
---|
262 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.18-1 |
---|
263 | - initial build for Vine Linux |
---|
264 | - add initial ja.po |
---|
265 | |
---|
266 | * Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1 |
---|
267 | - Update to new upstream release (0.0.18), adds some translations and |
---|
268 | a lot of bug-fixes. |
---|
269 | - Alphabetize dependency list (aesthetic-only change). |
---|
270 | |
---|
271 | * Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3 |
---|
272 | - Rebuild for updated WebKit library so-name and include directory. |
---|
273 | |
---|
274 | * Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2 |
---|
275 | - Cleanups from review (bug 435661): |
---|
276 | (1) Fix consistency of tabs/spaces usage. |
---|
277 | (2) Fix source permissions. |
---|
278 | (3) Add desktop-file-utils build dependency. |
---|
279 | |
---|
280 | * Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1 |
---|
281 | - Initial packaging for Fedora. |
---|