cppunit-vl.spec 3.7 KB

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