source: projects/specs/trunk/o/orc/orc-vl.spec @ 12373

Revision 12373, 6.2 KB checked in by tomop, 3 years ago (diff)

updated 4 packages

dhcp-4.1.ESV.R16-1

libssh-0.9.4-1

orc-0.4.31-1

rpcbind-1.2.5-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           orc
4Summary:        The Oil Run-time Compiler
5Summary(ja):    Oil ランタイムコンパイラ
6Version:        0.4.31
7Release:        1%{?_dist_release}
8Group:          System Environment/Libraries
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        BSD
13URL:            http://code.entropywave.com/orc/
14Source0:        http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  meson
18BuildRequires:  libtool
19BuildRequires:  gtk-doc
20BuildRequires:  glib2-devel
21
22%description
23Orc is a library and set of tools for compiling and executing
24very simple programs that operate on arrays of data.  The "language"
25is a generic assembly language that represents many of the features
26available in SIMD architectures, including saturated addition and
27subtraction, and many arithmetic operations.
28
29
30%package doc
31Summary:        Documentation for Orc
32Summary(ja):    Orc のドキュメント
33Group:          Documentation
34Requires:       %{name} = %{version}-%{release}
35BuildArch:      noarch
36
37%description doc
38Documentation for Orc.
39
40
41%package devel
42Summary:        Development files and static libraries for Orc
43Summary(ja):    Orc の開発用ファイル及び静的ライブラリ
44Group:          Development/Libraries
45Requires:       %{name} = %{version}-%{release}
46Requires:       %{name}-compiler
47Requires:       pkgconfig
48
49%description devel
50This package contains the files needed to build packages that depend
51on orc.
52
53
54%package compiler
55Summary:        Orc compiler
56Summary(ja):    Orc コンパイラ
57Group:          Development/Languages
58Requires:       %{name} = %{version}-%{release}
59Requires:       pkgconfig
60
61%description compiler
62The Orc compiler, to produce optimized code.
63
64
65%package -n compat32-%{name}
66Summary:        The Oil Run-time Compiler
67Summary(ja):    Oil ランタイムコンパイラ
68Group:          System Environment/Libraries
69Requires:       %{name} = %{version}-%{release}
70
71%description -n compat32-%{name}
72Orc is a library and set of tools for compiling and executing
73very simple programs that operate on arrays of data.  The "language"
74is a generic assembly language that represents many of the features
75available in SIMD architectures, including saturated addition and
76subtraction, and many arithmetic operations.
77
78
79%package -n compat32-%{name}-devel
80Summary:        Development files and static libraries for Orc
81Summary(ja):    Orc の開発用ファイル及び静的ライブラリ
82Group:          Development/Libraries
83Requires:       compat32-%{name} = %{version}-%{release}
84Requires:       compat32-pkgconfig
85
86%description -n compat32-%{name}-devel
87This package contains the files needed to build packages that depend
88on orc.
89
90
91%prep
92%setup -q
93
94
95%build
96export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
97export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
98%meson
99%meson_build
100
101
102%install
103rm -rf %{buildroot}
104%meson_install
105
106# Remove unneeded files.
107find %{buildroot}%{_libdir} -name "*.a" -delete
108
109
110%clean
111rm -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
Note: See TracBrowser for help on using the repository browser.