1 | %define cogl_version 1.10.4 |
---|
2 | %define cogl_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Name: cogl |
---|
5 | Version: %{cogl_version} |
---|
6 | Release: %{cogl_release} |
---|
7 | Summary: A small open source library for using 3D graphics hardware to draw pretty pictures |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: LGPLv2+ |
---|
11 | URL: http://www.clutter-project.org/ |
---|
12 | Source0: http://www.clutter-project.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | # fron redhat |
---|
15 | Patch0: 04_fix_crash_on_free.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | BuildRequires: gobject-introspection-devel |
---|
20 | BuildRequires: libXcomposite-devel |
---|
21 | BuildRequires: mesa-libGL-devel |
---|
22 | BuildRequires: pango-devel |
---|
23 | BuildRequires: gtk-doc |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: Takemikaduchi |
---|
28 | |
---|
29 | %description |
---|
30 | Cogl is a small open source library for using 3D graphics hardware to draw |
---|
31 | pretty pictures. The API departs from the flat state machine style of |
---|
32 | OpenGL and is designed to make it easy to write orthogonal components that |
---|
33 | can render without stepping on each others toes. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development tools for cogl |
---|
37 | Summary(ja): cogl の開発環境 |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: pkgconfig |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files and libraries for building a extension library for the |
---|
44 | cogl. |
---|
45 | |
---|
46 | |
---|
47 | %package doc |
---|
48 | Summary: Documentation for cogl |
---|
49 | Summary(ja): cogl 用のドキュメント |
---|
50 | Group: Documentation |
---|
51 | Requires: %{name} = %{version}-%{release} |
---|
52 | BuildArch: noarch |
---|
53 | |
---|
54 | |
---|
55 | %description doc |
---|
56 | This package contains documentation for cogl. |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | %patch0 -p1 -b .crash |
---|
62 | |
---|
63 | %build |
---|
64 | %configure --enable-gtk-doc \ |
---|
65 | --disable-static \ |
---|
66 | --enable-cairo=yes \ |
---|
67 | --enable-gdk-pixbuf=yes \ |
---|
68 | --enable-cogl-pango=yes \ |
---|
69 | --enable-glx=yes \ |
---|
70 | --enable-introspection=yes |
---|
71 | |
---|
72 | make V=1 |
---|
73 | |
---|
74 | %install |
---|
75 | rm -rf $RPM_BUILD_ROOT |
---|
76 | #make DESTDIR=$RPM_BUILD_ROOT install |
---|
77 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
78 | |
---|
79 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
80 | |
---|
81 | %find_lang %{name} |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %post -p /sbin/ldconfig |
---|
87 | %postun -p /sbin/ldconfig |
---|
88 | |
---|
89 | %files -f %{name}.lang |
---|
90 | %defattr(-,root,root,-) |
---|
91 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
92 | %{_libdir}/*.so.* |
---|
93 | %{_libdir}/girepository-1.0/*.typelib |
---|
94 | %{_datadir}/%{name}/examples-data/crate.jpg |
---|
95 | |
---|
96 | %files devel |
---|
97 | %defattr(-, root, root) |
---|
98 | %{_includedir}/cogl |
---|
99 | %{_libdir}/*.so |
---|
100 | %{_libdir}/pkgconfig/*.pc |
---|
101 | %{_datadir}/gir-1.0/*.gir |
---|
102 | |
---|
103 | %files doc |
---|
104 | %defattr(-, root, root) |
---|
105 | %{_datadir}/gtk-doc/html/cogl |
---|
106 | %{_datadir}/gtk-doc/html/cogl-2.0-experimental |
---|
107 | |
---|
108 | %changelog |
---|
109 | * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2 |
---|
113 | - add Patch0 (04_fix_crash_on_free.patch) |
---|
114 | |
---|
115 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1 |
---|
125 | - new upstream release |
---|
126 | - remove Patch0 |
---|
127 | |
---|
128 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1 |
---|
129 | - new upstream release |
---|
130 | - add Patch0 (cogl-1.7.6-configure.patch) |
---|
131 | |
---|
132 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
133 | - initial build for Vine Linux |
---|
134 | |
---|