/[packages]/cauldron/cogl/current/SPECS/cogl.spec
ViewVC logotype

Diff of /cauldron/cogl/current/SPECS/cogl.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 426265 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 426266 by dams, Fri May 24 14:16:26 2013 UTC
# Line 1  Line 1 
1  %define major           11  %define major           12
2  %define pangomajor      0  %define pangomajor      1
3  %define gi_major        1.0  %define gi_major        1.0
4    
5  %define libname         %mklibname %{name} %{major}  %define libname         %mklibname %{name} %{major}
# Line 11  Line 11 
11  %define url_ver %(echo %{version}|cut -d. -f1,2)  %define url_ver %(echo %{version}|cut -d. -f1,2)
12    
13  Name:           cogl  Name:           cogl
14  Version:        1.12.0  Version:        1.14.0
15  Release:        %mkrel 3  Release:        %mkrel 1
16  Summary:        A library for using 3D graphics hardware to draw pretty pictures  Summary:        A library for using 3D graphics hardware to draw pretty pictures
17  Group:          System/Libraries  Group:          System/Libraries
18  License:        LGPLv2+  License:        LGPLv2+
19  URL:            http://www.clutter-project.org/  URL:            http://www.clutter-project.org/
20  Source0:        http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz  Source0:        http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
 Patch0:         cogl-1.12.0-fix-experimental-doc-build.patch  
21  BuildRequires:  pkgconfig(gl)  BuildRequires:  pkgconfig(gl)
22  BuildRequires:  pkgconfig(x11)  BuildRequires:  pkgconfig(x11)
23  BuildRequires:  pkgconfig(xext)  BuildRequires:  pkgconfig(xext)
24  BuildRequires:  pkgconfig(xfixes) >= 3  BuildRequires:  pkgconfig(xfixes) >= 3
25  BuildRequires:  pkgconfig(xdamage)  BuildRequires:  pkgconfig(xdamage)
26    BuildRequires:  pkgconfig(xrandr)
27  BuildRequires:  pkgconfig(xcomposite) >= 0.4  BuildRequires:  pkgconfig(xcomposite) >= 0.4
28  BuildRequires:  pkgconfig(gobject-2.0) >= 2.28.0  BuildRequires:  pkgconfig(gobject-2.0) >= 2.28.0
29  BuildRequires:  pkgconfig(gmodule-no-export-2.0)  BuildRequires:  pkgconfig(gmodule-no-export-2.0)
# Line 62  BuildArch:     noarch Line 62  BuildArch:     noarch
62  This contains the translation data for %{name}.  This contains the translation data for %{name}.
63    
64  %files i18n -f %{name}.lang  %files i18n -f %{name}.lang
 %defattr(-,root,root,-)  
65    
66  #--------------------------------------------------------------------  #--------------------------------------------------------------------
67    
# Line 89  Having other backends, besides OpenGL, s Line 88  Having other backends, besides OpenGL, s
88  options we are interested in for the future.  options we are interested in for the future.
89    
90  %files -n %{libname}  %files -n %{libname}
 %defattr(-, root, root)  
91  %{_libdir}/libcogl.so.%{major}*  %{_libdir}/libcogl.so.%{major}*
92    
93  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 117  Having other backends, besides OpenGL, s Line 115  Having other backends, besides OpenGL, s
115  options we are interested in for the future.  options we are interested in for the future.
116    
117  %files -n %{libname_pango}  %files -n %{libname_pango}
 %defattr(-, root, root)  
118  %{_libdir}/libcogl-pango.so.%{pangomajor}*  %{_libdir}/libcogl-pango.so.%{pangomajor}*
119    
120  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 133  Conflicts:     %{mklibname clutter 1.0 0} < Line 130  Conflicts:     %{mklibname clutter 1.0 0} <
130  GObject Introspection interface description for %{name}.  GObject Introspection interface description for %{name}.
131    
132  %files -n %{girname}  %files -n %{girname}
 %defattr(-, root, root)  
133  %{_libdir}/girepository-1.0/Cogl-%{gi_major}.typelib  %{_libdir}/girepository-1.0/Cogl-%{gi_major}.typelib
134    
135  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 148  Conflicts:     %{_lib}cogl-gir0.0 < %{versio Line 144  Conflicts:     %{_lib}cogl-gir0.0 < %{versio
144  GObject Introspection interface description for %{name}-pango.  GObject Introspection interface description for %{name}-pango.
145    
146  %files -n %{girname_pango}  %files -n %{girname_pango}
 %defattr(-, root, root)  
147  %{_libdir}/girepository-1.0/CoglPango-%{gi_major}.typelib  %{_libdir}/girepository-1.0/CoglPango-%{gi_major}.typelib
148    
149  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 167  Conflicts:     %{mklibname -d clutter 1.0} < Line 162  Conflicts:     %{mklibname -d clutter 1.0} <
162  Header files and libraries for building and developing apps with %{name}.  Header files and libraries for building and developing apps with %{name}.
163    
164  %files -n %{develname}  %files -n %{develname}
 %defattr(-, root, root)  
165  %doc NEWS README ChangeLog  %doc NEWS README ChangeLog
166  %{_includedir}/cogl  %{_includedir}/cogl
167  %{_libdir}/libcogl*.so  %{_libdir}/libcogl*.so
# Line 186  BuildArch:     noarch Line 180  BuildArch:     noarch
180  This package contains documentation for %{name}.  This package contains documentation for %{name}.
181    
182  %files doc  %files doc
 %defattr(-, root, root)  
183  %{_datadir}/gtk-doc/html/cogl  %{_datadir}/gtk-doc/html/cogl
184  %{_datadir}/gtk-doc/html/cogl-2.0-experimental  %{_datadir}/gtk-doc/html/cogl-2.0-experimental
185    
# Line 194  This package contains documentation for Line 187  This package contains documentation for
187    
188  %prep  %prep
189  %setup -q  %setup -q
 %apply_patches  
190    
191  %build  %build
192  CFLAGS="%{optflags} -fPIC"  CFLAGS="%{optflags} -fPIC"
# Line 207  CFLAGS="%{optflags} -fPIC" Line 199  CFLAGS="%{optflags} -fPIC"
199          --enable-gtk-doc \          --enable-gtk-doc \
200          --enable-introspection=yes \          --enable-introspection=yes \
201          --enable-examples-install=no          --enable-examples-install=no
   
202  %make  %make
203    
204  %install  %install

Legend:
Removed from v.426265  
changed lines
  Added in v.426266

  ViewVC Help
Powered by ViewVC 1.1.30