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

Revision 5038, 3.0 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME-3.2.1

Line 
1%define         cogl_version 1.8.2
2%define         cogl_release 1%{?_dist_release}
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/
12Source0:        http://www.clutter-project.org/sources/%{name}/1.8/%{name}-%{version}.tar.xz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gobject-introspection-devel
17BuildRequires:  libXcomposite-devel
18BuildRequires:  mesa-libGL-devel
19BuildRequires:  pango-devel
20BuildRequires:  gtk-doc
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26%description
27Cogl is a small open source library for using 3D graphics hardware to draw
28pretty pictures. The API departs from the flat state machine style of
29OpenGL and is designed to make it easy to write orthogonal components that
30can render without stepping on each others toes.
31
32%package devel
33Summary:        Development tools for cogl
34Summary(ja):    cogl の開発環境
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38
39%description devel
40Header files and libraries for building a extension library for the
41cogl.
42
43
44%package        doc
45Summary:        Documentation for cogl
46Summary(ja):    cogl 用のドキュメント
47Group:          Documentation
48Requires:       %{name} = %{version}-%{release}
49BuildArch:      noarch
50
51
52%description    doc
53This package contains documentation for cogl.
54
55
56%prep
57%setup -q
58
59%build
60autoreconf -if
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
69make V=1
70
71%install
72rm -rf $RPM_BUILD_ROOT
73#make DESTDIR=$RPM_BUILD_ROOT install
74make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
75
76rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
77
78%find_lang %{name}
79
80%clean
81rm -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
105* Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
106- new upstream release
107
108* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
109- new upstream release
110
111* Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
112- new upstream release
113- remove Patch0
114
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
119* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
120- initial build for Vine Linux
121
Note: See TracBrowser for help on using the repository browser.