packages: stderred/stderred.spec (NEW)=?UTF-8?Q?=20?=- initial PLD release

gotar gotar at pld-linux.org
Wed Feb 29 00:58:13 CET 2012


Author: gotar                        Date: Tue Feb 28 23:58:13 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/stderred:
   stderred.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/stderred/stderred.spec
diff -u /dev/null packages/stderred/stderred.spec:1.1
--- /dev/null	Wed Feb 29 00:58:13 2012
+++ packages/stderred/stderred.spec	Wed Feb 29 00:58:08 2012
@@ -0,0 +1,46 @@
+# $Revision$, $Date$
+Summary:	Colorize stderr in red
+Name:		stderred
+Version:	0.1
+Release:	1
+License:	BSD-like
+Group:		Libraries
+Source0:	https://github.com/albinoloverats/stderred/tarball/master
+# Source0-md5:	22cc54079d6ca05a4064202c56cfc1af
+URL:		https://github.com/albinoloverats/stderred
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+stderred hooks on write() function from libc in order to colorize all
+stderr output that goes to terminal thus making it distinguishable
+from stdout. Basically it wraps text that goes to file with descriptor
+"2" with proper escape codes making text red.
+
+%prep
+%setup -q -n albinoloverats-stderred-c07cb01
+
+%build
+%{__cc} stderred.c -D_GNU_SOURCE -Wall -ldl -fPIC -shared %{rpmcflags} -o %{name}.so
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}
+
+install %{name}.so $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/%{name}.so
+
+%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  2012/02/28 23:58:08  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list