cppunit-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: cppunit
  2. Version: 1.12.1
  3. Release: 5%{?_dist_release}
  4. Vendor: Project Vine
  5. Distribution: Vine Linux
  6. Summary: C++ unit testing framework
  7. Summary(ja): C++ 単体テストフレームワーク
  8. License: LGPL
  9. Group: Development/Tools
  10. Url: http://cppunit.sourceforge.net/
  11. #Source: http://download.sf.net/cppunit/cppunit-%{version}.tar.gz
  12. Source: http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: doxygen, graphviz
  15. %description
  16. CppUnit is the C++ port of the famous JUnit framework for unit testing.
  17. Test output is in XML for automatic testing and GUI based for supervised tests.
  18. %package devel
  19. Summary: Libraries and headers for cppunit development
  20. Summary(ja): cppunit 開発用ファイル
  21. Group: Development/Libraries
  22. Requires: pkgconfig, automake
  23. Requires: %{name} = %{version}-%{release}
  24. %description devel
  25. This package contains the libraries and headers necessary for developing
  26. programs that use cppunit.
  27. %package doc
  28. Summary: HTML formatted API documention for cppunit
  29. Summary(ja): cppunit の API ドキュメント (HTMLフォーマット)
  30. Group: Applications/Documentation
  31. Requires: %{name} = %{version}-%{release}
  32. %description doc
  33. The cppunit-doc package contains HTML formatted API documention generated by
  34. the popular doxygen documentation generation tool.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --enable-doxygen --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  44. # remove double of doc
  45. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/cppunit
  46. # clean up examples
  47. rm -rf dist-examples dist-examples-dir
  48. cp -a examples dist-examples
  49. make -C dist-examples distclean
  50. # Makefile.am files are left as documentation
  51. find dist-examples \( -name Makefile.in -o -name .cvsignore \) -exec rm {} \;
  52. mkdir dist-examples-dir
  53. mv dist-examples dist-examples-dir/examples
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
  61. %{_bindir}/DllPlugInTester
  62. %{_libdir}/libcppunit*.so.*
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_bindir}/cppunit-config
  66. %{_includedir}/cppunit
  67. %{_libdir}/libcppunit.so
  68. %{_datadir}/aclocal/cppunit.m4
  69. %{_mandir}/man1/cppunit-config.1*
  70. %{_libdir}/pkgconfig/cppunit.pc
  71. %files doc
  72. %defattr(-,root,root,-)
  73. %doc dist-examples-dir/examples/
  74. %doc doc/html/
  75. %changelog
  76. * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12.1-5
  77. - rebuilt with new toolchain.
  78. * Mon Jan 13 2014 NAKAMURA Kenta <kenta@vinelinux.org> 1.12.1-4
  79. - rebuilt with the current environment
  80. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.12.1-3
  81. - rebuilt with rpm-4.8.1 for pkg-config
  82. * Tue Mar 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.12.1-2
  83. - built with new toolchain
  84. - changed source url
  85. * Sat Nov 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12.1-1
  86. - new upstream release
  87. - applied new versioning policy
  88. - spec in UTF-8
  89. * Tue Jul 31 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12.0-3vl3
  90. - rebuilt fot VineSeed
  91. * Tue Jul 31 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12.0-3vl2
  92. - changed Group to Development/Tools
  93. - changed doc Group to Applications/Documentation
  94. - rebuilt fot VinePlus/4.0
  95. * Thu May 31 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.12.0-3vl1
  96. - updated to 1.12.0 release based on FC package
  97. - Fri Aug 1 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.8.0-0vl2
  98. - Rebuild for new Vine.
  99. - Mon Jun 23 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 1.8.0-0vl1
  100. - Initial build.
  101. * Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-3
  102. - add rightly files to -devel (#224106)
  103. - add necessary requires for -devel (#224106)
  104. - ship examples
  105. * Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-2
  106. - rebuild for FC6
  107. * Wed Jul 5 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-1
  108. - update to 1.12
  109. * Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 1.11.6-1
  110. - update to 1.11.6
  111. * Wed Dec 21 2005 Patrice Dumas <pertusus@free.fr> 1.11.4-1
  112. - update
  113. * Mon Aug 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.11.0-2
  114. - various cleanups
  115. * Mon Jul 4 2005 Patrice Dumas <pertusus@free.fr> 1.11.0-1
  116. - update using the fedora template
  117. * Sat Apr 14 2001 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
  118. - Initial release