]> git.pld-linux.org Git - packages/gtkglext.git/blob - gtkglext.spec
- added am18 patch (gtkglext.m4 quotation fixes), fixes Groups, release 2
[packages/gtkglext.git] / gtkglext.spec
1 Summary:        OpenGL extension to GTK
2 Summary(pl):    Rozszerzenie OpenGL dla GTK
3 Name:           gtkglext
4 Version:        1.0.5
5 Release:        2
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0f860f0d0f2873bd625b902e01fee756
10 Patch0:         %{name}-am18.patch
11 URL:            http://gtkglext.sourceforge.net/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gtk+2-devel >= 2.1.2
16 BuildRequires:  libtool >= 1:1.4.2-9
17 Requires:       OpenGL
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
21
22 %description
23 GtkGLExt provides the GDK objects to support OpenGL rendering in GTK,
24 and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable.
25
26 As opposed to Janne Loff's GtkGLArea, it does not provide any OpenGL
27 widget, but an interface to use OpenGL on *ANY* GTK+ widget.
28
29 %description -l pl
30 GtkGLExt udostêpnia obiekty GDK obs³uguj±ce rysowanie OpenGL w GTK
31 oraz dodatki do API GtkWidget dodaj±ce obs³ugê OpenGL do widgetów
32 GTK+.
33
34 W przeciwieñstwie do GtkGLArea Janne Loffa, nie udostêpnia widgetu
35 OpenGL, ale interfejs do u¿ywania OpenGL w *KA¯DYM* widgecie GTK+.
36
37 %package devel
38 Summary:        Development files for GtkGLExt
39 Summary(pl):    Pliki programistyczne GtkGLExt
40 Group:          X11/Development/Libraries
41 Requires:       %{name} = %{version}
42 Requires:       OpenGL-devel
43 Requires:       gtk+2-devel >= 2.1.2
44
45 %description devel
46 Development files for GtkGLExt.
47
48 %description devel -l pl
49 Pliki programistyczne GtkGLExt.
50
51 %package static
52 Summary:        GtkGLExt static libraries
53 Summary(pl):    Statyczne biblioteki GtkGLExt
54 Group:          X11/Development/Libraries
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 GtkGLExt static libraries.
59
60 %description static -l pl
61 Statyczne biblioteki GtkGLExt.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 # supplied libtool is broken (relink)
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --enable-static \
76         --with-html-dir=%{_gtkdocdir}
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT \
85         pkgconfigdir=%{_pkgconfigdir}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog README TODO
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %{_libdir}/lib*.la
102 %{_libdir}/%{name}*
103 %{_includedir}/%{name}*
104 %{_pkgconfigdir}/*
105 %{_aclocaldir}/*.m4
106 %{_gtkdocdir}/*
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
This page took 0.055529 seconds and 3 git commands to generate.