synaptic-vl.spec 16 KB

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