source: projects/specs/trunk/s/synaptic/synaptic-vl.spec @ 3423

Revision 3423, 15.6 KB checked in by yasumichi, 13 years ago (diff)

Synaptic のヘルプが表示できない問題の修正

Line 
1Name: synaptic
2Version: 0.57.2
3Release: 13%{?_dist_release}
4Summary: GTK based graphical front-end for APT
5Summary(ja): GTK ベースの APT グラフィカルフロントエンド
6Group: Applications/Administration
7License: GPL
8
9Source0: %{name}-%{version}.tar.gz
10Source10: synaptic-0.57.2-ja.po
11Source20: synaptic-dummy-grouplist.txt
12Source30: package-supported.png
13
14Patch1: synaptic-0.57.2-gcc41.patch
15Patch2: synaptic-0.57.2-repomd-1.patch
16Patch3: synaptic-0.57.2-showprog.patch
17Patch4: synaptic-0.57.2-progressapi-hack.patch
18Patch5: synaptic-0.57.2-gcc43.patch
19Patch6: synaptic-0.57.2-gcc44.patch
20
21Patch10: synaptic-0.56-desktopfile.patch
22Patch11: synaptic-0.57.2-no-utf8-help.patch
23Patch13: synaptic-0.57.2-apt-cdrom.patch
24Patch14: synaptic-0.57.2-prefer-normal-upgrade.patch
25Patch15: synaptic-0.57.2-default-size.patch
26Patch16: synaptic-0.57.2-firefox.patch
27Patch20: synaptic-dummy-grouplist.patch
28
29Patch21: synaptic-0.57.2-convert-eucjp-to-utf8.patch
30Patch22: synaptic-0.57.2-fix-memory-corruption.patch
31Patch23: synaptic-0.57.2-fix-assertion-failure.patch
32Patch24: synaptic-0.57.2-no-skip-taskbar.patch
33Patch25: synaptic-0.57.2-add-default-filters.patch
34Patch26: synaptic-0.57.2-fix-repository-updown.patch
35Patch27: synaptic-0.57.2-fix-crash-on-font-change.patch
36Patch28: synaptic-0.57.2-fix-reinstall.patch
37
38Requires: apt >= 0.5.15lorg3.93-0vl1
39Requires: usermode >= 1.69
40BuildRequires: bzip2-devel, zlib-devel
41BuildRequires: rpm-devel >= 4.8
42BuildRequires: apt-devel >= 0.5.15lorg3.95
43BuildRequires: gtk2-devel >= 2.4.0
44BuildRequires: libglade2-devel >= 2.0.1
45BuildRequires: vte-devel >= 0.11.10
46BuildRequires: xmlto
47BuildRequires: scrollkeeper
48BuildRequires: perl-XML-Parser
49BuildRequires: desktop-file-utils
50BuildRoot: %{_tmppath}/%{name}-%{version}-root
51
52Vendor: Project Vine
53Distribution: Vine Linux
54Packager: daisuke
55
56
57%description
58Synaptic is a graphical front-end for APT (Advanced Package Tool). This
59version is written with the Gtk toolkit.
60
61Instead of using trees to display packages, Synaptic is heavily based on a
62powerful package filtering system. That greatly simplifies the interface
63while giving a lot more flexibility to browse through very long package
64lists.
65
66%description -l ja
67Synaptic は APT(Advanced Package Tool) の Gtk+ ベースのグラフィカル
68フロントエンドです。Synaptic はパッケージを単純にツリー表示するのでは
69なく、強力なパッケージフィルタリングシステムを用いてパッケージを表示
70しています。
71
72
73%prep
74%setup -q
75%patch1 -p1
76%patch2 -p1
77%patch3 -p1
78%patch4 -p1
79%patch5 -p1
80%patch6 -p1
81%patch10 -p1
82%patch11 -p1
83#%patch12 -p1
84%patch13 -p1
85%patch14 -p1
86%patch15 -p1
87%patch16 -p1
88%patch20 -p1
89%patch21 -p1
90%patch22 -p1
91%patch23 -p1
92%patch24 -p1
93%patch25 -p1
94%patch26 -p1
95%patch27 -p1
96%patch28 -p1
97
98cp -f po/ja.po po/ja.po.orig
99cp -f %{SOURCE10} po/ja.po
100
101cp -f %{SOURCE20} .
102
103cp -f %{SOURCE30} pixmaps/
104
105%build
106%configure --with-pkg-hold --with-vte --enable-scripts --disable-dependency-tracking
107make -C po update-po
108make %{?_smp_mflags}
109
110%install
111rm -fr %{buildroot}
112%makeinstall
113
114# usermode setting
115mkdir -p %{buildroot}%{_bindir}
116mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
117mkdir -p %{buildroot}%{_sysconfdir}/pam.d
118ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/synaptic
119cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/synaptic
120USER=root
121PROGRAM=%{_sbindir}/synaptic
122SESSION=true
123FALLBACK=false
124EOF
125cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/synaptic
126#%PAM-1.0
127auth       sufficient   pam_rootok.so
128auth       sufficient   pam_timestamp.so
129auth       include      system-auth
130session    required     pam_permit.so
131session    optional     pam_xauth.so
132session    optional     pam_timestamp.so
133account    required     pam_permit.so
134EOF
135
136desktop-file-install --vendor=synaptic          \
137  --delete-original                             \
138  --dir %{buildroot}%{_datadir}/applications    \
139  --remove-key MultipleArgs                     \
140  --add-category Application                    \
141  --add-category System                         \
142  --add-category Settings                       \
143  %{buildroot}%{_datadir}/applications/%{name}.desktop
144
145# install japanese manpage
146mkdir -p %{buildroot}%{_mandir}/ja/man8/
147install man/synaptic.ja.8 %{buildroot}%{_mandir}/ja/man8/synaptic.8
148
149# fixed uri of manual.
150sed -i 's@file://usr@file:///usr@' %{buildroot}%{_datadir}/omf/synaptic/*.omf
151
152# remove uninstalled files
153rm -rf %{buildroot}/%{_localstatedir}/scrollkeeper
154rm -rf %{buildroot}/%{_sysconfdir}/X11
155rm -rf %{buildroot}/%{_datadir}/applications/%{name}-kde.desktop
156
157%clean
158rm -rf %{buildroot}
159
160
161%files
162%defattr(-,root,root)
163%doc COPYING* README* TODO
164%attr(755,root,root) %{_sbindir}/synaptic
165%attr(755,root,root) %{_bindir}/synaptic
166%{_sysconfdir}/security/console.apps/synaptic
167%{_sysconfdir}/pam.d/synaptic
168%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
169%{_datadir}/%{name}
170%{_datadir}/applications/%{name}.desktop
171%{_datadir}/pixmaps/%{name}.png
172%{_datadir}/omf/synaptic/*.omf
173%{_datadir}/gnome/help/synaptic
174%{_mandir}/man8/*
175%{_mandir}/ja/man8/*
176
177%changelog
178* Wed Apr 13 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-13
179- fixed uri of manual.
180
181* Thu Jan 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.57.2-12
182- add Patch28: fix reinstall error (<BTS:VineLinux:356>)
183- add BuildRequires: desktop-file-utils
184
185* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.57.2-11
186- rebuilt with rpm-4.8.0-3 (on ppc)
187
188* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-10
189- rebuild with rpm-4.8.0
190
191* Fri Aug 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-9
192- add %Patch26: fix segfault when changing repository order
193  <BTS:VineLinux:0645>
194- add %Patch27: fix crash when changing fonts <BTS:VineLinux:0751>
195
196* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-8
197- add %Patch25: add custom filter for multiple verision package
198- update Source10: add translation in ja.po
199- update Patch24: not to skip multiple version warning dialog
200
201* Sat Jul 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-7
202- add Patch24: don't skip taskbar when main window is hidden
203
204* Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-6
205- add Patch23: fix assertion failure on gtk_widget_hide
206
207* Sun Jun 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-5
208- add Patch21: fix memory corruption bug.
209- add Patch22: convert EUC text to UTF-8
210
211* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-4
212- update ja.po
213- don't apply patch12
214
215* Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-3
216- update pam.d/synaptic for pam-1.0
217
218* Fri May 16 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.57.2-2
219- add BuildRequires perl-XML-Parser
220
221* Sat May 10 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-1
222- apply new versioning policy
223- rebuild with apt-0.5.15lorg3.94a
224
225* Wed Nov 21 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl18
226- add "Applications/Accessories" and "Restricted Software" to grouplist
227- update ja.po
228
229* Fri Oct 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl17
230- add Patch2,3,4 to support apt-0.5.15lorg3.93
231- renumber Patch16 to Patch1
232- add Patch16 to use firefox instead of mozilla
233
234* Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl16
235- rebuild with apt-0.5.15lorg3.93
236
237* Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl15
238- rebuild with rpm-4.4.2.2
239
240* Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl14
241- rebuild with new environment
242- add patch16 to build with gcc4
243- add SOURCE30 to use vine icon for package-supported.png
244
245* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl13
246- rebuild with vte-0.16
247
248* Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl12
249- add Patch15 to modify default windows size and treeview font size
250
251* Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl11
252- add Patch14 to change default upgrade method to normal upgrade
253  instead of dist-upgrade.
254
255* Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl10
256- update required-version of apt (>= 0.5.15lorg3.2-0vl7)
257  - comes from libapt-pkg(MountCdrom) API change
258
259* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl9
260- add Patch13 for libapt-pkg(MountCdrom) API change.
261
262* Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl8
263- add Patch12 to fix broken summary and descriptions on UTF-8 locale.
264  - convert rpm summaries and descriptions to UTF-8 from EUC-JP.
265
266* Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl7
267- add BuildRequires: scrollkeeper
268
269* Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.57.2-0vl6
270- rebuilt with apt-0.5.15org3.1
271
272* Sun May 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl5
273- add Patch11 to use locale to show help messages instead of utf-8.
274
275* Tue Apr 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl4
276- rebuild with new apt
277- change Group to Applications/Administration
278
279* Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl3
280- update ja.po from [VineSeed:10523] etc...
281
282* Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl2
283- update ja.po
284
285* Fri Dec 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl1
286- new upstream release
287- update ja.po
288- build with rpm-4.4
289
290* Sun May 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl1
291- new upstream release
292
293* Thu Apr 07 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl0
294- new upstream version (0.56beta)
295
296* Thu Nov 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55.1-0vl1
297- new upstream release
298
299* Tue Nov 02 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55-0vl1
300- new upstream release
301- update ja.po
302
303* Mon Nov 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53.4-0vl1
304- new upstream release
305- update ja.po
306
307* Sun Aug 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53-0vl1
308- new upstream release
309- update ja.po
310
311* Tue Jul 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.52-0vl1
312- new upstream release
313
314* Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl3
315- do not run automake/autoconf in %%build
316
317* Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl2
318- add japanese man page.
319
320* Wed Jun 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl1
321- new upstream release
322
323* Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl2
324- more update ja.po
325
326* Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl1
327- new upstream release
328- update ja.po (merged cvs head)
329- add patch10 to fix 'filter' on non-UTF8 locale (merged in cvs head)
330
331* Sat Apr 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.2-0vl1
332- new upstream release
333- remove obsolete ja.po that is included in upstream
334
335* Sat Mar 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.1-0vl1
336- new upstream release
337- update ja.po
338- add BuildRequires: xmlto to build manuals.
339
340* Sat Feb 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48-0vl0.2
341- new upstream test release
342  - fix desktopfile to use usermode instead of gksu.
343
344* Thu Dec 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl1
345- new upstream release
346  - Fixed many i18n issues (thanks to Ales Kapica and Jean-Michel Poure)
347  - New Czech, Arabic translation
348  - Updated Polish,Spanish,French,Japanese,Chinese,German translation
349  - Minor documentation updates
350  - Reworked the context menu for packages
351  - Some ui improvements in the common tab
352  - Use units according to the SI spec now
353  - New summary window
354  - A lot of minor bug and typo fixes
355
356* Tue Nov 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl0
357- new upstream pre release
358
359* Tue Nov 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-0vl1
360- new upstream release
361  - font selection added for default interface font and terminal
362  - better support for translated descriptions (thanks johnnybgate)
363  - dist-upgrade is gone from the menu, the user is asked what kind of
364    upgrade he wants now
365  - toolbar has a new style (text beside buttons) now
366  - real docbook help added (yeah! thanks SEBASTIAN)
367  - "hold" button gone from the gui, moved to menü
368  - sections can translated and a more descriptive description is used
369  - rpm-src-dir support added (thanks to Panu Matilainen)
370
371* Sun Oct 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45-0vl1
372- fixed kanji code in spec file..
373- new upstream release
374  - proxy can be configured with the gui now
375  - new preferences dialog layout (thanks Sebastian Heinlein)
376  - new filter dialog layout  (thanks Sebastian Heinlein)
377  - when adding filter, they are called "New Filter 1", "New Filter 2" etc
378  - added "search lack", so that the interactive search does not start
379    immediately
380  - new quit dialog
381  - speedup for the pattern filters
382  - small ui-enhancements in the filter dialog
383  - basic support for distribution selection (if you have more than one
384    distro in your sources.list, you can choose which to use by default)
385  - new about dialog (thanks Sebastian)
386  - support to choose between different versions of a given package
387  - updated japanese, chinese, polish, spanish, russian, frensh, german
388    and italian translations
389               
390* Wed Sep 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl1
391- new upstream release
392  - two alternative main layouts can be choosen now
393  - "clean cache now" implemented" in preferences window
394  - the search entry in the main window is interactive again
395  - much improved preferences dialog (thanks to Sebastian Heinlein)
396  - new italian, spanish, russian, chinese translation
397  - new belarussian translation
398  - improved main window design (thanks Sebastian Heinlein)
399  - added "rpm-dir" repository support (thanks Panu)
400  - prepeared a lot of strings for better i18n (thanks Jean-Michel POURE)
401
402* Wed Sep 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl0.pre3
403- new upstream snapshot release
404
405* Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43.1-0vl1
406- new upstream release
407  - the descriptionParser for rpm has changed
408    (the actuall parser is configurable now)
409  - new find and changes dialog layout, more HIG compliant
410  - more bugfixes in the PkgTreeView and the new sorting code
411
412* Tue Aug 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.42-0vl1
413- new upstream release
414  - download percentage is now always calculated correctly
415  - save selection on "pin", "update" and "proceed" now
416  - some bugs fixed in the new sortable tree/list
417  - the order of the columns in the treeview is configurable now
418  - updated german/spanish/japanese/russian translation
419  - [debian only] debian package tags support
420  - sortable installed size column added
421  - "Information" tab now scrollable
422
423* Wed Jul 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.40-0vl1
424- new upstream release
425
426* Tue Jul  8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl2
427- remove BuildRequires: libzvt
428
429* Sat Jul  5 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl1
430- new upstream release
431- update ja.po
432
433* Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl2
434- update ja.po
435
436* Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl1
437- new upstream release
438
439* Thu Jun 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.37-0vl1
440- new upstream release
441
442* Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36.1-0vl1
443- new upstream release
444
445* Thu Apr 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36-0vl1
446- new upstream release 0.36
447- fixed usermode configuration file.
448
449* Tue Apr 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl2
450- rebuild with apt-0.5.5.cnc.5-0vl1
451
452* Wed Apr  2 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl1
453- new upstream release 0.35.1
454- drop obsolete patch0 which included in upstream.
455- add modified synaptic.desktop entry.
456
457* Mon Mar 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl2
458- add patch0 to fix compilation failure on apt-rpm.
459- add ja.po and patch10.
460
461* Sun Mar 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl1
462- new upstream release
463
464* Fri Mar 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.32-0vl1
465- initial release.
466
Note: See TracBrowser for help on using the repository browser.