]> git.pld-linux.org Git - packages/gtkmm4.git/blame - gtkmm3.spec
- updated to 3.22.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 5%define atkmm_ver 2.24.2
ef8910d5
JB
6%define glibmm_ver 2.50.0
7%define gtk3_ver 3.22.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
c7cf39fb 12Version: 3.22.1
70058bc0 13Release: 1
33bee831
AF
14License: LGPL v2+
15Group: X11/Libraries
ef8910d5 16Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.22/gtkmm-%{version}.tar.xz
c7cf39fb 17# Source0-md5: 183079917fbe78e5aef204d5e52eafc1
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
ef8910d5 23BuildRequires: gdk-pixbuf2-devel >= 2.36.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
ef8910d5 38Requires: gdk-pixbuf2 >= 2.36.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
ef8910d5 64Requires: gdk-pixbuf2-devel >= 2.36.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 \
ef8910d5 113 --disable-silent-rules \
33bee831
AF
114 %{?with_static_libs:--enable-static}
115
116%{__make}
117
118%install
119rm -rf $RPM_BUILD_ROOT
120
121%{__make} install \
122 DESTDIR=$RPM_BUILD_ROOT
123
124%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
125
126%clean
127rm -rf $RPM_BUILD_ROOT
128
129%post -p /sbin/ldconfig
130%postun -p /sbin/ldconfig
131
132%files
133%defattr(644,root,root,755)
134%doc AUTHORS ChangeLog NEWS PORTING README
135%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so.*.*.*
136%attr(755,root,root) %ghost %{_libdir}/libgdkmm-3.0.so.1
137%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so.*.*.*
138%attr(755,root,root) %ghost %{_libdir}/libgtkmm-3.0.so.1
139
140%files devel
141%defattr(644,root,root,755)
142%attr(755,root,root) %{_libdir}/libgdkmm-3.0.so
143%attr(755,root,root) %{_libdir}/libgtkmm-3.0.so
144%{_libdir}/gdkmm-3.0
145%{_libdir}/gtkmm-3.0
146%{_includedir}/gdkmm-3.0
147%{_includedir}/gtkmm-3.0
148%{_pkgconfigdir}/gdkmm-3.0.pc
149%{_pkgconfigdir}/gtkmm-3.0.pc
150
151%if %{with static_libs}
152%files static
153%defattr(644,root,root,755)
154%{_libdir}/libgdkmm-3.0.a
155%{_libdir}/libgtkmm-3.0.a
156%endif
157
158%files apidocs
159%defattr(644,root,root,755)
160%{_docdir}/gtkmm-3.0
161%{_datadir}/devhelp/books/gtkmm-3.0
This page took 0.142103 seconds and 4 git commands to generate.