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.24/%{name}-%{version}.tar.xz
13 # Source0-md5: 6c59ae8bbff48fad9132f23af347acf1
14 URL: http://www.gtkmm.org/
15 BuildRequires: atkmm-devel >= 2.22.2
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: cairomm-devel >= 1.6.3
19 BuildRequires: glibmm-devel >= 2.28.0
20 BuildRequires: gtk+2-devel >= 2:2.24.0
21 BuildRequires: libsigc++-devel
22 BuildRequires: libstdc++-devel >= 5:3.3.1
23 BuildRequires: libtool >= 2:1.4d-3
24 BuildRequires: mm-common >= 0.9.8
25 BuildRequires: pangomm-devel >= 2.28.0
26 BuildRequires: perl-base >= 1:5.6.0
27 BuildRequires: pkgconfig
28 BuildRequires: tar >= 1:1.22
30 Requires: atkmm >= 2.22.2
31 Requires: cairomm >= 1.6.3
32 Requires: glibmm >= 2.28.0
33 Requires: gtk+2 >= 2:2.24.0
34 Requires: pangomm >= 2.28.0
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
40 library. The interface provides a convenient interface for C++
41 programmers to create GUIs with GTK+'s flexible object-oriented
42 framework. Features include type safe callbacks, widgets that are
43 extensible using inheritance and over 110 classes that can be freely
44 combined to quickly create complex user interfaces.
46 %description -l pl.UTF-8
47 gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
48 służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
49 także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit).
52 Summary: gtkmm and gdkmm header files
53 Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm
54 Group: X11/Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: atkmm-devel >= 2.22.2
57 Requires: glibmm-devel >= 2.28.0
58 Requires: gtk+2-devel >= 2:2.24.0
59 Requires: pangomm-devel >= 2.28.0
62 Header files for gtkmm library.
64 %description devel -l pl.UTF-8
65 Pliki nagłówkowe biblioteki gtkmm.
68 Summary: gtkmm and gdkmm static libraries
69 Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm
70 Group: X11/Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
74 gtkmm and gdkmm static libraries.
76 %description static -l pl.UTF-8
77 Biblioteki statyczne gtkmm i gdkmm.
80 Summary: Reference documentation for gtkmm and gdkmm
81 Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm
88 Reference documentation for gtkmm and gdkmm.
90 %description apidocs -l pl.UTF-8
91 Szczegółowa dokumentacja gtkmm i gdkmm.
103 %{?with_static_libs:--enable-static}
108 rm -rf $RPM_BUILD_ROOT
111 DESTDIR=$RPM_BUILD_ROOT
113 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
116 rm -rf $RPM_BUILD_ROOT
118 %post -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
122 %defattr(644,root,root,755)
123 %doc AUTHORS ChangeLog NEWS PORTING README
124 %attr(755,root,root) %{_libdir}/libgdkmm-2.4.so.*.*.*
125 %attr(755,root,root) %ghost %{_libdir}/libgdkmm-2.4.so.1
126 %attr(755,root,root) %{_libdir}/libgtkmm-2.4.so.*.*.*
127 %attr(755,root,root) %ghost %{_libdir}/libgtkmm-2.4.so.1
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libgdkmm-2.4.so
132 %attr(755,root,root) %{_libdir}/libgtkmm-2.4.so
135 %{_includedir}/gdkmm-2.4
136 %{_includedir}/gtkmm-2.4
137 %{_pkgconfigdir}/gdkmm-2.4.pc
138 %{_pkgconfigdir}/gtkmm-2.4.pc
140 %if %{with static_libs}
142 %defattr(644,root,root,755)
143 %{_libdir}/libgdkmm-2.4.a
144 %{_libdir}/libgtkmm-2.4.a
148 %defattr(644,root,root,755)
150 %{_datadir}/devhelp/books/gtkmm-2.4