3 %bcond_without static_libs # don't build static libraries
5 Summary: A C++ interface for the GTK+ (a GUI library for X)
6 Summary(pl.UTF-8): Wrapper C++ dla GTK+
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.99/gtkmm-%{version}.tar.bz2
13 # Source0-md5: feff6a84af1375b3b80ebf0691754a24
14 URL: http://www.gtkmm.org/
15 BuildRequires: atkmm-devel >= 2.22.0
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: cairomm-devel >= 1.9.2
19 BuildRequires: gdk-pixbuf2-devel >= 2.22.1
20 BuildRequires: glibmm-devel >= 2.27.93
21 BuildRequires: gtk+3-devel >= 3.0.0
22 BuildRequires: libsigc++-devel
23 BuildRequires: libstdc++-devel >= 5:3.3.1
24 BuildRequires: libtool >= 2:1.4d-3
25 BuildRequires: mm-common >= 0.8
26 BuildRequires: pangomm-devel >= 2.27.1
27 BuildRequires: perl-base >= 1:5.6.0
28 BuildRequires: pkgconfig
29 Requires: atkmm >= 2.22.0
30 Requires: cairomm >= 1.9.2
31 Requires: glibmm >= 2.27.93
32 Requires: pangomm >= 2.27.1
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
37 library. The interface provides a convenient interface for C++
38 programmers to create GUIs with GTK+'s flexible object-oriented
39 framework. Features include type safe callbacks, widgets that are
40 extensible using inheritance and over 110 classes that can be freely
41 combined to quickly create complex user interfaces.
43 %description -l pl.UTF-8
44 gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
45 służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
46 także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit).
49 Summary: gtkmm and gdkmm header files
50 Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm
51 Group: X11/Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Requires: atkmm-devel >= 2.22.0
54 Requires: glibmm-devel >= 2.27.93
55 Requires: gtk+3-devel >= 3.0.0
56 Requires: pangomm-devel >= 2.27.1
59 Header files for gtkmm library.
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe biblioteki gtkmm.
65 Summary: gtkmm and gdkmm static libraries
66 Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm
67 Group: X11/Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
71 gtkmm and gdkmm static libraries.
73 %description static -l pl.UTF-8
74 Biblioteki statyczne gtkmm i gdkmm.
77 Summary: Reference documentation for gtkmm and gdkmm
78 Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm
83 Reference documentation for gtkmm and gdkmm.
85 %description apidocs -l pl.UTF-8
86 Szczegółowa dokumentacja gtkmm i gdkmm.
89 %setup -q -n gtkmm-%{version}
98 %{?with_static_libs:--enable-static}
103 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT
108 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog NEWS PORTING README
119 %attr(755,root,root) %{_libdir}/libgdkmm-3.0.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libgdkmm-3.0.so.1
121 %attr(755,root,root) %{_libdir}/libgtkmm-3.0.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libgtkmm-3.0.so.1
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libgdkmm-3.0.so
127 %attr(755,root,root) %{_libdir}/libgtkmm-3.0.so
130 %{_includedir}/gdkmm-3.0
131 %{_includedir}/gtkmm-3.0
132 %{_pkgconfigdir}/gdkmm-3.0.pc
133 %{_pkgconfigdir}/gtkmm-3.0.pc
135 %if %{with static_libs}
137 %defattr(644,root,root,755)
138 %{_libdir}/libgdkmm-3.0.a
139 %{_libdir}/libgtkmm-3.0.a
143 %defattr(644,root,root,755)
145 %{_datadir}/devhelp/books/gtkmm-3.0