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

Revision 5349, 16.2 KB checked in by Takemikaduchi, 13 years ago (diff)

synaptic: fix BTS:1244
scribus: new upstream release

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