]> git.pld-linux.org Git - packages/bsddate.git/blob - bsddate.spec
- new: port of (Free)BSD date(1) with useful -f, -r, -v options
[packages/bsddate.git] / bsddate.spec
1 Summary:        BSD version of date(1) utility
2 Summary(pl.UTF-8):      Wersja BSD narzędzia date(1)
3 Name:           bsddate
4 Version:        6.2
5 Release:        1
6 License:        BSD
7 Group:          Applications
8 # taken from FreeBSD CVS
9 Source0:        %{name}.tar.bz2
10 # Source0-md5:  fdd25d587e4568e5ffd2dc253b9b1117
11 Patch0:         %{name}-linux.patch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 BSD version of date(1) utility, ported from FreeBSD 6.2.
16
17 %description -l pl.UTF-8
18 Wersja BSD narzędzia date(1) przeniesiona z FreeBSD 6.2.
19
20 %prep
21 %setup -q -n date
22 %patch0 -p1
23
24 head -n 28 date.c > COPYING
25
26 %build
27 %{__make} \
28         CC="%{__cc}" \
29         CFLAGS="%{rpmcflags} -Wall" \
30         LDFLAGS="%{rpmldflags}"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 install -D date $RPM_BUILD_ROOT%{_bindir}/bsddate
36 install -D date.1 $RPM_BUILD_ROOT%{_mandir}/man1/bsddate.1
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc COPYING
44 %attr(755,root,root) %{_bindir}/bsddate
45 %{_mandir}/man1/bsddate.1*
This page took 0.118724 seconds and 3 git commands to generate.