apt-listchanges-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Name: apt-listchanges
  2. Version: 1.49
  3. Release: 9%{?_dist_release}
  4. Summary: Display new changelog entries from RPM packages
  5. URL: http://packages.debian.org/unstable/utils/apt-listchanges.html
  6. Source0: http://ftp.debian.org/debian/dists/woody/main/source/utils/%{name}_%{version}.tar.gz
  7. Source1: %{name}.1
  8. Source2: %{name}.conf
  9. Source3: 20listchanges
  10. Source4: apt-listchanges-ja.po
  11. Patch0: %{name}-%{version}-rpm.patch
  12. Patch1: %{name}-%{version}-pager.patch
  13. Patch2: %{name}-%{version}-noconfirm.patch
  14. Patch3: %{name}-vine.patch
  15. License: GPL
  16. Group: Applications/Administration
  17. PreReq: grep, textutils
  18. Requires: perl >= 5.6, perl-gettext, rpmver, apt >= 0.5.4.cnc.9
  19. BuildPreReq: gettext
  20. BuildArchitectures: noarch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. %description
  23. apt-listchanges is a tool to show what has been changed in a new version
  24. of a package, as compared to the version currently installed on the system.
  25. It does this by extracting the relevant entries from the changelog found
  26. in the package specfile.
  27. It can be run on several .rpm archives at a time to get a list of all of the
  28. changes that would be effected by installing or upgrading a group of packages.
  29. %prep
  30. %setup -q
  31. %patch0 -p1
  32. %patch1 -p1
  33. mv %{name}.in %{name}
  34. %patch2 -p0
  35. %patch3 -p0
  36. cp %{SOURCE4} po/ja.po
  37. %build
  38. cd po/
  39. /usr/bin/msgfmt --statistics -o ja.mo ja.po
  40. %install
  41. install -D -m755 %{name} %{buildroot}/%{_bindir}/%{name}
  42. install -D -m644 %{_sourcedir}/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
  43. install -D -m644 %{_sourcedir}/%{name}.conf %{buildroot}%{_sysconfdir}/apt/listchanges.conf
  44. install -D -m644 %{_sourcedir}/20listchanges %{buildroot}%{_sysconfdir}/apt/apt.conf.d/20listchanges
  45. install -D -m644 po/ja.mo %{buildroot}%{_datadir}/locale/ja/LC_MESSAGES/apt-listchanges.mo
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root)
  50. %doc TODO
  51. %config(noreplace) %{_sysconfdir}/apt/listchanges.conf
  52. %{_sysconfdir}/apt/apt.conf.d/20listchanges
  53. %{_bindir}/%{name}
  54. %{_mandir}/man1/%{name}.1*
  55. %{_datadir}/locale/ja/LC_MESSAGES/apt-listchanges.mo
  56. %changelog
  57. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-9vl5
  58. - applied new versioning policy
  59. * Fri Aug 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.49-8vl8
  60. - rebuilt with new apt
  61. - changed Group to Applications/Administration
  62. * Tue Oct 7 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.49-8vl7
  63. - rebuild to remove dependancy at i386
  64. * Thu Nov 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl6
  65. - fixed typo in 20listchanges
  66. * Thu Nov 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl5
  67. - fixed apt-listchange to work --apt option.
  68. - reverse 20listchange to use --apt option.
  69. * Thu Nov 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl4
  70. - modifie 20listchanges.
  71. * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl3
  72. - add ja.po for a few translation
  73. * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl2
  74. - modified apt.conf.d/20listchanges to do not use --apt option.
  75. apt-listchanges rpm version does not work with the option. [FIXME]
  76. * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-8vl1
  77. - build for Vine Linux
  78. - use /etc/apt/apt.conf.d/
  79. * Fri Jun 28 2002 Paulo CñÔar Pereira de Andrade <pcpa@conectiva.com.br>
  80. + apt-listchanges-1.49-8cl
  81. - Command line option --noconfirm was being overriden by the configuration
  82. file. Changed perl script file to only set the $confirm variable based on
  83. the configuration file value if the variable is not yet initialized.
  84. * Thu Jun 27 2002 Paulo CñÔar Pereira de Andrade <pcpa@conectiva.com.br>
  85. + apt-listchanges-1.49-7cl
  86. - Changed the configuration file option "apt-mode-confirm" from "yes" to "no".
  87. Note that it will default to "no" in a new install, for upgrades the
  88. configuration file will be created as /etc/apt/listchanges.conf.rpmnew.
  89. - The specfile was changed to call apt-listchanges with the --noconfirm
  90. option.
  91. Closes: #6083 (synaptic nåÐ deveria chamar apt-listchanges)
  92. * Fri Jun 14 2002 Claudio Matsuoka <claudio@conectiva.com>
  93. + apt-listchanges-1.49-6cl
  94. - updated perl dependencies
  95. * Thu Jun 28 2001 Claudio Matsuoka <claudio@conectiva.com>
  96. + apt-listchanges-1.49-5cl
  97. - don't use -x to test for a sensible pager (closes: #4014)
  98. * Fri Jun 22 2001 Claudio Matsuoka <claudio@conectiva.com>
  99. + apt-listchanges-1.49-4cl
  100. - updated man page
  101. - changed references to .deb packages to .rpm packages (closes: #3836)
  102. * Wed Jun 13 2001 Claudio Matsuoka <claudio@conectiva.com>
  103. + apt-listchanges-1.49-3cl
  104. - dependency workaround: added grep, textutils to the list of package
  105. predependencies (closes: #3623)
  106. * Thu May 31 2001 Claudio Matsuoka <claudio@conectiva.com>
  107. + apt-listchanges-1.49-2cl
  108. - new upstream release (closes: #3218, #3234)
  109. * Fri Dec 15 2000 Claudio Matsuoka <claudio@conectiva.com>
  110. + apt-listchanges-1.15-2cl
  111. - forced epoch 0 when epoch is not set (for rpmver)
  112. * Wed Dec 13 2000 Claudio Matsuoka <claudio@conectiva.com>
  113. + apt-listchanges-1.15-1cl
  114. - new upstream release: 1.15
  115. * All interactive frontends now have the option of asking the user
  116. whether or not to continue, in a way appropriate for the selected
  117. frontend. Right now, this is a simple text prompt for all of them.
  118. (Closes: #78552)
  119. * Configuration file moved to /etc/apt/listchanges.conf
  120. * Renamed debconf variables to suit their actual use (which turned out
  121. to be different from their intended one). This will cause all
  122. questions to get asked again, but since there is a new question to ask
  123. anyway, nobody should mind too much.
  124. * Some support for the new apt (0.4), which gives us a lot more information
  125. in the pipeline in addition to the .deb filenames. This means that we
  126. won't have to read the status file anymore. There is also a newer and
  127. better way to configure our hook into apt, but we can't use it until
  128. there is a new released version of apt to Depend on.
  129. - more descriptive configuration file
  130. - 'apt-mode-' removed from configuration variables
  131. - relaxed configuration variable regexp matching
  132. * Thu Dec 7 2000 Claudio Matsuoka <claudio@conectiva.com>
  133. + apt-listchanges-1.14-4cl
  134. - fixed multiple package changelog bug
  135. - added header with package name and version
  136. - changed default frontend to newt
  137. * Wed Dec 6 2000 Claudio Matsuoka <claudio@conectiva.com>
  138. - added %%{_sysconfdir}/apt/apt.conf handling (from debian/postinst)
  139. - added perl-Newt dependency
  140. * Tue Dec 5 2000 Claudio Matsuoka <claudio@conectiva.com>
  141. - package created