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