[5038] | 1 | %define cogl_version 1.8.2 |
---|
[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/ |
---|
[4812] | 12 | Source0: http://www.clutter-project.org/sources/%{name}/1.8/%{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 |
---|
| 91 | |
---|
| 92 | %files devel |
---|
| 93 | %defattr(-, root, root) |
---|
| 94 | %{_includedir}/cogl |
---|
| 95 | %{_libdir}/*.so |
---|
| 96 | %{_libdir}/pkgconfig/*.pc |
---|
| 97 | %{_datadir}/gir-1.0/*.gir |
---|
| 98 | |
---|
| 99 | %files doc |
---|
| 100 | %defattr(-, root, root) |
---|
| 101 | %{_datadir}/gtk-doc/html/cogl |
---|
| 102 | %{_datadir}/gtk-doc/html/cogl-2.0-experimental |
---|
| 103 | |
---|
| 104 | %changelog |
---|
[5038] | 105 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[4812] | 108 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[4732] | 111 | * Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1 |
---|
| 112 | - new upstream release |
---|
| 113 | - remove Patch0 |
---|
| 114 | |
---|
[4650] | 115 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - add Patch0 (cogl-1.7.6-configure.patch) |
---|
| 118 | |
---|
[4616] | 119 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
| 120 | - initial build for Vine Linux |
---|
| 121 | |
---|