]> git.pld-linux.org Git - packages/gtkmm3.git/blame - gtkmm3.spec
- updated to 3.24.7
[packages/gtkmm3.git] / gtkmm3.spec
CommitLineData
33bee831
AF
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
222a6ef9 4
928477ea 5%define atkmm_ver 2.24.2
7c2001a4
JB
6%define glibmm_ver 2.54.0
7%define gtk3_ver 3.24.0
928477ea 8%define pangomm_ver 2.38.2
33bee831
AF
9Summary: A C++ interface for the GTK+ (a GUI library for X)
10Summary(pl.UTF-8): Wrapper C++ dla GTK+
11Name: gtkmm3
dac66963 12Version: 3.24.7
70058bc0 13Release: 1
33bee831
AF
14License: LGPL v2+
15Group: X11/Libraries
c6e33ff3 16Source0: https://download.gnome.org/sources/gtkmm/3.24/gtkmm-%{version}.tar.xz
dac66963 17# Source0-md5: 9576353c26db5e273a074264b68ad6cf
7c1d0224 18URL: https://www.gtkmm.org/
928477ea 19BuildRequires: atkmm-devel >= %{atkmm_ver}
33bee831 20BuildRequires: autoconf >= 2.59
31a8d119 21BuildRequires: automake >= 1:1.11
70058bc0 22BuildRequires: cairomm-devel >= 1.12.0
c6e33ff3 23BuildRequires: doxygen >= 1:1.8.9
ef8910d5 24BuildRequires: gdk-pixbuf2-devel >= 2.36.0
e34bbb24 25BuildRequires: glibmm-devel >= %{glibmm_ver}
a4ed03e8 26BuildRequires: gtk+3-devel >= %{gtk3_ver}
70058bc0 27BuildRequires: libepoxy-devel >= 1.2
33bee831 28BuildRequires: libsigc++-devel
4f3647ae 29BuildRequires: libstdc++-devel >= 6:4.7
e3273d66 30BuildRequires: libtool >= 2:2.0
928477ea
JB
31BuildRequires: mm-common >= 0.9.10
32BuildRequires: pangomm-devel >= %{pangomm_ver}
33bee831
AF
33BuildRequires: perl-base >= 1:5.6.0
34BuildRequires: pkgconfig
ff26e432 35BuildRequires: rpm-build >= 4.6
c6e33ff3 36BuildRequires: rpmbuild(macros) >= 1.752
e3273d66
JB
37BuildRequires: tar >= 1:1.22
38BuildRequires: xz
928477ea 39Requires: atkmm >= %{atkmm_ver}
70058bc0 40Requires: cairomm >= 1.12.0
ef8910d5 41Requires: gdk-pixbuf2 >= 2.36.0
e34bbb24 42Requires: glibmm >= %{glibmm_ver}
a4ed03e8 43Requires: gtk+3 >= %{gtk3_ver}
928477ea 44Requires: pangomm >= %{pangomm_ver}
33bee831
AF
45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47%description
48This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
49library. The interface provides a convenient interface for C++
50programmers to create GUIs with GTK+'s flexible object-oriented
51framework. Features include type safe callbacks, widgets that are
52extensible using inheritance and over 110 classes that can be freely
53combined to quickly create complex user interfaces.
54
55%description -l pl.UTF-8
56gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
57służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
58także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit).
59
60%package devel
61Summary: gtkmm and gdkmm header files
62Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm
63Group: X11/Development/Libraries
64Requires: %{name} = %{version}-%{release}
928477ea 65Requires: atkmm-devel >= %{atkmm_ver}
70058bc0 66Requires: cairomm-devel >= 1.12.0
ef8910d5 67Requires: gdk-pixbuf2-devel >= 2.36.0
e34bbb24 68Requires: glibmm-devel >= %{glibmm_ver}
a4ed03e8 69Requires: gtk+3-devel >= %{gtk3_ver}
70058bc0 70Requires: libstdc++-devel >= 6:4.6
928477ea 71Requires: pangomm-devel >= %{pangomm_ver}
33bee831
AF
72
73%description devel
74Header files for gtkmm library.
75
76%description devel -l pl.UTF-8
77Pliki nagłówkowe biblioteki gtkmm.
78
79%package static
80Summary: gtkmm and gdkmm static libraries
81Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm
82Group: X11/Development/Libraries
83Requires: %{name}-devel = %{version}-%{release}
84
85%description static
86gtkmm and gdkmm static libraries.
87
88%description static -l pl.UTF-8
89Biblioteki statyczne gtkmm i gdkmm.
90
91%package apidocs
92Summary: Reference documentation for gtkmm and gdkmm
93Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm
94Group: Documentation
95Requires: devhelp
128e601f 96BuildArch: noarch
33bee831
AF
97
98%description apidocs
99Reference documentation for gtkmm and gdkmm.
100
101%description apidocs -l pl.UTF-8
102Szczegółowa dokumentacja gtkmm i gdkmm.
103
104%prep
105%setup -q -n gtkmm-%{version}
106
c6e33ff3
JB
107# missing in release tarball, not needed for Linux
108mkdir win32_installer
109touch win32_installer/filelist.am \
110 win32_installer/gtkmm-installer.nsi.in
111
33bee831 112%build
c6e33ff3 113mm-common-prepare --copy --force
33bee831
AF
114%{__libtoolize}
115%{__aclocal} -I build
116%{__autoconf}
117%{__autoheader}
118%{__automake}
119%configure \
c6e33ff3 120 --enable-maintainer-mode \
ef8910d5 121 --disable-silent-rules \
33bee831
AF
122 %{?with_static_libs:--enable-static}
123
124%{__make}
125
126%install
127rm -rf $RPM_BUILD_ROOT
128
129%{__make} install \
130 DESTDIR=$RPM_BUILD_ROOT
131
132%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
133
134%clean
135rm -rf $RPM_BUILD_ROOT
136
137%post -p /sbin/ldconfig
138%postun -p /sbin/ldconfig
139
140%files
141%defattr(644,root,root,755)
3f8d9ad2 142%doc AUTHORS ChangeLog NEWS README
33bee831
AF
143%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so.*.*.*
144%attr(755,root,root) %ghost %{_libdir}/libgdkmm-3.0.so.1
145%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so.*.*.*
146%attr(755,root,root) %ghost %{_libdir}/libgtkmm-3.0.so.1
147
148%files devel
149%defattr(644,root,root,755)
150%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so
151%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so
152%{_libdir}/gdkmm-3.0
153%{_libdir}/gtkmm-3.0
154%{_includedir}/gdkmm-3.0
155%{_includedir}/gtkmm-3.0
156%{_pkgconfigdir}/gdkmm-3.0.pc
157%{_pkgconfigdir}/gtkmm-3.0.pc
158
159%if %{with static_libs}
160%files static
161%defattr(644,root,root,755)
162%{_libdir}/libgdkmm-3.0.a
163%{_libdir}/libgtkmm-3.0.a
164%endif
165
166%files apidocs
167%defattr(644,root,root,755)
168%{_docdir}/gtkmm-3.0
169%{_datadir}/devhelp/books/gtkmm-3.0
This page took 0.082923 seconds and 4 git commands to generate.