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

Revision 10474, 16.7 KB checked in by tomop, 8 years ago (diff)

synaptic-0.57.2-22

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