cppunit-vl.spec 4.3 KB

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