synaptic-vl.spec 15 KB

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