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

Revision 6078, 3.1 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1%define         cogl_version 1.10.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.10/%{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%{_datadir}/%{name}/examples-data/crate.jpg
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
106* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
107- new upstream release
108
109* Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
110- new upstream release
111
112* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
113- new upstream release
114
115* Tue Sep 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.8-1
116- new upstream release
117- remove Patch0
118
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
123* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
124- initial build for Vine Linux
125
Note: See TracBrowser for help on using the repository browser.