1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Name: orc |
---|
4 | Summary: The Oil Run-time Compiler |
---|
5 | Summary(ja): Oil ランタイムコンパイラ |
---|
6 | Version: 0.4.31 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | Group: System Environment/Libraries |
---|
9 | Vendor: Project Vine |
---|
10 | Distribution: Vine Linux |
---|
11 | |
---|
12 | License: BSD |
---|
13 | URL: http://code.entropywave.com/orc/ |
---|
14 | Source0: http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: meson |
---|
18 | BuildRequires: libtool |
---|
19 | BuildRequires: gtk-doc |
---|
20 | BuildRequires: glib2-devel |
---|
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 | |
---|
29 | |
---|
30 | %package doc |
---|
31 | Summary: Documentation for Orc |
---|
32 | Summary(ja): Orc のドキュメント |
---|
33 | Group: Documentation |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | BuildArch: noarch |
---|
36 | |
---|
37 | %description doc |
---|
38 | Documentation for Orc. |
---|
39 | |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Development files and static libraries for Orc |
---|
43 | Summary(ja): Orc の開発用ファイル及び静的ライブラリ |
---|
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 | |
---|
53 | |
---|
54 | %package compiler |
---|
55 | Summary: Orc compiler |
---|
56 | Summary(ja): Orc コンパイラ |
---|
57 | Group: Development/Languages |
---|
58 | Requires: %{name} = %{version}-%{release} |
---|
59 | Requires: pkgconfig |
---|
60 | |
---|
61 | %description compiler |
---|
62 | The Orc compiler, to produce optimized code. |
---|
63 | |
---|
64 | |
---|
65 | %package -n compat32-%{name} |
---|
66 | Summary: The Oil Run-time Compiler |
---|
67 | Summary(ja): Oil ランタイムコンパイラ |
---|
68 | Group: System Environment/Libraries |
---|
69 | Requires: %{name} = %{version}-%{release} |
---|
70 | |
---|
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 | |
---|
78 | |
---|
79 | %package -n compat32-%{name}-devel |
---|
80 | Summary: Development files and static libraries for Orc |
---|
81 | Summary(ja): Orc の開発用ファイル及び静的ライブラリ |
---|
82 | Group: Development/Libraries |
---|
83 | Requires: compat32-%{name} = %{version}-%{release} |
---|
84 | Requires: compat32-pkgconfig |
---|
85 | |
---|
86 | %description -n compat32-%{name}-devel |
---|
87 | This package contains the files needed to build packages that depend |
---|
88 | on orc. |
---|
89 | |
---|
90 | |
---|
91 | %prep |
---|
92 | %setup -q |
---|
93 | |
---|
94 | |
---|
95 | %build |
---|
96 | export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
97 | export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
98 | %meson |
---|
99 | %meson_build |
---|
100 | |
---|
101 | |
---|
102 | %install |
---|
103 | rm -rf %{buildroot} |
---|
104 | %meson_install |
---|
105 | |
---|
106 | # Remove unneeded files. |
---|
107 | find %{buildroot}%{_libdir} -name "*.a" -delete |
---|
108 | |
---|
109 | |
---|
110 | %clean |
---|
111 | rm -rf %{buildroot} |
---|
112 | |
---|
113 | |
---|
114 | %check |
---|
115 | %meson_test |
---|
116 | |
---|
117 | |
---|
118 | %post -p /sbin/ldconfig |
---|
119 | %postun -p /sbin/ldconfig |
---|
120 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
121 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
122 | |
---|
123 | |
---|
124 | %files |
---|
125 | %defattr(-,root,root,-) |
---|
126 | %license COPYING |
---|
127 | %doc README |
---|
128 | %{_bindir}/orc-bugreport |
---|
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 |
---|
140 | %{_libdir}/pkgconfig/*.pc |
---|
141 | %{_datadir}/aclocal/orc.m4 |
---|
142 | |
---|
143 | %files compiler |
---|
144 | %defattr(-,root,root,-) |
---|
145 | %{_bindir}/orcc |
---|
146 | |
---|
147 | %if %{build_compat32} |
---|
148 | %defattr(-,root,root,-) |
---|
149 | %files -n compat32-%{name} |
---|
150 | %{_libdir}/liborc-*.so.* |
---|
151 | |
---|
152 | %files -n compat32-%{name}-devel |
---|
153 | %defattr(-,root,root,-) |
---|
154 | %{_libdir}/liborc-*.so |
---|
155 | %endif |
---|
156 | |
---|
157 | %changelog |
---|
158 | * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.31-1 |
---|
159 | - new upstream release. |
---|
160 | |
---|
161 | * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.28-1 |
---|
162 | - new upstream release. |
---|
163 | |
---|
164 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.24-1 |
---|
165 | - new upstream release |
---|
166 | |
---|
167 | * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.23-1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.22-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.19-1 |
---|
174 | - new upstream release |
---|
175 | |
---|
176 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-2 |
---|
177 | - rebuild with VineSeed environment |
---|
178 | |
---|
179 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-1 |
---|
180 | - new upstream release |
---|
181 | |
---|
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 | |
---|
186 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1 |
---|
187 | - new upstream release |
---|
188 | |
---|
189 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1 |
---|
190 | - new upstream release |
---|
191 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|