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

Revision 8073, 4.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary: Displays where a particular program in your path is located.
2Summary(ja): プログラムがパスのどこにあるかを表示する
3Name: which
4Version: 2.20
5Release: 3%{?_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* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20-3
72- rebuild with VineSeed environment
73
74* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20-2
75- rebuilt with new toolchains
76
77* Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20-1
78- new upstream release
79- spec in UTF-8
80
81* Fri Mar 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.19-1vl5
82- new upstream release
83- updated Patch0 and 1
84
85* Tue Oct 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.17-0vl1
86- new upstream release
87
88* Mon Jul 10 2006 Shu KONNO <owa@bg.wakwak.com> 2.16-0vl5
89- rebuild
90
91* Tue Jun 22 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 2.16-0vl4
92- /etc/profile.d/which-2.sh: define "which" as function instead of alias
93
94* Thu Dec 25 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl3
95- rebuild with new toolchains
96
97* Sat Nov 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl2
98- added patches from Fedora
99
100* Mon Oct 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16-0vl1
101- updated to 2.16
102
103* Sun Dec  1 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14-0vl2
104- source updated to 2.14
105- rebuild with newer toolchains
106
107* Tue Dec 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
108- 2.12-1vl1
109- based on 2.12-1 from Rawhide
110- added Japanese summary and description
111
112* Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
113- 2.12 (only man-page fix)
114
115* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
116- automatic rebuild
117
118* Sun Jun 18 2000 Than Ngo <than@redhat.de>
119- FHS packaging.
120
121* Sun May 21 2000 Ngo Than <than@redhat.de>
122- put man pages in /usr/share/man/*
123
124* Thu Apr 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
125- update to 2.11
126- change from root:bin -> root:root
127
128* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
129- rebuild to gzip man page
130
131* Sun Jan 16 2000 Preston Brown <pbrown@redhat.com>
132- newer stuff rom Carlo (2.10).  Author's email: carlo@gnu.org
133
134* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
135- adopted Carlo's specfile.
136
137* Fri Sep 24 1999 Carlo Wood <carlo@gnu.org>
138- There should not be a reason anymore to include README.alias in the rpm docs.
139- Don't install as root.root in RPM_BUILD_ROOT, in order to allow to build
140  rpm as non-root.
141- Bug fix
142- Added /etc/profile.d for automatic alias inclusion.
143
144* Wed Aug 25 1999 Carlo Wood <carlo@gnu.org>
145- Added README.alias.
146
147* Wed Aug 11 1999 Carlo Wood <carlo@gnu.org>
148- Typo in comment.
149
150* Thu May 27 1999 Carlo Wood <carlo@gnu.org>
151- Typo fix
152- Moved maintainer targets from makefile to Makefile.am.
153
154* Tue May 18 1999 Carlo Wood <carlo@gnu.org>
155- Typo in appended changelog.
156- Appended the old change log of `which-2.0.spec' to (this) %changelog,
157  which is generated from the CVS log of `which-2.0.spec.in'.
158- Generate which-2.spec from which-2.spec.in with automatic VERSION
159  and CHANGELOG substitution.
160
161* Fri May 14 1999 Carlo Wood <carlo@gnu.org>
162- Moved assignment of CFLAGS to the configure line, using RPM_OPT_FLAGS now.
163- Corrected Source: line to point to ftp.gnu.org.
164
165* Sat Apr 17 1999 Carlo Wood <carlo@gnu.org>
166- Started to use automake and autoconf
167
168* Fri Apr 09 1999 Carlo Wood <carlo@gnu.org>
169- Renamed which-2.0.spec to which-2.spec
Note: See TracBrowser for help on using the repository browser.