source: projects/specs/trunk/a/apt-listchanges/apt-listchanges-vl.spec @ 6257

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