[4878] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
[1446] | 3 | Name: orc |
---|
| 4 | Summary: The Oil Run-time Compiler |
---|
[9523] | 5 | Summary(ja): Oil ランタイムコンパイラ |
---|
[12373] | 6 | Version: 0.4.31 |
---|
[8369] | 7 | Release: 1%{?_dist_release} |
---|
[12373] | 8 | Group: System Environment/Libraries |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
[1446] | 11 | |
---|
| 12 | License: BSD |
---|
[9523] | 13 | URL: http://code.entropywave.com/orc/ |
---|
[9073] | 14 | Source0: http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz |
---|
[1446] | 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[12373] | 17 | BuildRequires: meson |
---|
| 18 | BuildRequires: libtool |
---|
| 19 | BuildRequires: gtk-doc |
---|
| 20 | BuildRequires: glib2-devel |
---|
[1446] | 21 | |
---|
| 22 | %description |
---|
| 23 | Orc is a library and set of tools for compiling and executing |
---|
| 24 | very simple programs that operate on arrays of data. The "language" |
---|
| 25 | is a generic assembly language that represents many of the features |
---|
| 26 | available in SIMD architectures, including saturated addition and |
---|
| 27 | subtraction, and many arithmetic operations. |
---|
| 28 | |
---|
[12373] | 29 | |
---|
[1446] | 30 | %package doc |
---|
| 31 | Summary: Documentation for Orc |
---|
[9523] | 32 | Summary(ja): Orc のドキュメント |
---|
| 33 | Group: Documentation |
---|
[1446] | 34 | Requires: %{name} = %{version}-%{release} |
---|
[9523] | 35 | BuildArch: noarch |
---|
[1446] | 36 | |
---|
| 37 | %description doc |
---|
| 38 | Documentation for Orc. |
---|
| 39 | |
---|
[12373] | 40 | |
---|
[1446] | 41 | %package devel |
---|
| 42 | Summary: Development files and static libraries for Orc |
---|
[9523] | 43 | Summary(ja): Orc の開発用ファイル及び静的ライブラリ |
---|
[1446] | 44 | Group: Development/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: %{name}-compiler |
---|
| 47 | Requires: pkgconfig |
---|
| 48 | |
---|
| 49 | %description devel |
---|
| 50 | This package contains the files needed to build packages that depend |
---|
| 51 | on orc. |
---|
| 52 | |
---|
[12373] | 53 | |
---|
[1446] | 54 | %package compiler |
---|
| 55 | Summary: Orc compiler |
---|
[9523] | 56 | Summary(ja): Orc コンパイラ |
---|
| 57 | Group: Development/Languages |
---|
[1446] | 58 | Requires: %{name} = %{version}-%{release} |
---|
| 59 | Requires: pkgconfig |
---|
| 60 | |
---|
| 61 | %description compiler |
---|
| 62 | The Orc compiler, to produce optimized code. |
---|
| 63 | |
---|
[12373] | 64 | |
---|
[4878] | 65 | %package -n compat32-%{name} |
---|
| 66 | Summary: The Oil Run-time Compiler |
---|
[9523] | 67 | Summary(ja): Oil ランタイムコンパイラ |
---|
[4878] | 68 | Group: System Environment/Libraries |
---|
| 69 | Requires: %{name} = %{version}-%{release} |
---|
[1446] | 70 | |
---|
[4878] | 71 | %description -n compat32-%{name} |
---|
| 72 | Orc is a library and set of tools for compiling and executing |
---|
| 73 | very simple programs that operate on arrays of data. The "language" |
---|
| 74 | is a generic assembly language that represents many of the features |
---|
| 75 | available in SIMD architectures, including saturated addition and |
---|
| 76 | subtraction, and many arithmetic operations. |
---|
| 77 | |
---|
[12373] | 78 | |
---|
[4878] | 79 | %package -n compat32-%{name}-devel |
---|
| 80 | Summary: Development files and static libraries for Orc |
---|
[9523] | 81 | Summary(ja): Orc の開発用ファイル及び静的ライブラリ |
---|
[4878] | 82 | Group: Development/Libraries |
---|
| 83 | Requires: compat32-%{name} = %{version}-%{release} |
---|
[9523] | 84 | Requires: compat32-pkgconfig |
---|
[4878] | 85 | |
---|
| 86 | %description -n compat32-%{name}-devel |
---|
| 87 | This package contains the files needed to build packages that depend |
---|
| 88 | on orc. |
---|
| 89 | |
---|
| 90 | |
---|
[1446] | 91 | %prep |
---|
| 92 | %setup -q |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | %build |
---|
[1472] | 96 | export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
| 97 | export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
[12373] | 98 | %meson |
---|
| 99 | %meson_build |
---|
[1446] | 100 | |
---|
| 101 | |
---|
| 102 | %install |
---|
| 103 | rm -rf %{buildroot} |
---|
[12373] | 104 | %meson_install |
---|
[1446] | 105 | |
---|
| 106 | # Remove unneeded files. |
---|
[12373] | 107 | find %{buildroot}%{_libdir} -name "*.a" -delete |
---|
[1446] | 108 | |
---|
| 109 | |
---|
| 110 | %clean |
---|
| 111 | rm -rf %{buildroot} |
---|
| 112 | |
---|
[12373] | 113 | |
---|
[1446] | 114 | %check |
---|
[12373] | 115 | %meson_test |
---|
[1446] | 116 | |
---|
[12373] | 117 | |
---|
[1446] | 118 | %post -p /sbin/ldconfig |
---|
| 119 | %postun -p /sbin/ldconfig |
---|
[4878] | 120 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 121 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 122 | |
---|
[12373] | 123 | |
---|
[1446] | 124 | %files |
---|
| 125 | %defattr(-,root,root,-) |
---|
[12373] | 126 | %license COPYING |
---|
| 127 | %doc README |
---|
[4616] | 128 | %{_bindir}/orc-bugreport |
---|
[1446] | 129 | %{_libdir}/liborc-*.so.* |
---|
| 130 | |
---|
| 131 | %files doc |
---|
| 132 | %defattr(-,root,root,-) |
---|
| 133 | %doc %{_datadir}/gtk-doc/html/orc/ |
---|
| 134 | |
---|
| 135 | %files devel |
---|
| 136 | %defattr(-,root,root,-) |
---|
| 137 | %doc examples/*.c |
---|
| 138 | %{_includedir}/%{name}-0.4/ |
---|
| 139 | %{_libdir}/liborc-*.so |
---|
[12373] | 140 | %{_libdir}/pkgconfig/*.pc |
---|
[4878] | 141 | %{_datadir}/aclocal/orc.m4 |
---|
[1446] | 142 | |
---|
| 143 | %files compiler |
---|
| 144 | %defattr(-,root,root,-) |
---|
| 145 | %{_bindir}/orcc |
---|
| 146 | |
---|
[4878] | 147 | %if %{build_compat32} |
---|
| 148 | %defattr(-,root,root,-) |
---|
| 149 | %files -n compat32-%{name} |
---|
| 150 | %{_libdir}/liborc-*.so.* |
---|
[1446] | 151 | |
---|
[4878] | 152 | %files -n compat32-%{name}-devel |
---|
| 153 | %defattr(-,root,root,-) |
---|
| 154 | %{_libdir}/liborc-*.so |
---|
| 155 | %endif |
---|
| 156 | |
---|
[1446] | 157 | %changelog |
---|
[12373] | 158 | * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.31-1 |
---|
| 159 | - new upstream release. |
---|
| 160 | |
---|
[11511] | 161 | * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.28-1 |
---|
| 162 | - new upstream release. |
---|
| 163 | |
---|
[9791] | 164 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.24-1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
[9523] | 167 | * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.23-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[9073] | 170 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.22-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[8369] | 173 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.19-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[8084] | 176 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-2 |
---|
| 177 | - rebuild with VineSeed environment |
---|
| 178 | |
---|
[7938] | 179 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[4878] | 182 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.16-1 |
---|
| 183 | - new upstream release |
---|
| 184 | - create compat32 sub packages |
---|
| 185 | |
---|
[4616] | 186 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[2219] | 189 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[1942] | 192 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.5-5 |
---|
| 193 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 194 | |
---|
[1472] | 195 | * Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4 |
---|
| 196 | - build with -O1 (not -O2) to fix build failure on ppc |
---|
| 197 | (like as the Debian package does) |
---|
| 198 | |
---|
[1446] | 199 | * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3 |
---|
| 200 | - Initial build for Vine Linux |
---|
| 201 | |
---|
| 202 | * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2 |
---|
| 203 | - Added removed testing libraries to package. |
---|
| 204 | |
---|
| 205 | * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1 |
---|
| 206 | - Updated to 0.4.5. |
---|
| 207 | - Removed testing libraries from package. |
---|
| 208 | |
---|
| 209 | * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2 |
---|
| 210 | - Docs as noarch. |
---|
| 211 | - Sanitize timestamps of header files. |
---|
| 212 | - orcc in -compiler subpackage. |
---|
| 213 | |
---|
| 214 | * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1 |
---|
| 215 | - Updated to 0.4.4: Includes bugfixes for x86_64. |
---|
| 216 | |
---|
| 217 | * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2 |
---|
| 218 | - Running autoreconf to prevent building problems. |
---|
| 219 | - Added missing files to docs. |
---|
| 220 | - Added examples to devel docs. |
---|
| 221 | |
---|
| 222 | * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1 |
---|
| 223 | - Updated to 0.4.3 |
---|
| 224 | |
---|
| 225 | * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4 |
---|
| 226 | - Removed unused libdir |
---|
| 227 | |
---|
| 228 | * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3 |
---|
| 229 | - Specfile cleanup |
---|
| 230 | - Removed tools subpackage |
---|
| 231 | - Added docs subpackage |
---|
| 232 | |
---|
| 233 | * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2 |
---|
| 234 | - Use orc as pakage name |
---|
| 235 | - spec-file cleanup |
---|
| 236 | - Added devel requirements |
---|
| 237 | - Removed an rpath issue |
---|
| 238 | |
---|
| 239 | * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1 |
---|
| 240 | - Initial release |
---|
| 241 | |
---|