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