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