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