[cogl] initial import

Peter Robinson pbrobinson at fedoraproject.org
Thu Jun 16 13:05:02 UTC 2011


commit fc3470788a93f0a008adc22c32e631629530e65d
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Thu Jun 16 14:04:44 2011 +0100

    initial import

 .gitignore |    1 +
 cogl.spec  |  107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 109 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b79acef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cogl-1.7.0.tar.bz2
diff --git a/cogl.spec b/cogl.spec
new file mode 100644
index 0000000..7d07b4a
--- /dev/null
+++ b/cogl.spec
@@ -0,0 +1,107 @@
+Name:          cogl
+Version:       1.7.0
+Release:       3%{?dist}
+Summary:       A library for using 3D graphics hardware to draw pretty pictures
+
+Group:         Development/Libraries
+License:       LGPLv2+
+URL:           http://www.clutter-project.org/
+Source0:       http://www.clutter-project.org/sources/%{name}/1.7/%{name}-%{version}.tar.bz2
+
+BuildRequires: cairo-devel
+BuildRequires: glib2-devel
+BuildRequires: gobject-introspection-devel
+BuildRequires: gtk-doc
+BuildRequires: libXcomposite-devel
+BuildRequires: libXdamage-devel
+BuildRequires: libXext-devel
+BuildRequires: libXfixes-devel
+BuildRequires: mesa-libGL-devel
+BuildRequires: pango-devel
+BuildRequires: pkgconfig
+
+%description
+Cogl is a small open source library for using 3D graphics hardware to draw
+pretty pictures. The API departs from the flat state machine style of
+OpenGL and is designed to make it easy to write orthogonal components that
+can render without stepping on each others toes.
+
+As well aiming for a nice API, we think having a single library as opposed
+to an API specification like OpenGL has a few advantages too; like being
+able to paper over the inconsistencies/bugs of different OpenGL
+implementations in a centralized place, not to mention the myriad of OpenGL
+extensions. It also means we are in a better position to provide utility
+APIs that help software developers since they only need to be implemented
+once and there is no risk of inconsistency between implementations.
+
+Having other backends, besides OpenGL, such as drm, Gallium or D3D are
+options we are interested in for the future.
+
+%package devel
+Summary:       %{name} development environment
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      pkgconfig glib2-devel pango-devel cairo-devel
+Requires:      mesa-libGL-devel
+Requires:      gobject-introspection-devel
+
+%description devel
+Header files and libraries for building and developing apps with %{name}.
+
+%package       doc
+Summary:       Documentation for %{name}
+Group:         Documentation
+Requires:      %{name} = %{version}-%{release}
+BuildArch:     noarch
+
+%description   doc
+This package contains documentation for %{name}.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS -fPIC"
+
+%configure --enable-cairo=yes --enable-gdk-pixbuf=no --enable-cogl-pango=yes --enable-glx=yes --enable-gtk-doc --enable-introspection=yes
+
+make V=1
+
+%install
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+
+#Remove libtool archives.
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING NEWS README ChangeLog
+%{_libdir}/libcogl*.so.*
+%{_libdir}/girepository-1.0/Cogl*.typelib
+
+%files devel
+%defattr(-, root, root)
+%{_includedir}/cogl/*
+%{_libdir}/libcogl*.so
+%{_libdir}/pkgconfig/*.pc
+%{_datadir}/gir-1.0/Cogl*.gir
+
+%files doc
+%defattr(-, root, root)
+%{_datadir}/gtk-doc/html/cogl
+
+%changelog
+* Thu Jun 16 2011 Peter Robinson <pbrobinson at gmail.com> - 1.7.0-3
+- Update spec for review feedback
+
+* Thu Jun 16 2011 Peter Robinson <pbrobinson at gmail.com> - 1.7.0-2
+- Update spec for review feedback
+
+* Wed Jun 15 2011 Peter Robinson <pbrobinson at gmail.com> - 1.7.0-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..8a8e0b6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a2549ac55216cbb62dc2079b6dc4f46  cogl-1.7.0.tar.bz2


More information about the scm-commits mailing list