source: projects/specs/trunk/w/which/which-vl.spec @ 9318

Revision 9318, 4.9 KB checked in by inagaki, 9 years ago (diff)

2015-01-31 Ryoichi INAGAKI <ryo1@…>

  • freepqing, jcode.pl: rebuilt
  • which: applied bugfix from Vine Linux 6


Line 
1Summary: Displays where a particular program in your path is located.
2Summary(ja): プログラムがパスのどこにあるかを表示する
3Name: which
4Version: 2.20
5Release: 4%{?_dist_release}
6License: GPLv3
7Group: Applications/System
8Source0: ftp://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz
9Source1: which-2.sh
10Source2: which-2.csh
11Patch0: which-2.19-afs.patch
12Patch1: which-2.19-broken.patch
13
14Buildroot: %{_tmppath}/%{name}-%{version}-root
15Requires(post): /sbin/install-info
16Requires(preun): /sbin/install-info
17Requires: dev
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23The which command shows the full pathname of a specified program, if
24the specified program is in your PATH.
25
26%description -l ja
27which コマンドを使うと,プログラムのフルパスを表示出来ます
28(ただしプログラムが PATH に存在する場合).
29
30
31%prep
32%setup -q
33%patch0 -p1 -b .afs
34%patch1 -p1 -b .broken
35
36%build
37%configure
38make
39
40%install
41[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
42
43%makeinstall
44mkdir -p $RPM_BUILD_ROOT/etc/profile.d
45install -m 755 %{SOURCE1} %{SOURCE2} \
46        $RPM_BUILD_ROOT/etc/profile.d
47
48rm -f $RPM_BUILD_ROOT%{_infodir}/dir
49
50%post
51/sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz > /dev/null 2>&1
52
53%preun
54if [ $1 = 0 ]; then
55   /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/which.info.gz > /dev/null 2>&1
56fi
57
58%clean
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60
61
62%files
63%defattr(-,root,root)
64%doc COPYING EXAMPLES NEWS README README.alias
65%{_bindir}/*
66%config /etc/profile.d/which-2.*
67%{_infodir}/which.info.gz
68%{_mandir}/*/*
69
70%changelog
71* Sat Jan 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.20-4
72- applied Vine Linux/6 updates
73  * Mon Jan 26 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.20-3
74  - update which-2.sh to fix #2860
75
76* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20-3
77- rebuild with VineSeed environment
78
79* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20-2
80- rebuilt with new toolchains
81
82* Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20-1
83- new upstream release
84- spec in UTF-8
85
86* Fri Mar 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.19-1vl5
87- new upstream release
88- updated Patch0 and 1
89
90* Tue Oct 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.17-0vl1
91- new upstream release
92
93* Mon Jul 10 2006 Shu KONNO <owa@bg.wakwak.com> 2.16-0vl5
94- rebuild
95
96* Tue Jun 22 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 2.16-0vl4
97- /etc/profile.d/which-2.sh: define "which" as function instead of alias
98
99* Thu Dec 25 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl3
100- rebuild with new toolchains
101
102* Sat Nov 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl2
103- added patches from Fedora
104
105* Mon Oct 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl1
106- updated to 2.16
107
108* Sun Dec  1 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14-0vl2
109- source updated to 2.14
110- rebuild with newer toolchains
111
112* Tue Dec 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
113- 2.12-1vl1
114- based on 2.12-1 from Rawhide
115- added Japanese summary and description
116
117* Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
118- 2.12 (only man-page fix)
119
120* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
121- automatic rebuild
122
123* Sun Jun 18 2000 Than Ngo <than@redhat.de>
124- FHS packaging.
125
126* Sun May 21 2000 Ngo Than <than@redhat.de>
127- put man pages in /usr/share/man/*
128
129* Thu Apr 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
130- update to 2.11
131- change from root:bin -> root:root
132
133* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
134- rebuild to gzip man page
135
136* Sun Jan 16 2000 Preston Brown <pbrown@redhat.com>
137- newer stuff rom Carlo (2.10).  Author's email: carlo@gnu.org
138
139* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
140- adopted Carlo's specfile.
141
142* Fri Sep 24 1999 Carlo Wood <carlo@gnu.org>
143- There should not be a reason anymore to include README.alias in the rpm docs.
144- Don't install as root.root in RPM_BUILD_ROOT, in order to allow to build
145  rpm as non-root.
146- Bug fix
147- Added /etc/profile.d for automatic alias inclusion.
148
149* Wed Aug 25 1999 Carlo Wood <carlo@gnu.org>
150- Added README.alias.
151
152* Wed Aug 11 1999 Carlo Wood <carlo@gnu.org>
153- Typo in comment.
154
155* Thu May 27 1999 Carlo Wood <carlo@gnu.org>
156- Typo fix
157- Moved maintainer targets from makefile to Makefile.am.
158
159* Tue May 18 1999 Carlo Wood <carlo@gnu.org>
160- Typo in appended changelog.
161- Appended the old change log of `which-2.0.spec' to (this) %changelog,
162  which is generated from the CVS log of `which-2.0.spec.in'.
163- Generate which-2.spec from which-2.spec.in with automatic VERSION
164  and CHANGELOG substitution.
165
166* Fri May 14 1999 Carlo Wood <carlo@gnu.org>
167- Moved assignment of CFLAGS to the configure line, using RPM_OPT_FLAGS now.
168- Corrected Source: line to point to ftp.gnu.org.
169
170* Sat Apr 17 1999 Carlo Wood <carlo@gnu.org>
171- Started to use automake and autoconf
172
173* Fri Apr 09 1999 Carlo Wood <carlo@gnu.org>
174- Renamed which-2.0.spec to which-2.spec
Note: See TracBrowser for help on using the repository browser.