source: spec/trunk/SPECS/which.spec@ 1330

Last change on this file since 1330 was 961, checked in by dmik, 9 years ago

spec: which: Release version 1.0-2.

File size: 1.2 KB
Line 
1Summary: Locate a program file in the user's paths
2Name: which
3Version: 1.0
4Release: 2%{?dist}
5License: none
6URL: http://sources.freebsd.org/releng/10.0/usr.bin/which/
7
8Group: Applications/System
9
10%scm_source svn http://svn.netlabs.org/repos/ports/which/trunk 733
11
12BuildRequires: gcc make
13
14%description
15The which utility takes a list of command names and searches the path for each executable file
16that would be run had these commands actually been invoked.
17
18%debug_package
19
20%prep
21%scm_setup
22
23%build
24export CFLAGS="$RPM_OPT_FLAGS"
25export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -lcx"
26make -f Makefile.os2
27
28%install
29rm -rf %{buildroot}
30mkdir -p %{buildroot}/%{_bindir}
31mkdir -p %{buildroot}/%{_mandir}/man1
32cp which.exe %{buildroot}/%{_bindir}/
33cp which.1 %{buildroot}/%{_mandir}/man1/
34
35%clean
36rm -rf %{buildroot}
37
38%files
39%{_bindir}/which.exe
40%{_mandir}/man1/which.1*
41
42%changelog
43* Wed Feb 8 2017 Dmitriy Kuminov <coding@dmik.org> 1.0-2
44- Build against LIBCx to enable EXCEPTQ trap report generation.
45- Add debug info package.
46- Use scm_source/scm_setup for downloading sources.
47
48* Wed Jun 4 2014 Dmitriy Kuminov <coding@dmik.org> 1.0-1
49- Initial port of BSD which (release 10.0).
Note: See TracBrowser for help on using the repository browser.