source: projects/specs/trunk/c/cogl/cogl-vl.spec @ 6619

Revision 6619, 3.3 KB checked in by Takemikaduchi, 12 years ago (diff)

cairo: add Requires: mesa-libEGL-devel
others: new upstream release

RevLine 
[6619]1%define         cogl_version 1.10.4
2%define         cogl_release 1%{?_dist_release}
[4616]3
4Name:           cogl
5Version:        %{cogl_version}
6Release:        %{cogl_release}
7Summary:        A small open source library for using 3D graphics hardware to draw pretty pictures
8
9Group:          System Environment/Libraries
10License:        LGPLv2+
11URL:            http://www.clutter-project.org/
[6011]12Source0:        http://www.clutter-project.org/sources/%{name}/1.10/%{name}-%{version}.tar.xz
[4616]13
[6581]14# fron redhat
15Patch0:         04_fix_crash_on_free.patch
16
[4616]17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19BuildRequires:  gobject-introspection-devel
20BuildRequires:  libXcomposite-devel
21BuildRequires:  mesa-libGL-devel
22BuildRequires:  pango-devel
23BuildRequires:  gtk-doc
24
[4732]25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
[4616]28
29%description
30Cogl is a small open source library for using 3D graphics hardware to draw
31pretty pictures. The API departs from the flat state machine style of
32OpenGL and is designed to make it easy to write orthogonal components that
33can render without stepping on each others toes.
34
35%package devel
36Summary:        Development tools for cogl
37Summary(ja):    cogl の開発環境
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       pkgconfig
41
42%description devel
43Header files and libraries for building a extension library for the
44cogl.
45
46
47%package        doc
48Summary:        Documentation for cogl
49Summary(ja):    cogl 用のドキュメント
50Group:          Documentation
51Requires:       %{name} = %{version}-%{release}
52BuildArch:      noarch
53
54
55%description    doc
56This package contains documentation for cogl.
57
58
59%prep
60%setup -q
[6581]61%patch0 -p1 -b .crash
[4616]62
63%build
64%configure --enable-gtk-doc \
65        --disable-static \
66        --enable-cairo=yes \
67        --enable-gdk-pixbuf=yes \
68        --enable-cogl-pango=yes \
69        --enable-glx=yes \
70        --enable-introspection=yes
71
[4650]72make V=1
[4616]73
74%install
75rm -rf $RPM_BUILD_ROOT
76#make DESTDIR=$RPM_BUILD_ROOT install
77make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
78
79rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80
81%find_lang %{name}
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
89%files -f %{name}.lang
90%defattr(-,root,root,-)
91%doc ChangeLog AUTHORS COPYING NEWS README
92%{_libdir}/*.so.*
93%{_libdir}/girepository-1.0/*.typelib
[6011]94%{_datadir}/%{name}/examples-data/crate.jpg
[4616]95
96%files devel
97%defattr(-, root, root)
98%{_includedir}/cogl
99%{_libdir}/*.so
100%{_libdir}/pkgconfig/*.pc
101%{_datadir}/gir-1.0/*.gir
102
103%files doc
104%defattr(-, root, root)
105%{_datadir}/gtk-doc/html/cogl
106%{_datadir}/gtk-doc/html/cogl-2.0-experimental
107
108%changelog
[6619]109* Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.4-1
110- new upstream release
111
[6581]112* Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
113- add Patch0 (04_fix_crash_on_free.patch)
114
[6078]115* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
[6011]116- new upstream release
117
[5038]118* Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
119- new upstream release
120
[4812]121* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
122- new upstream release
123
[4732]124* Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
125- new upstream release
126- remove Patch0
127
[4650]128* Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
129- new upstream release
130- add Patch0 (cogl-1.7.6-configure.patch)
131
[4616]132* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
133- initial build for Vine Linux
134
Note: See TracBrowser for help on using the repository browser.