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 | |
---|
1 | Summary: Locate a program file in the user's paths
|
---|
2 | Name: which
|
---|
3 | Version: 1.0
|
---|
4 | Release: 2%{?dist}
|
---|
5 | License: none
|
---|
6 | URL: http://sources.freebsd.org/releng/10.0/usr.bin/which/
|
---|
7 |
|
---|
8 | Group: Applications/System
|
---|
9 |
|
---|
10 | %scm_source svn http://svn.netlabs.org/repos/ports/which/trunk 733
|
---|
11 |
|
---|
12 | BuildRequires: gcc make
|
---|
13 |
|
---|
14 | %description
|
---|
15 | The which utility takes a list of command names and searches the path for each executable file
|
---|
16 | that would be run had these commands actually been invoked.
|
---|
17 |
|
---|
18 | %debug_package
|
---|
19 |
|
---|
20 | %prep
|
---|
21 | %scm_setup
|
---|
22 |
|
---|
23 | %build
|
---|
24 | export CFLAGS="$RPM_OPT_FLAGS"
|
---|
25 | export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -lcx"
|
---|
26 | make -f Makefile.os2
|
---|
27 |
|
---|
28 | %install
|
---|
29 | rm -rf %{buildroot}
|
---|
30 | mkdir -p %{buildroot}/%{_bindir}
|
---|
31 | mkdir -p %{buildroot}/%{_mandir}/man1
|
---|
32 | cp which.exe %{buildroot}/%{_bindir}/
|
---|
33 | cp which.1 %{buildroot}/%{_mandir}/man1/
|
---|
34 |
|
---|
35 | %clean
|
---|
36 | rm -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.