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

Revision 12373, 6.2 KB checked in by tomop, 4 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

RevLine 
[4878]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[1446]3Name:           orc
4Summary:        The Oil Run-time Compiler
[9523]5Summary(ja):    Oil ランタイムコンパイラ
[12373]6Version:        0.4.31
[8369]7Release:        1%{?_dist_release}
[12373]8Group:          System Environment/Libraries
9Vendor:         Project Vine
10Distribution:   Vine Linux
[1446]11
12License:        BSD
[9523]13URL:            http://code.entropywave.com/orc/
[9073]14Source0:        http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz
[1446]15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[12373]17BuildRequires:  meson
18BuildRequires:  libtool
19BuildRequires:  gtk-doc
20BuildRequires:  glib2-devel
[1446]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
[12373]29
[1446]30%package doc
31Summary:        Documentation for Orc
[9523]32Summary(ja):    Orc のドキュメント
33Group:          Documentation
[1446]34Requires:       %{name} = %{version}-%{release}
[9523]35BuildArch:      noarch
[1446]36
37%description doc
38Documentation for Orc.
39
[12373]40
[1446]41%package devel
42Summary:        Development files and static libraries for Orc
[9523]43Summary(ja):    Orc の開発用ファイル及び静的ライブラリ
[1446]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
[12373]53
[1446]54%package compiler
55Summary:        Orc compiler
[9523]56Summary(ja):    Orc コンパイラ
57Group:          Development/Languages
[1446]58Requires:       %{name} = %{version}-%{release}
59Requires:       pkgconfig
60
61%description compiler
62The Orc compiler, to produce optimized code.
63
[12373]64
[4878]65%package -n compat32-%{name}
66Summary:        The Oil Run-time Compiler
[9523]67Summary(ja):    Oil ランタイムコンパイラ
[4878]68Group:          System Environment/Libraries
69Requires:       %{name} = %{version}-%{release}
[1446]70
[4878]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
[12373]78
[4878]79%package -n compat32-%{name}-devel
80Summary:        Development files and static libraries for Orc
[9523]81Summary(ja):    Orc の開発用ファイル及び静的ライブラリ
[4878]82Group:          Development/Libraries
83Requires:       compat32-%{name} = %{version}-%{release}
[9523]84Requires:       compat32-pkgconfig
[4878]85
86%description -n compat32-%{name}-devel
87This package contains the files needed to build packages that depend
88on orc.
89
90
[1446]91%prep
92%setup -q
93
94
95%build
[1472]96export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
97export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
[12373]98%meson
99%meson_build
[1446]100
101
102%install
103rm -rf %{buildroot}
[12373]104%meson_install
[1446]105
106# Remove unneeded files.
[12373]107find %{buildroot}%{_libdir} -name "*.a" -delete
[1446]108
109
110%clean
111rm -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
Note: See TracBrowser for help on using the repository browser.