1 | Name: cogl |
---|
2 | Version: 1.22.8 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: A small open source library for using 3D graphics hardware to draw pretty pictures |
---|
5 | Vendor: Project Vine |
---|
6 | Distribution: Vine Linux |
---|
7 | |
---|
8 | License: LGPLv2+ |
---|
9 | URL: https://www.clutter-project.org/ |
---|
10 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
11 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gobject-introspection-devel |
---|
16 | BuildRequires: libXcomposite-devel |
---|
17 | BuildRequires: libXrandr-devel |
---|
18 | BuildRequires: mesa-libGL-devel |
---|
19 | BuildRequires: mesa-libEGL-devel |
---|
20 | BuildRequires: mesa-libgbm-devel |
---|
21 | BuildRequires: pango-devel |
---|
22 | BuildRequires: gdk-pixbuf2-devel |
---|
23 | BuildRequires: gstreamer1-plugins-base-devel |
---|
24 | BuildRequires: gtk-doc |
---|
25 | |
---|
26 | %description |
---|
27 | Cogl is a small open source library for using 3D graphics hardware to draw |
---|
28 | pretty pictures. The API departs from the flat state machine style of |
---|
29 | OpenGL and is designed to make it easy to write orthogonal components that |
---|
30 | can render without stepping on each others toes. |
---|
31 | |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development tools for cogl |
---|
35 | Summary(ja): cogl の開発環境 |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: pkgconfig |
---|
39 | |
---|
40 | %description devel |
---|
41 | Header files and libraries for building a extension library for the |
---|
42 | cogl. |
---|
43 | |
---|
44 | |
---|
45 | %package gstreamer |
---|
46 | Summary: Cogl GStreamer library |
---|
47 | Summary(ja): cogl gstreamer ライブラリ |
---|
48 | Group: System Environment/Libraries |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | |
---|
51 | %description gstreamer |
---|
52 | %{summary} |
---|
53 | |
---|
54 | |
---|
55 | %package docs |
---|
56 | Summary: Documentation for cogl |
---|
57 | Summary(ja): cogl 用のドキュメント |
---|
58 | Group: Documentation |
---|
59 | Provides: %{name}-doc = %{version}-%{release} |
---|
60 | BuildArch: noarch |
---|
61 | |
---|
62 | |
---|
63 | %description docs |
---|
64 | This package contains documentation for cogl. |
---|
65 | |
---|
66 | |
---|
67 | %prep |
---|
68 | %setup -q |
---|
69 | |
---|
70 | for i in `grep -rl "<note>" ./`; |
---|
71 | do |
---|
72 | sed -i 's/<note>//' $i |
---|
73 | done |
---|
74 | |
---|
75 | for i in `grep -rl "<\/note>" ./`; |
---|
76 | do |
---|
77 | sed -i 's/<\/note>//' $i |
---|
78 | done |
---|
79 | |
---|
80 | |
---|
81 | %build |
---|
82 | |
---|
83 | %configure \ |
---|
84 | --enable-gtk-doc \ |
---|
85 | --disable-static \ |
---|
86 | --enable-cairo=yes \ |
---|
87 | --enable-gdk-pixbuf=yes \ |
---|
88 | --enable-cogl-gst=yes \ |
---|
89 | --enable-cogl-pango=yes \ |
---|
90 | --enable-glx=yes \ |
---|
91 | --enable-introspection=yes \ |
---|
92 | --enable-kms-egl-platform=yes \ |
---|
93 | --enable-xlib-egl-platform=yes |
---|
94 | |
---|
95 | make V=1 |
---|
96 | |
---|
97 | |
---|
98 | %install |
---|
99 | rm -rf $RPM_BUILD_ROOT |
---|
100 | #make DESTDIR=$RPM_BUILD_ROOT install |
---|
101 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
102 | |
---|
103 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
104 | |
---|
105 | %find_lang %{name} |
---|
106 | |
---|
107 | |
---|
108 | %clean |
---|
109 | rm -rf $RPM_BUILD_ROOT |
---|
110 | |
---|
111 | |
---|
112 | %post -p /sbin/ldconfig |
---|
113 | %postun -p /sbin/ldconfig |
---|
114 | |
---|
115 | |
---|
116 | %files -f %{name}.lang |
---|
117 | %defattr(-,root,root,-) |
---|
118 | %license COPYING |
---|
119 | %doc ChangeLog AUTHORS NEWS README |
---|
120 | %{_libdir}/*.so.* |
---|
121 | %{_libdir}/girepository-1.0/*.typelib |
---|
122 | %{_datadir}/%{name}/examples-data/crate.jpg |
---|
123 | |
---|
124 | %files devel |
---|
125 | %defattr(-,root,root,-) |
---|
126 | %{_includedir}/cogl |
---|
127 | %{_libdir}/*.so |
---|
128 | %{_libdir}/pkgconfig/*.pc |
---|
129 | %{_datadir}/gir-1.0/*.gir |
---|
130 | |
---|
131 | %files gstreamer |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %{_libdir}/gstreamer-1.0/libgstcogl.so |
---|
134 | |
---|
135 | %files docs |
---|
136 | %defattr(-,root,root,-) |
---|
137 | %{_datadir}/gtk-doc/html/cogl |
---|
138 | %{_datadir}/gtk-doc/html/cogl-gst |
---|
139 | %{_datadir}/gtk-doc/html/cogl-2.0-experimental |
---|
140 | |
---|
141 | |
---|
142 | %changelog |
---|
143 | * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.8-1 |
---|
144 | - new upstream release. |
---|
145 | - dropped Patch0: fixed in upstream. |
---|
146 | |
---|
147 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.2-1 |
---|
148 | - new upstream release. |
---|
149 | - added Patch0. |
---|
150 | |
---|
151 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22.0-1 |
---|
152 | - new upstream release |
---|
153 | - remove Patch0 |
---|
154 | |
---|
155 | * Wed May 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-2 |
---|
156 | - add Patch0 (cogl-1.20.0-git20150508.patch) |
---|
157 | - add BuildRequires: mesa-libgbm-devel |
---|
158 | |
---|
159 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-1 |
---|
160 | - new upstream release |
---|
161 | |
---|
162 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.2-1 |
---|
163 | - new upstream release |
---|
164 | - add BuildRequires: mesa-libEGL-devel |
---|
165 | |
---|
166 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.0-1 |
---|
167 | - new upstream release |
---|
168 | |
---|
169 | * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.2-1 |
---|
170 | - new upstream release |
---|
171 | |
---|
172 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-2 |
---|
173 | - rebuild with VineSeed environment |
---|
174 | |
---|
175 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-1 |
---|
176 | - new upstream release |
---|
177 | - add BuildRequire: gstreamer1-plugins-base-devel |
---|
178 | |
---|
179 | * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
180 | - new upstream release |
---|
181 | - add BuildRequires: libXrandr-devel |
---|
182 | |
---|
183 | * Sun Jan 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
184 | - new upstream release |
---|
185 | |
---|
186 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
187 | - new upstream release |
---|
188 | - remove Patch0 (04_fix_crash_on_free.patch) |
---|
189 | |
---|
190 | * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
191 | - new upstream release |
---|
192 | |
---|
193 | * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2 |
---|
194 | - add Patch0 (04_fix_crash_on_free.patch) |
---|
195 | |
---|
196 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
197 | - new upstream release |
---|
198 | |
---|
199 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
200 | - new upstream release |
---|
201 | |
---|
202 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
203 | - new upstream release |
---|
204 | |
---|
205 | * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1 |
---|
206 | - new upstream release |
---|
207 | - remove Patch0 |
---|
208 | |
---|
209 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1 |
---|
210 | - new upstream release |
---|
211 | - add Patch0 (cogl-1.7.6-configure.patch) |
---|
212 | |
---|
213 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
214 | - initial build for Vine Linux |
---|
215 | |
---|