[4616] | 1 | Name: cogl |
---|
[12446] | 2 | Version: 1.22.8 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[4616] | 4 | Summary: A small open source library for using 3D graphics hardware to draw pretty pictures |
---|
[12446] | 5 | Vendor: Project Vine |
---|
| 6 | Distribution: Vine Linux |
---|
[4616] | 7 | |
---|
| 8 | License: LGPLv2+ |
---|
[12446] | 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 |
---|
[4616] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: gobject-introspection-devel |
---|
| 16 | BuildRequires: libXcomposite-devel |
---|
[7633] | 17 | BuildRequires: libXrandr-devel |
---|
[4616] | 18 | BuildRequires: mesa-libGL-devel |
---|
[9073] | 19 | BuildRequires: mesa-libEGL-devel |
---|
[9569] | 20 | BuildRequires: mesa-libgbm-devel |
---|
[4616] | 21 | BuildRequires: pango-devel |
---|
[6890] | 22 | BuildRequires: gdk-pixbuf2-devel |
---|
[7938] | 23 | BuildRequires: gstreamer1-plugins-base-devel |
---|
[4616] | 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 | |
---|
[7938] | 32 | |
---|
| 33 | %package devel |
---|
[4616] | 34 | Summary: Development tools for cogl |
---|
| 35 | Summary(ja): cogl の開発環境 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
[7938] | 40 | %description devel |
---|
[4616] | 41 | Header files and libraries for building a extension library for the |
---|
| 42 | cogl. |
---|
| 43 | |
---|
| 44 | |
---|
[7938] | 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 |
---|
[4616] | 56 | Summary: Documentation for cogl |
---|
| 57 | Summary(ja): cogl 用のドキュメント |
---|
| 58 | Group: Documentation |
---|
[7938] | 59 | Provides: %{name}-doc = %{version}-%{release} |
---|
| 60 | BuildArch: noarch |
---|
[4616] | 61 | |
---|
| 62 | |
---|
[7938] | 63 | %description docs |
---|
[4616] | 64 | This package contains documentation for cogl. |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %prep |
---|
| 68 | %setup -q |
---|
| 69 | |
---|
[6890] | 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 | |
---|
[12446] | 80 | |
---|
[4616] | 81 | %build |
---|
[6890] | 82 | |
---|
| 83 | %configure \ |
---|
| 84 | --enable-gtk-doc \ |
---|
[4616] | 85 | --disable-static \ |
---|
| 86 | --enable-cairo=yes \ |
---|
| 87 | --enable-gdk-pixbuf=yes \ |
---|
[7938] | 88 | --enable-cogl-gst=yes \ |
---|
[4616] | 89 | --enable-cogl-pango=yes \ |
---|
| 90 | --enable-glx=yes \ |
---|
[9073] | 91 | --enable-introspection=yes \ |
---|
[9569] | 92 | --enable-kms-egl-platform=yes \ |
---|
[9073] | 93 | --enable-xlib-egl-platform=yes |
---|
[4616] | 94 | |
---|
[4650] | 95 | make V=1 |
---|
[4616] | 96 | |
---|
[12446] | 97 | |
---|
[4616] | 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 | |
---|
[7938] | 103 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[4616] | 104 | |
---|
| 105 | %find_lang %{name} |
---|
| 106 | |
---|
[12446] | 107 | |
---|
[4616] | 108 | %clean |
---|
| 109 | rm -rf $RPM_BUILD_ROOT |
---|
| 110 | |
---|
[12446] | 111 | |
---|
[4616] | 112 | %post -p /sbin/ldconfig |
---|
| 113 | %postun -p /sbin/ldconfig |
---|
| 114 | |
---|
[12446] | 115 | |
---|
[4616] | 116 | %files -f %{name}.lang |
---|
| 117 | %defattr(-,root,root,-) |
---|
[12446] | 118 | %license COPYING |
---|
| 119 | %doc ChangeLog AUTHORS NEWS README |
---|
[4616] | 120 | %{_libdir}/*.so.* |
---|
| 121 | %{_libdir}/girepository-1.0/*.typelib |
---|
[6011] | 122 | %{_datadir}/%{name}/examples-data/crate.jpg |
---|
[4616] | 123 | |
---|
| 124 | %files devel |
---|
[7938] | 125 | %defattr(-,root,root,-) |
---|
[4616] | 126 | %{_includedir}/cogl |
---|
| 127 | %{_libdir}/*.so |
---|
| 128 | %{_libdir}/pkgconfig/*.pc |
---|
| 129 | %{_datadir}/gir-1.0/*.gir |
---|
| 130 | |
---|
[7938] | 131 | %files gstreamer |
---|
| 132 | %defattr(-,root,root,-) |
---|
| 133 | %{_libdir}/gstreamer-1.0/libgstcogl.so |
---|
| 134 | |
---|
| 135 | %files docs |
---|
| 136 | %defattr(-,root,root,-) |
---|
[4616] | 137 | %{_datadir}/gtk-doc/html/cogl |
---|
[7938] | 138 | %{_datadir}/gtk-doc/html/cogl-gst |
---|
[4616] | 139 | %{_datadir}/gtk-doc/html/cogl-2.0-experimental |
---|
| 140 | |
---|
[12446] | 141 | |
---|
[4616] | 142 | %changelog |
---|
[12446] | 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 | |
---|
[12005] | 147 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.2-1 |
---|
| 148 | - new upstream release. |
---|
| 149 | - added Patch0. |
---|
| 150 | |
---|
[9791] | 151 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.22.0-1 |
---|
| 152 | - new upstream release |
---|
| 153 | - remove Patch0 |
---|
| 154 | |
---|
[9569] | 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 | |
---|
[9475] | 159 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20.0-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[9073] | 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 | |
---|
[8353] | 166 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18.0-1 |
---|
| 167 | - new upstream release |
---|
| 168 | |
---|
[8219] | 169 | * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.2-1 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
[8085] | 172 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16.0-2 |
---|
| 173 | - rebuild with VineSeed environment |
---|
| 174 | |
---|
[7938] | 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 | |
---|
[7633] | 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 | |
---|
[7294] | 183 | * Sun Jan 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[6890] | 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 | |
---|
[6619] | 190 | * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[6581] | 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 | |
---|
[6078] | 196 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
[6011] | 197 | - new upstream release |
---|
| 198 | |
---|
[5038] | 199 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 200 | - new upstream release |
---|
| 201 | |
---|
[4812] | 202 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 203 | - new upstream release |
---|
| 204 | |
---|
[4732] | 205 | * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1 |
---|
| 206 | - new upstream release |
---|
| 207 | - remove Patch0 |
---|
| 208 | |
---|
[4650] | 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 | |
---|
[4616] | 213 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
| 214 | - initial build for Vine Linux |
---|
| 215 | |
---|