synaptic-vl.spec 16 KB

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