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

Revision 6827, 16.3 KB checked in by daisuke, 12 years ago (diff)

rebuild with rpm-4.10.0

Line 
1Name: synaptic
2Version: 0.57.2
3Release: 20%{?_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* Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-20
182- rebuild with rpm-4.10.0
183
184* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.57.2-19
185- fix Patch100
186
187* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.57.2-18
188- add Patch100 (synaptic-0.57.2-build-with-rpm-4.9.patch) (fix <BTS:1244>)
189
190* Thu Dec 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-17
191- rebuild with rpm-4.9.1.2
192
193* Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-16
194- use config-util for pam/usermode settings
195
196* Mon May 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-15
197- rebuild with apt-0.5.15lorg3.95-10.git522
198
199* Mon Apr 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-14
200- update Source10 and Source20.
201
202* Wed Apr 13 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-13
203- fixed uri of manual.
204
205* Thu Jan 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.57.2-12
206- add Patch28: fix reinstall error (<BTS:VineLinux:356>)
207- add BuildRequires: desktop-file-utils
208
209* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.57.2-11
210- rebuilt with rpm-4.8.0-3 (on ppc)
211
212* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-10
213- rebuild with rpm-4.8.0
214
215* Fri Aug 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-9
216- add %Patch26: fix segfault when changing repository order
217  <BTS:VineLinux:0645>
218- add %Patch27: fix crash when changing fonts <BTS:VineLinux:0751>
219
220* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-8
221- add %Patch25: add custom filter for multiple verision package
222- update Source10: add translation in ja.po
223- update Patch24: not to skip multiple version warning dialog
224
225* Sat Jul 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-7
226- add Patch24: don't skip taskbar when main window is hidden
227
228* Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-6
229- add Patch23: fix assertion failure on gtk_widget_hide
230
231* Sun Jun 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-5
232- add Patch21: fix memory corruption bug.
233- add Patch22: convert EUC text to UTF-8
234
235* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-4
236- update ja.po
237- don't apply patch12
238
239* Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-3
240- update pam.d/synaptic for pam-1.0
241
242* Fri May 16 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.57.2-2
243- add BuildRequires perl-XML-Parser
244
245* Sat May 10 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-1
246- apply new versioning policy
247- rebuild with apt-0.5.15lorg3.94a
248
249* Wed Nov 21 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl18
250- add "Applications/Accessories" and "Restricted Software" to grouplist
251- update ja.po
252
253* Fri Oct 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl17
254- add Patch2,3,4 to support apt-0.5.15lorg3.93
255- renumber Patch16 to Patch1
256- add Patch16 to use firefox instead of mozilla
257
258* Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl16
259- rebuild with apt-0.5.15lorg3.93
260
261* Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl15
262- rebuild with rpm-4.4.2.2
263
264* Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl14
265- rebuild with new environment
266- add patch16 to build with gcc4
267- add SOURCE30 to use vine icon for package-supported.png
268
269* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl13
270- rebuild with vte-0.16
271
272* Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl12
273- add Patch15 to modify default windows size and treeview font size
274
275* Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl11
276- add Patch14 to change default upgrade method to normal upgrade
277  instead of dist-upgrade.
278
279* Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl10
280- update required-version of apt (>= 0.5.15lorg3.2-0vl7)
281  - comes from libapt-pkg(MountCdrom) API change
282
283* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl9
284- add Patch13 for libapt-pkg(MountCdrom) API change.
285
286* Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl8
287- add Patch12 to fix broken summary and descriptions on UTF-8 locale.
288  - convert rpm summaries and descriptions to UTF-8 from EUC-JP.
289
290* Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl7
291- add BuildRequires: scrollkeeper
292
293* Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.57.2-0vl6
294- rebuilt with apt-0.5.15org3.1
295
296* Sun May 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl5
297- add Patch11 to use locale to show help messages instead of utf-8.
298
299* Tue Apr 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl4
300- rebuild with new apt
301- change Group to Applications/Administration
302
303* Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl3
304- update ja.po from [VineSeed:10523] etc...
305
306* Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl2
307- update ja.po
308
309* Fri Dec 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl1
310- new upstream release
311- update ja.po
312- build with rpm-4.4
313
314* Sun May 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl1
315- new upstream release
316
317* Thu Apr 07 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl0
318- new upstream version (0.56beta)
319
320* Thu Nov 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55.1-0vl1
321- new upstream release
322
323* Tue Nov 02 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55-0vl1
324- new upstream release
325- update ja.po
326
327* Mon Nov 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53.4-0vl1
328- new upstream release
329- update ja.po
330
331* Sun Aug 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53-0vl1
332- new upstream release
333- update ja.po
334
335* Tue Jul 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.52-0vl1
336- new upstream release
337
338* Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl3
339- do not run automake/autoconf in %%build
340
341* Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl2
342- add japanese man page.
343
344* Wed Jun 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl1
345- new upstream release
346
347* Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl2
348- more update ja.po
349
350* Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl1
351- new upstream release
352- update ja.po (merged cvs head)
353- add patch10 to fix 'filter' on non-UTF8 locale (merged in cvs head)
354
355* Sat Apr 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.2-0vl1
356- new upstream release
357- remove obsolete ja.po that is included in upstream
358
359* Sat Mar 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.1-0vl1
360- new upstream release
361- update ja.po
362- add BuildRequires: xmlto to build manuals.
363
364* Sat Feb 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48-0vl0.2
365- new upstream test release
366  - fix desktopfile to use usermode instead of gksu.
367
368* Thu Dec 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl1
369- new upstream release
370  - Fixed many i18n issues (thanks to Ales Kapica and Jean-Michel Poure)
371  - New Czech, Arabic translation
372  - Updated Polish,Spanish,French,Japanese,Chinese,German translation
373  - Minor documentation updates
374  - Reworked the context menu for packages
375  - Some ui improvements in the common tab
376  - Use units according to the SI spec now
377  - New summary window
378  - A lot of minor bug and typo fixes
379
380* Tue Nov 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl0
381- new upstream pre release
382
383* Tue Nov 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-0vl1
384- new upstream release
385  - font selection added for default interface font and terminal
386  - better support for translated descriptions (thanks johnnybgate)
387  - dist-upgrade is gone from the menu, the user is asked what kind of
388    upgrade he wants now
389  - toolbar has a new style (text beside buttons) now
390  - real docbook help added (yeah! thanks SEBASTIAN)
391  - "hold" button gone from the gui, moved to menü
392  - sections can translated and a more descriptive description is used
393  - rpm-src-dir support added (thanks to Panu Matilainen)
394
395* Sun Oct 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45-0vl1
396- fixed kanji code in spec file..
397- new upstream release
398  - proxy can be configured with the gui now
399  - new preferences dialog layout (thanks Sebastian Heinlein)
400  - new filter dialog layout  (thanks Sebastian Heinlein)
401  - when adding filter, they are called "New Filter 1", "New Filter 2" etc
402  - added "search lack", so that the interactive search does not start
403    immediately
404  - new quit dialog
405  - speedup for the pattern filters
406  - small ui-enhancements in the filter dialog
407  - basic support for distribution selection (if you have more than one
408    distro in your sources.list, you can choose which to use by default)
409  - new about dialog (thanks Sebastian)
410  - support to choose between different versions of a given package
411  - updated japanese, chinese, polish, spanish, russian, frensh, german
412    and italian translations
413               
414* Wed Sep 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl1
415- new upstream release
416  - two alternative main layouts can be choosen now
417  - "clean cache now" implemented" in preferences window
418  - the search entry in the main window is interactive again
419  - much improved preferences dialog (thanks to Sebastian Heinlein)
420  - new italian, spanish, russian, chinese translation
421  - new belarussian translation
422  - improved main window design (thanks Sebastian Heinlein)
423  - added "rpm-dir" repository support (thanks Panu)
424  - prepeared a lot of strings for better i18n (thanks Jean-Michel POURE)
425
426* Wed Sep 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl0.pre3
427- new upstream snapshot release
428
429* Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43.1-0vl1
430- new upstream release
431  - the descriptionParser for rpm has changed
432    (the actuall parser is configurable now)
433  - new find and changes dialog layout, more HIG compliant
434  - more bugfixes in the PkgTreeView and the new sorting code
435
436* Tue Aug 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.42-0vl1
437- new upstream release
438  - download percentage is now always calculated correctly
439  - save selection on "pin", "update" and "proceed" now
440  - some bugs fixed in the new sortable tree/list
441  - the order of the columns in the treeview is configurable now
442  - updated german/spanish/japanese/russian translation
443  - [debian only] debian package tags support
444  - sortable installed size column added
445  - "Information" tab now scrollable
446
447* Wed Jul 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.40-0vl1
448- new upstream release
449
450* Tue Jul  8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl2
451- remove BuildRequires: libzvt
452
453* Sat Jul  5 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl1
454- new upstream release
455- update ja.po
456
457* Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl2
458- update ja.po
459
460* Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl1
461- new upstream release
462
463* Thu Jun 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.37-0vl1
464- new upstream release
465
466* Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36.1-0vl1
467- new upstream release
468
469* Thu Apr 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36-0vl1
470- new upstream release 0.36
471- fixed usermode configuration file.
472
473* Tue Apr 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl2
474- rebuild with apt-0.5.5.cnc.5-0vl1
475
476* Wed Apr  2 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl1
477- new upstream release 0.35.1
478- drop obsolete patch0 which included in upstream.
479- add modified synaptic.desktop entry.
480
481* Mon Mar 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl2
482- add patch0 to fix compilation failure on apt-rpm.
483- add ja.po and patch10.
484
485* Sun Mar 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl1
486- new upstream release
487
488* Fri Mar 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.32-0vl1
489- initial release.
490
Note: See TracBrowser for help on using the repository browser.