orc-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Name: orc
  2. Summary: The Oil Run-time Compiler
  3. Version: 0.4.5
  4. Release: 3%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://code.entropywave.com/projects/orc/
  8. Source0: http://code.entropywave.com/download/orc/orc-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gtk-doc, libtool
  11. %description
  12. Orc is a library and set of tools for compiling and executing
  13. very simple programs that operate on arrays of data. The "language"
  14. is a generic assembly language that represents many of the features
  15. available in SIMD architectures, including saturated addition and
  16. subtraction, and many arithmetic operations.
  17. %package doc
  18. Summary: Documentation for Orc
  19. Group: Development/Documentation
  20. Requires: %{name} = %{version}-%{release}
  21. #BuildArch: noarch
  22. %description doc
  23. Documentation for Orc.
  24. %package devel
  25. Summary: Development files and static libraries for Orc
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: %{name}-compiler
  29. Requires: pkgconfig
  30. %description devel
  31. This package contains the files needed to build packages that depend
  32. on orc.
  33. %package compiler
  34. Summary: Orc compiler
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. %description compiler
  39. The Orc compiler, to produce optimized code.
  40. %prep
  41. %setup -q
  42. autoreconf -vif
  43. %build
  44. %configure --disable-static --enable-gtk-doc
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf %{buildroot}
  48. make install DESTDIR=%{buildroot} INSTALL="install -p"
  49. # Remove unneeded files.
  50. find %{buildroot}/%{_libdir} -name \*.a -or -name \*.la -delete
  51. rm -rf %{buildroot}/%{_libdir}/orc
  52. touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h
  53. %clean
  54. rm -rf %{buildroot}
  55. %check
  56. make check
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %files
  60. %defattr(-,root,root,-)
  61. %doc COPYING README
  62. %{_libdir}/liborc-*.so.*
  63. %files doc
  64. %defattr(-,root,root,-)
  65. %doc %{_datadir}/gtk-doc/html/orc/
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc examples/*.c
  69. %{_includedir}/%{name}-0.4/
  70. %{_libdir}/liborc-*.so
  71. %{_libdir}/pkgconfig/orc-0.4.pc
  72. %files compiler
  73. %defattr(-,root,root,-)
  74. %{_bindir}/orcc
  75. %changelog
  76. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3
  77. - Initial build for Vine Linux
  78. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2
  79. - Added removed testing libraries to package.
  80. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1
  81. - Updated to 0.4.5.
  82. - Removed testing libraries from package.
  83. * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2
  84. - Docs as noarch.
  85. - Sanitize timestamps of header files.
  86. - orcc in -compiler subpackage.
  87. * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1
  88. - Updated to 0.4.4: Includes bugfixes for x86_64.
  89. * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2
  90. - Running autoreconf to prevent building problems.
  91. - Added missing files to docs.
  92. - Added examples to devel docs.
  93. * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1
  94. - Updated to 0.4.3
  95. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4
  96. - Removed unused libdir
  97. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3
  98. - Specfile cleanup
  99. - Removed tools subpackage
  100. - Added docs subpackage
  101. * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2
  102. - Use orc as pakage name
  103. - spec-file cleanup
  104. - Added devel requirements
  105. - Removed an rpath issue
  106. * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1
  107. - Initial release