[6011] | 1 | %define cogl_version 1.10.0 |
---|
[4616] | 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/ |
---|
[6011] | 12 | Source0: http://www.clutter-project.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz |
---|
[4616] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: gobject-introspection-devel |
---|
| 17 | BuildRequires: libXcomposite-devel |
---|
| 18 | BuildRequires: mesa-libGL-devel |
---|
| 19 | BuildRequires: pango-devel |
---|
| 20 | BuildRequires: gtk-doc |
---|
| 21 | |
---|
[4732] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | Packager: Takemikaduchi |
---|
[4616] | 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 | %package devel |
---|
| 33 | Summary: Development tools for cogl |
---|
| 34 | Summary(ja): cogl の開発環境 |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | Requires: pkgconfig |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | Header files and libraries for building a extension library for the |
---|
| 41 | cogl. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %package doc |
---|
| 45 | Summary: Documentation for cogl |
---|
| 46 | Summary(ja): cogl 用のドキュメント |
---|
| 47 | Group: Documentation |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | BuildArch: noarch |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %description doc |
---|
| 53 | This package contains documentation for cogl. |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
| 58 | |
---|
| 59 | %build |
---|
[4650] | 60 | autoreconf -if |
---|
[4616] | 61 | %configure --enable-gtk-doc \ |
---|
| 62 | --disable-static \ |
---|
| 63 | --enable-cairo=yes \ |
---|
| 64 | --enable-gdk-pixbuf=yes \ |
---|
| 65 | --enable-cogl-pango=yes \ |
---|
| 66 | --enable-glx=yes \ |
---|
| 67 | --enable-introspection=yes |
---|
| 68 | |
---|
[4650] | 69 | make V=1 |
---|
[4616] | 70 | |
---|
| 71 | %install |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | #make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 74 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
| 75 | |
---|
| 76 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 77 | |
---|
| 78 | %find_lang %{name} |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | rm -rf $RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | %post -p /sbin/ldconfig |
---|
| 84 | %postun -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
| 89 | %{_libdir}/*.so.* |
---|
| 90 | %{_libdir}/girepository-1.0/*.typelib |
---|
[6011] | 91 | %{_datadir}/%{name}/examples-data/crate.jpg |
---|
[4616] | 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-, root, root) |
---|
| 95 | %{_includedir}/cogl |
---|
| 96 | %{_libdir}/*.so |
---|
| 97 | %{_libdir}/pkgconfig/*.pc |
---|
| 98 | %{_datadir}/gir-1.0/*.gir |
---|
| 99 | |
---|
| 100 | %files doc |
---|
| 101 | %defattr(-, root, root) |
---|
| 102 | %{_datadir}/gtk-doc/html/cogl |
---|
| 103 | %{_datadir}/gtk-doc/html/cogl-2.0-experimental |
---|
| 104 | |
---|
| 105 | %changelog |
---|
[6011] | 106 | * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[5038] | 109 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[4812] | 112 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[4732] | 115 | * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - remove Patch0 |
---|
| 118 | |
---|
[4650] | 119 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1 |
---|
| 120 | - new upstream release |
---|
| 121 | - add Patch0 (cogl-1.7.6-configure.patch) |
---|
| 122 | |
---|
[4616] | 123 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
| 124 | - initial build for Vine Linux |
---|
| 125 | |
---|