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

Revision 5310, 15.9 KB checked in by daisuke, 12 years ago (diff)

synaptic: rebuild with rpm-4.9.1.2

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