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