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