apt-listchanges-vl.spec 6.5 KB

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