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