SPECS: bsddate.spec (NEW) - new: port of (Free)BSD date(1) with us...
qboosh
qboosh at pld-linux.org
Wed Nov 28 19:14:18 CET 2007
Author: qboosh Date: Wed Nov 28 18:14:18 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new: port of (Free)BSD date(1) with useful -f, -r, -v options
---- Files affected:
SPECS:
bsddate.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/bsddate.spec
diff -u /dev/null SPECS/bsddate.spec:1.1
--- /dev/null Wed Nov 28 19:14:18 2007
+++ SPECS/bsddate.spec Wed Nov 28 19:14:12 2007
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary: BSD version of date(1) utility
+Summary(pl.UTF-8): Wersja BSD narzędzia date(1)
+Name: bsddate
+Version: 6.2
+Release: 1
+License: BSD
+Group: Applications
+# taken from FreeBSD CVS
+Source0: %{name}.tar.bz2
+# Source0-md5: fdd25d587e4568e5ffd2dc253b9b1117
+Patch0: %{name}-linux.patch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BSD version of date(1) utility, ported from FreeBSD 6.2.
+
+%description -l pl.UTF-8
+Wersja BSD narzędzia date(1) przeniesiona z FreeBSD 6.2.
+
+%prep
+%setup -q -n date
+%patch0 -p1
+
+head -n 28 date.c > COPYING
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D date $RPM_BUILD_ROOT%{_bindir}/bsddate
+install -D date.1 $RPM_BUILD_ROOT%{_mandir}/man1/bsddate.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING
+%attr(755,root,root) %{_bindir}/bsddate
+%{_mandir}/man1/bsddate.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-11-28 18:14:12 qboosh
+- new: port of (Free)BSD date(1) with useful -f, -r, -v options
================================================================
More information about the pld-cvs-commit
mailing list