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

Revision 2584, 15.4 KB checked in by kazutaka, 13 years ago (diff)

Reinstall ができない問題に対応(Patch 1つ追加)

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