synaptic-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. Name: synaptic
  2. Version: 0.57.2
  3. Release: 12%{?_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. USER=root
  103. PROGRAM=%{_sbindir}/synaptic
  104. SESSION=true
  105. FALLBACK=false
  106. EOF
  107. cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/synaptic
  108. #%PAM-1.0
  109. auth sufficient pam_rootok.so
  110. auth sufficient pam_timestamp.so
  111. auth include system-auth
  112. session required pam_permit.so
  113. session optional pam_xauth.so
  114. session optional pam_timestamp.so
  115. account required pam_permit.so
  116. EOF
  117. desktop-file-install --vendor=synaptic \
  118. --delete-original \
  119. --dir %{buildroot}%{_datadir}/applications \
  120. --remove-key MultipleArgs \
  121. --add-category Application \
  122. --add-category System \
  123. --add-category Settings \
  124. %{buildroot}%{_datadir}/applications/%{name}.desktop
  125. # install japanese manpage
  126. mkdir -p %{buildroot}%{_mandir}/ja/man8/
  127. install man/synaptic.ja.8 %{buildroot}%{_mandir}/ja/man8/synaptic.8
  128. # remove uninstalled files
  129. rm -rf %{buildroot}/%{_localstatedir}/scrollkeeper
  130. rm -rf %{buildroot}/%{_sysconfdir}/X11
  131. rm -rf %{buildroot}/%{_datadir}/applications/%{name}-kde.desktop
  132. %clean
  133. rm -rf %{buildroot}
  134. %files
  135. %defattr(-,root,root)
  136. %doc COPYING* README* TODO
  137. %attr(755,root,root) %{_sbindir}/synaptic
  138. %attr(755,root,root) %{_bindir}/synaptic
  139. %{_sysconfdir}/security/console.apps/synaptic
  140. %{_sysconfdir}/pam.d/synaptic
  141. %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
  142. %{_datadir}/%{name}
  143. %{_datadir}/applications/%{name}.desktop
  144. %{_datadir}/pixmaps/%{name}.png
  145. %{_datadir}/omf/synaptic/*.omf
  146. %{_datadir}/gnome/help/synaptic
  147. %{_mandir}/man8/*
  148. %{_mandir}/ja/man8/*
  149. %changelog
  150. * Thu Jan 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.57.2-12
  151. - add Patch28: fix reinstall error (<BTS:VineLinux:356>)
  152. - add BuildRequires: desktop-file-utils
  153. * Fri Feb 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.57.2-11
  154. - rebuilt with rpm-4.8.0-3 (on ppc)
  155. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-10
  156. - rebuild with rpm-4.8.0
  157. * Fri Aug 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-9
  158. - add %Patch26: fix segfault when changing repository order
  159. <BTS:VineLinux:0645>
  160. - add %Patch27: fix crash when changing fonts <BTS:VineLinux:0751>
  161. * Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-8
  162. - add %Patch25: add custom filter for multiple verision package
  163. - update Source10: add translation in ja.po
  164. - update Patch24: not to skip multiple version warning dialog
  165. * Sat Jul 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-7
  166. - add Patch24: don't skip taskbar when main window is hidden
  167. * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-6
  168. - add Patch23: fix assertion failure on gtk_widget_hide
  169. * Sun Jun 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-5
  170. - add Patch21: fix memory corruption bug.
  171. - add Patch22: convert EUC text to UTF-8
  172. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-4
  173. - update ja.po
  174. - don't apply patch12
  175. * Tue Jul 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-3
  176. - update pam.d/synaptic for pam-1.0
  177. * Fri May 16 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.57.2-2
  178. - add BuildRequires perl-XML-Parser
  179. * Sat May 10 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.57.2-1
  180. - apply new versioning policy
  181. - rebuild with apt-0.5.15lorg3.94a
  182. * Wed Nov 21 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl18
  183. - add "Applications/Accessories" and "Restricted Software" to grouplist
  184. - update ja.po
  185. * Fri Oct 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl17
  186. - add Patch2,3,4 to support apt-0.5.15lorg3.93
  187. - renumber Patch16 to Patch1
  188. - add Patch16 to use firefox instead of mozilla
  189. * Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl16
  190. - rebuild with apt-0.5.15lorg3.93
  191. * Sun Oct 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl15
  192. - rebuild with rpm-4.4.2.2
  193. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl14
  194. - rebuild with new environment
  195. - add patch16 to build with gcc4
  196. - add SOURCE30 to use vine icon for package-supported.png
  197. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl13
  198. - rebuild with vte-0.16
  199. * Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl12
  200. - add Patch15 to modify default windows size and treeview font size
  201. * Sun Nov 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl11
  202. - add Patch14 to change default upgrade method to normal upgrade
  203. instead of dist-upgrade.
  204. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl10
  205. - update required-version of apt (>= 0.5.15lorg3.2-0vl7)
  206. - comes from libapt-pkg(MountCdrom) API change
  207. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl9
  208. - add Patch13 for libapt-pkg(MountCdrom) API change.
  209. * Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl8
  210. - add Patch12 to fix broken summary and descriptions on UTF-8 locale.
  211. - convert rpm summaries and descriptions to UTF-8 from EUC-JP.
  212. * Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.57.2-0vl7
  213. - add BuildRequires: scrollkeeper
  214. * Sun May 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.57.2-0vl6
  215. - rebuilt with apt-0.5.15org3.1
  216. * Sun May 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl5
  217. - add Patch11 to use locale to show help messages instead of utf-8.
  218. * Tue Apr 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl4
  219. - rebuild with new apt
  220. - change Group to Applications/Administration
  221. * Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl3
  222. - update ja.po from [VineSeed:10523] etc...
  223. * Sat Feb 11 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.57.2-0vl2
  224. - update ja.po
  225. * Fri Dec 16 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.57.2-0vl1
  226. - new upstream release
  227. - update ja.po
  228. - build with rpm-4.4
  229. * Sun May 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl1
  230. - new upstream release
  231. * Thu Apr 07 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.56-0vl0
  232. - new upstream version (0.56beta)
  233. * Thu Nov 04 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55.1-0vl1
  234. - new upstream release
  235. * Tue Nov 02 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.55-0vl1
  236. - new upstream release
  237. - update ja.po
  238. * Mon Nov 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53.4-0vl1
  239. - new upstream release
  240. - update ja.po
  241. * Sun Aug 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.53-0vl1
  242. - new upstream release
  243. - update ja.po
  244. * Tue Jul 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.52-0vl1
  245. - new upstream release
  246. * Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl3
  247. - do not run automake/autoconf in %%build
  248. * Fri Jun 25 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl2
  249. - add japanese man page.
  250. * Wed Jun 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.51-0vl1
  251. - new upstream release
  252. * Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl2
  253. - more update ja.po
  254. * Tue Jun 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.50-0vl1
  255. - new upstream release
  256. - update ja.po (merged cvs head)
  257. - add patch10 to fix 'filter' on non-UTF8 locale (merged in cvs head)
  258. * Sat Apr 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.2-0vl1
  259. - new upstream release
  260. - remove obsolete ja.po that is included in upstream
  261. * Sat Mar 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48.1-0vl1
  262. - new upstream release
  263. - update ja.po
  264. - add BuildRequires: xmlto to build manuals.
  265. * Sat Feb 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.48-0vl0.2
  266. - new upstream test release
  267. - fix desktopfile to use usermode instead of gksu.
  268. * Thu Dec 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl1
  269. - new upstream release
  270. - Fixed many i18n issues (thanks to Ales Kapica and Jean-Michel Poure)
  271. - New Czech, Arabic translation
  272. - Updated Polish,Spanish,French,Japanese,Chinese,German translation
  273. - Minor documentation updates
  274. - Reworked the context menu for packages
  275. - Some ui improvements in the common tab
  276. - Use units according to the SI spec now
  277. - New summary window
  278. - A lot of minor bug and typo fixes
  279. * Tue Nov 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0vl0
  280. - new upstream pre release
  281. * Tue Nov 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-0vl1
  282. - new upstream release
  283. - font selection added for default interface font and terminal
  284. - better support for translated descriptions (thanks johnnybgate)
  285. - dist-upgrade is gone from the menu, the user is asked what kind of
  286. upgrade he wants now
  287. - toolbar has a new style (text beside buttons) now
  288. - real docbook help added (yeah! thanks SEBASTIAN)
  289. - "hold" button gone from the gui, moved to menü
  290. - sections can translated and a more descriptive description is used
  291. - rpm-src-dir support added (thanks to Panu Matilainen)
  292. * Sun Oct 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45-0vl1
  293. - fixed kanji code in spec file..
  294. - new upstream release
  295. - proxy can be configured with the gui now
  296. - new preferences dialog layout (thanks Sebastian Heinlein)
  297. - new filter dialog layout (thanks Sebastian Heinlein)
  298. - when adding filter, they are called "New Filter 1", "New Filter 2" etc
  299. - added "search lack", so that the interactive search does not start
  300. immediately
  301. - new quit dialog
  302. - speedup for the pattern filters
  303. - small ui-enhancements in the filter dialog
  304. - basic support for distribution selection (if you have more than one
  305. distro in your sources.list, you can choose which to use by default)
  306. - new about dialog (thanks Sebastian)
  307. - support to choose between different versions of a given package
  308. - updated japanese, chinese, polish, spanish, russian, frensh, german
  309. and italian translations
  310. * Wed Sep 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl1
  311. - new upstream release
  312. - two alternative main layouts can be choosen now
  313. - "clean cache now" implemented" in preferences window
  314. - the search entry in the main window is interactive again
  315. - much improved preferences dialog (thanks to Sebastian Heinlein)
  316. - new italian, spanish, russian, chinese translation
  317. - new belarussian translation
  318. - improved main window design (thanks Sebastian Heinlein)
  319. - added "rpm-dir" repository support (thanks Panu)
  320. - prepeared a lot of strings for better i18n (thanks Jean-Michel POURE)
  321. * Wed Sep 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.44-0vl0.pre3
  322. - new upstream snapshot release
  323. * Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43.1-0vl1
  324. - new upstream release
  325. - the descriptionParser for rpm has changed
  326. (the actuall parser is configurable now)
  327. - new find and changes dialog layout, more HIG compliant
  328. - more bugfixes in the PkgTreeView and the new sorting code
  329. * Tue Aug 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.42-0vl1
  330. - new upstream release
  331. - download percentage is now always calculated correctly
  332. - save selection on "pin", "update" and "proceed" now
  333. - some bugs fixed in the new sortable tree/list
  334. - the order of the columns in the treeview is configurable now
  335. - updated german/spanish/japanese/russian translation
  336. - [debian only] debian package tags support
  337. - sortable installed size column added
  338. - "Information" tab now scrollable
  339. * Wed Jul 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.40-0vl1
  340. - new upstream release
  341. * Tue Jul 8 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl2
  342. - remove BuildRequires: libzvt
  343. * Sat Jul 5 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.39-0vl1
  344. - new upstream release
  345. - update ja.po
  346. * Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl2
  347. - update ja.po
  348. * Sat Jun 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.38-0vl1
  349. - new upstream release
  350. * Thu Jun 19 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.37-0vl1
  351. - new upstream release
  352. * Fri Apr 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36.1-0vl1
  353. - new upstream release
  354. * Thu Apr 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.36-0vl1
  355. - new upstream release 0.36
  356. - fixed usermode configuration file.
  357. * Tue Apr 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl2
  358. - rebuild with apt-0.5.5.cnc.5-0vl1
  359. * Wed Apr 2 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35.1-0vl1
  360. - new upstream release 0.35.1
  361. - drop obsolete patch0 which included in upstream.
  362. - add modified synaptic.desktop entry.
  363. * Mon Mar 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl2
  364. - add patch0 to fix compilation failure on apt-rpm.
  365. - add ja.po and patch10.
  366. * Sun Mar 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.35-0vl1
  367. - new upstream release
  368. * Fri Mar 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.32-0vl1
  369. - initial release.