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