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

Revision 5352, 16.3 KB checked in by Takemikaduchi, 12 years ago (diff)

fix BTS:1244

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