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

Revision 3767, 15.9 KB checked in by daisuke, 13 years ago (diff)

synaptic: revuild with new apt

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