]> git.pld-linux.org Git - packages/gtkglextmm.git/blob - gtkglextmm.spec
- drop libtool patch
[packages/gtkglextmm.git] / gtkglextmm.spec
1 Summary:        C++ wrapper for GtkGLExt library
2 Summary(pl.UTF-8):      Interfejs C++ do biblioteki GtkGLExt
3 Name:           gtkglextmm
4 Version:        1.2.0
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/gtkglext/%{name}-%{version}.tar.bz2
9 # Source0-md5:  27c05f4d45c5fd07b6fb0f044add3056
10 Patch0:         gdkspanfunc.patch
11 URL:            http://gtkglext.sourceforge.net/
12 BuildRequires:  autoconf >= 2.54
13 BuildRequires:  automake >= 1:1.7
14 BuildRequires:  gtkglext-devel >= 1.0.0
15 BuildRequires:  gtkmm-devel >= 2.4.0
16 BuildRequires:  libtool >= 2:1.4d-3
17 BuildRequires:  perl-base >= 1:5.6.0
18 BuildRequires:  pkgconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
22
23 %description
24 gtkglextmm is C++ wrapper for GtkGLExt, OpenGL Extension to GTK.
25
26 %description -l pl.UTF-8
27 gtkglextmm to interfejs C++ do GtkGLExt - rozszerzenia OpenGL dla GTK.
28
29 %package devel
30 Summary:        Header files for gtkglextmm library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gtkglextmm
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       gtkglext-devel >= 1.0.0
35 Requires:       gtkmm-devel >= 2.4.0
36
37 %description devel
38 Header files for gtkglextmm library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki gtkglextmm.
42
43 %package static
44 Summary:        Static gtkglextmm library
45 Summary(pl.UTF-8):      Statyczna biblioteka gtkglextmm
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static gtkglextmm library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka gtkglextmm.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal} -I m4macros
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --with-html-dir=%{_gtkdocdir}
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog NEWS README
87 %attr(755,root,root) %{_libdir}/libg[dt]kglextmm-x11-1.2.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libg[dt]kglextmm-x11-1.2.so.0
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libg[dt]kglextmm-x11-1.2.so
93 %{_libdir}/gtkglextmm-1.2
94 %{_includedir}/gtkglextmm-1.2
95 %{_aclocaldir}/gtkglextmm-1.2.m4
96 %{_pkgconfigdir}/g[dt]kglextmm*-1.2.pc
97 %{_gtkdocdir}/gtkglextmm-1.2
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/libg[dt]kglextmm-x11-1.2.a
This page took 0.059548 seconds and 3 git commands to generate.