diff --git a/mingw-cxxtest.spec b/mingw-cxxtest.spec new file mode 100644 index 0000000..b05ab20 --- /dev/null +++ b/mingw-cxxtest.spec @@ -0,0 +1,69 @@ +Name: mingw-cxxtest +Version: 3.10.1 +Release: 8%{?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/cxxtest-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: mingw32-filesystem + +%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 -n mingw32-cxxtest +Summary: A JUnit-like testing framework for C++ +Requires: mingw32-filesystem + +# Remove the -doc subpackage as it duplicates what's in native cxxtest-doc +Obsoletes: mingw32-cxxtest-doc < 3.10.1-5 + +%description -n mingw32-cxxtest +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) + + +%prep +%setup -q -n cxxtest + +%build + + +%install +mkdir -p $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest +install -D -p -m 644 cxxtest/* $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest + + +%files +%doc COPYING +%{_mingw32_includedir}/cxxtest/ + + +%changelog +* Wed Mar 07 2012 Erik van Pienbroek - 3.10.1-8 +- Renamed the source package to mingw-cxxtest (RHBZ #800855) + +* Mon Feb 27 2012 Erik van Pienbroek - 3.10.1-7 +- Rebuild against the mingw-w64 toolchain + +* Fri Jan 13 2012 Fedora Release Engineering - 3.10.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jun 22 2011 Adam Stokes - 3.10.1-4 +- Initial Build diff --git a/mingw32-cxxtest.spec b/mingw32-cxxtest.spec deleted file mode 100644 index 3f26576..0000000 --- a/mingw32-cxxtest.spec +++ /dev/null @@ -1,53 +0,0 @@ -Name: mingw32-cxxtest -Version: 3.10.1 -Release: 7%{?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/cxxtest-%{version}.tar.gz - -BuildArch: noarch - -BuildRequires: mingw32-filesystem -Requires: mingw32-filesystem - -# Remove the -doc subpackage as it duplicates what's in native cxxtest-doc -Obsoletes: mingw32-cxxtest-doc < 3.10.1-5 - -%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) - - -%prep -%setup -q -n cxxtest - -%build - - -%install -mkdir -p $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest -install -D -p -m 644 cxxtest/* $RPM_BUILD_ROOT/%{_mingw32_includedir}/cxxtest - - -%files -%doc COPYING -%{_mingw32_includedir}/cxxtest/ - - -%changelog -* Mon Feb 27 2012 Erik van Pienbroek - 3.10.1-7 -- Rebuild against the mingw-w64 toolchain - -* Fri Jan 13 2012 Fedora Release Engineering - 3.10.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Jun 22 2011 Adam Stokes - 3.10.1-4 -- Initial Build