1 | Name: orc |
---|
2 | Summary: The Oil Run-time Compiler |
---|
3 | Version: 0.4.11 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://code.entropywave.com/projects/orc/ |
---|
9 | Source0: http://code.entropywave.com/download/orc/orc-%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: gtk-doc, libtool |
---|
13 | |
---|
14 | |
---|
15 | %description |
---|
16 | Orc is a library and set of tools for compiling and executing |
---|
17 | very simple programs that operate on arrays of data. The "language" |
---|
18 | is a generic assembly language that represents many of the features |
---|
19 | available in SIMD architectures, including saturated addition and |
---|
20 | subtraction, and many arithmetic operations. |
---|
21 | |
---|
22 | %package doc |
---|
23 | Summary: Documentation for Orc |
---|
24 | Group: Development/Documentation |
---|
25 | Requires: %{name} = %{version}-%{release} |
---|
26 | #BuildArch: noarch |
---|
27 | |
---|
28 | %description doc |
---|
29 | Documentation for Orc. |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development files and static libraries for Orc |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | Requires: %{name}-compiler |
---|
36 | Requires: pkgconfig |
---|
37 | |
---|
38 | %description devel |
---|
39 | This package contains the files needed to build packages that depend |
---|
40 | on orc. |
---|
41 | |
---|
42 | %package compiler |
---|
43 | Summary: Orc compiler |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: %{name} = %{version}-%{release} |
---|
46 | Requires: pkgconfig |
---|
47 | |
---|
48 | %description compiler |
---|
49 | The Orc compiler, to produce optimized code. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | autoreconf -vif |
---|
55 | |
---|
56 | |
---|
57 | %build |
---|
58 | export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
59 | export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
60 | %configure --disable-static --enable-gtk-doc |
---|
61 | |
---|
62 | make %{?_smp_mflags} |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf %{buildroot} |
---|
67 | make install DESTDIR=%{buildroot} INSTALL="install -p" |
---|
68 | |
---|
69 | # Remove unneeded files. |
---|
70 | find %{buildroot}/%{_libdir} -name \*.a -or -name \*.la -delete |
---|
71 | rm -rf %{buildroot}/%{_libdir}/orc |
---|
72 | |
---|
73 | touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h |
---|
74 | |
---|
75 | %clean |
---|
76 | rm -rf %{buildroot} |
---|
77 | |
---|
78 | %check |
---|
79 | make check || true |
---|
80 | |
---|
81 | %post -p /sbin/ldconfig |
---|
82 | |
---|
83 | %postun -p /sbin/ldconfig |
---|
84 | |
---|
85 | |
---|
86 | %files |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %doc COPYING README |
---|
89 | %{_libdir}/liborc-*.so.* |
---|
90 | |
---|
91 | %files doc |
---|
92 | %defattr(-,root,root,-) |
---|
93 | %doc %{_datadir}/gtk-doc/html/orc/ |
---|
94 | |
---|
95 | %files devel |
---|
96 | %defattr(-,root,root,-) |
---|
97 | %doc examples/*.c |
---|
98 | %{_includedir}/%{name}-0.4/ |
---|
99 | %{_libdir}/liborc-*.so |
---|
100 | %{_libdir}/pkgconfig/orc-0.4.pc |
---|
101 | |
---|
102 | %files compiler |
---|
103 | %defattr(-,root,root,-) |
---|
104 | %{_bindir}/orcc |
---|
105 | |
---|
106 | |
---|
107 | %changelog |
---|
108 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.5-5 |
---|
112 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
113 | |
---|
114 | * Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4 |
---|
115 | - build with -O1 (not -O2) to fix build failure on ppc |
---|
116 | (like as the Debian package does) |
---|
117 | |
---|
118 | * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3 |
---|
119 | - Initial build for Vine Linux |
---|
120 | |
---|
121 | * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2 |
---|
122 | - Added removed testing libraries to package. |
---|
123 | |
---|
124 | * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1 |
---|
125 | - Updated to 0.4.5. |
---|
126 | - Removed testing libraries from package. |
---|
127 | |
---|
128 | * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2 |
---|
129 | - Docs as noarch. |
---|
130 | - Sanitize timestamps of header files. |
---|
131 | - orcc in -compiler subpackage. |
---|
132 | |
---|
133 | * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1 |
---|
134 | - Updated to 0.4.4: Includes bugfixes for x86_64. |
---|
135 | |
---|
136 | * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2 |
---|
137 | - Running autoreconf to prevent building problems. |
---|
138 | - Added missing files to docs. |
---|
139 | - Added examples to devel docs. |
---|
140 | |
---|
141 | * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1 |
---|
142 | - Updated to 0.4.3 |
---|
143 | |
---|
144 | * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4 |
---|
145 | - Removed unused libdir |
---|
146 | |
---|
147 | * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3 |
---|
148 | - Specfile cleanup |
---|
149 | - Removed tools subpackage |
---|
150 | - Added docs subpackage |
---|
151 | |
---|
152 | * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2 |
---|
153 | - Use orc as pakage name |
---|
154 | - spec-file cleanup |
---|
155 | - Added devel requirements |
---|
156 | - Removed an rpath issue |
---|
157 | |
---|
158 | * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1 |
---|
159 | - Initial release |
---|
160 | |
---|