SPECS: tree.hh.spec (NEW) - initial release.
pluto
pluto at pld-linux.org
Mon Aug 15 22:21:38 CEST 2005
Author: pluto Date: Mon Aug 15 20:21:38 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release.
---- Files affected:
SPECS:
tree.hh.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/tree.hh.spec
diff -u /dev/null SPECS/tree.hh.spec:1.1
--- /dev/null Mon Aug 15 22:21:38 2005
+++ SPECS/tree.hh.spec Mon Aug 15 22:21:33 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary: Tree.hh - a STL-like generic container class for n-ary trees
+Name: tree.hh
+Version: 1.90
+Release: 1
+License: GPL v2+
+Group: Development/Libraries
+Source0: http://www.damtp.cam.ac.uk/user/kp229/tree/tree.hh
+# Source0-md5: 03039ae44f9738dfaf86422c21a1776d
+Source1: http://www.damtp.cam.ac.uk/user/kp229/tree/tree_util.hh
+# Source1-md5: abbe54395344b362023885e7cb37afbc
+Source2: http://www.damtp.cam.ac.uk/user/kp229/tree/tree.pdf
+# Source2-md5: 3e98e874821814b02e666d5504dd01fb
+URL: http://directory.fsf.org/libs/cpp/tree.hh.html
+Requires: libstdc++-devel
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The tree.hh library for C++ provides an STL-like container class for
+n-ary trees, templated over the data stored at the nodes. Various
+types of iterators are provided (post-order, pre-order, and others).
+Where possible the access methods are compatible with the STL or
+alternative algorithms are available.
+
+%prep
+%setup -qcDT -n tree.hh
+
+%build
+cp -f %{SOURCE2} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_includedir}
+
+install %{SOURCE0} $RPM_BUILD_ROOT%{_includedir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc tree.pdf
+%{_includedir}/*.hh
+
+%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 2005/08/15 20:21:33 pluto
+- initial release.
================================================================
More information about the pld-cvs-commit
mailing list