packages: libtap/libtap.spec (NEW) - new, for nagios-plugins

glen glen at pld-linux.org
Thu Sep 10 10:21:08 CEST 2009


Author: glen                         Date: Thu Sep 10 08:21:08 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, for nagios-plugins

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

---- Diffs:

================================================================
Index: packages/libtap/libtap.spec
diff -u /dev/null packages/libtap/libtap.spec:1.1
--- /dev/null	Thu Sep 10 10:21:08 2009
+++ packages/libtap/libtap.spec	Thu Sep 10 10:21:03 2009
@@ -0,0 +1,85 @@
+# $Revision$, $Date$
+Summary:	Write tests that implement the Test Anything Protocol
+Name:		libtap
+Version:	1.01
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	http://people.freebsd.org/~nik/public_distfiles/tap-%{version}.tar.gz
+# Source0-md5:	5b22a1e94de03c7210a7df71fa18a556
+URL:		http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The tap library provides functions for writing test scripts that
+produce output consistent with the Test Anything Protocol. A test
+harness that parses this protocol can run these tests and produce
+useful reports indi- cating their success or failure.
+
+%package devel
+Summary:	Header files for tap library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki tap
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for tap library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki tap.
+
+%package static
+Summary:	Static tap library
+Summary(pl.UTF-8):	Statyczna biblioteka tap
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static tap library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka tap.
+
+%prep
+%setup -q -n tap-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/libtap.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libtap.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/tap.h
+%{_libdir}/libtap.la
+%{_libdir}/libtap.so
+%{_mandir}/man3/tap.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libtap.a
+
+%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  2009/09/10 08:21:03  glen
+- new, for nagios-plugins
================================================================


More information about the pld-cvs-commit mailing list