[mingw-cxxtest: 2/10] - Initial import
epienbro
epienbro at fedoraproject.org
Wed Mar 7 16:24:46 UTC 2012
commit 637ae3a8c3ad08b5bb52643a58e8c1e2350d725d
Author: Adam Stokes <astokes at fedoraproject.org>
Date: Wed Jun 22 10:46:05 2011 -0400
- Initial import
.gitignore | 2 +
mingw32-cxxtest.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +
3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4ae8577 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/mingw32-cxxtest-3.10.1.tar.gz
+/mingw32-cxxtest-guide-3.10.1.pdf
diff --git a/mingw32-cxxtest.spec b/mingw32-cxxtest.spec
new file mode 100644
index 0000000..20a2aa4
--- /dev/null
+++ b/mingw32-cxxtest.spec
@@ -0,0 +1,88 @@
+Name: mingw32-cxxtest
+Version: 3.10.1
+Release: 4%{?dist}
+Summary: A JUnit-like testing framework for C++
+
+Group: Development/Tools
+License: LGPLv2+
+URL: http://cxxtest.tigris.org
+Source0: http://cxxtest.tigris.org/files/documents/6421/43281/%{name}-%{version}.tar.gz
+
+# Documentation
+Source1: http://cxxtest.tigris.org/files/documents/6421/43284/%{name}-guide-%{version}.pdf
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: python-devel
+
+%description
+CxxTest is a JUnit/CppUnit/xUnit-like framework for C++.
+Its advantages over existing alternatives are that it:
+ - doesn't require RTTI
+ - doesn't require member template functions
+ - doesn't require exception handling
+ - doesn't require any external libraries (including memory management,
+ file/console I/O, graphics libraries)
+
+
+%package doc
+Summary: Documentation on how to use CxxTest
+Group: Documentation
+
+%description doc
+This package contains the documentation on how to use CxxTest.
+
+
+%prep
+%setup -q -n %{name}
+cp -a %{SOURCE1} .
+
+%build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest
+install -D -p -m 644 cxxtest/* $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest
+install -D -p -m 755 cxxtestgen.py $RPM_BUILD_ROOT/%{_mingw32_bindir}/cxxtestgen.py
+ln -s %{_mingw32_bindir}/cxxtestgen.py $RPM_BUILD_ROOT/%{_mingw32_bindir}/cxxtestgen
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README Versions
+%if 0%{?fedora}<11 || 0%{?rhel} == 4 || 0%{?rhel} == 5
+%exclude %{_mingw32_bindir}/*.pyc
+%exclude %{_mingw32_bindir}/*.pyo
+%endif
+%{_mingw32_bindir}/cxxtestgen.py
+%{_mingw32_bindir}/cxxtestgen
+%{_mingw32_includedir}/cxxtest/
+
+
+
+%files doc
+%defattr(-,root,root,-)
+%doc mingw32-cxxtest-guide-3.10.1.pdf
+
+
+%changelog
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.10.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Aug 05 2009 Martin Gieseking <martin.gieseking at uos.de> - 3.10.1-3
+- added exclude tags in files section
+
+* Tue Aug 04 2009 Martin Gieseking <martin.gieseking at uos.de> - 3.10.1-2
+- moved headers from devel to main package
+- added BuildRequires to avoid build problems
+- dropped Requires tag
+- cxxtest include directory now explicitely listed in files section
+
+* Tue Aug 04 2009 Martin Gieseking <martin.gieseking at uos.de> - 3.10.1-1
+- initial release
diff --git a/sources b/sources
index e69de29..26b3d43 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+da3c1f69d667730a52b79ac79c97d594 mingw32-cxxtest-3.10.1.tar.gz
+d2b0f683457ef266a316d47fc97115b1 mingw32-cxxtest-guide-3.10.1.pdf
More information about the scm-commits
mailing list