]> git.pld-linux.org Git - packages/gtkmm.git/blame - gtkmm.spec
- ver. 2.20.0
[packages/gtkmm.git] / gtkmm.spec
CommitLineData
90b3ced0 1#
1dd40fb4 2# Conditional build:
60a028b3 3%bcond_without static_libs # don't build static libraries
1dd40fb4 4#
278ef977 5Summary: A C++ interface for the GTK+ (a GUI library for X)
905c154a 6Summary(pl.UTF-8): Wrapper C++ dla GTK+
acc2f792 7Name: gtkmm
b5d73385 8Version: 2.20.0
4f6e4d0a 9Release: 1
6359a28a 10License: LGPL v2+
278ef977 11Group: X11/Libraries
b5d73385
SS
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.20/%{name}-%{version}.tar.bz2
13# Source0-md5: c0cb0ea5bc1ab511d9b2461083f0445f
4f29de1f
MB
14URL: http://www.gtkmm.org/
15BuildRequires: atk-devel >= 1:1.24.0
226c76a3 16BuildRequires: autoconf >= 2.59
9eee3f7a 17BuildRequires: automake >= 1:1.9
4f29de1f 18BuildRequires: cairomm-devel >= 1.6.3
b5d73385 19BuildRequires: glibmm-devel >= 2.24
4f6e4d0a
MB
20BuildRequires: gtk+2-devel >= 2:2.18.0
21BuildRequires: libsigc++-devel
4e6da451
JB
22BuildRequires: libstdc++-devel >= 5:3.3.1
23BuildRequires: libtool >= 2:1.4d-3
4f6e4d0a
MB
24BuildRequires: mm-common >= 0.8
25BuildRequires: pangomm-devel >= 2.26.0
955787e1 26BuildRequires: perl-base >= 1:5.6.0
4943058e 27BuildRequires: pkgconfig
bbb47ce3 28Requires: %{name}-atk = %{version}-%{release}
4f29de1f 29Requires: cairomm >= 1.6.3
4f6e4d0a
MB
30Requires: glibmm >= 2.22.0
31Requires: gtk+2 >= 2:2.18.0
32Requires: pangomm >= 2.26.0
1a64a6f8 33Obsoletes: Gtk--
de64e231 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
278ef977 35
278ef977 36%description
37This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
01a7bdfa 38library. The interface provides a convenient interface for C++
39programmers to create GUIs with GTK+'s flexible object-oriented
40framework. Features include type safe callbacks, widgets that are
41extensible using inheritance and over 110 classes that can be freely
42combined to quickly create complex user interfaces.
72db5a87 43
1a41207d 44%description -l pl.UTF-8
4f29de1f 45gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
1a41207d 46służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
4f29de1f 47także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit).
278ef977 48
278ef977 49%package devel
4f29de1f
MB
50Summary: gtkmm and gdkmm header files
51Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm
278ef977 52Group: X11/Development/Libraries
bbb47ce3
JB
53Requires: %{name} = %{version}-%{release}
54Requires: %{name}-atk-devel = %{version}-%{release}
4f6e4d0a
MB
55Requires: glibmm-devel >= 2.22.0
56Requires: gtk+2-devel >= 2:2.18.0
57Requires: pangomm-devel >= 2.26.0
278ef977 58
59%description devel
4f29de1f 60Header files for gtkmm library.
278ef977 61
1a41207d 62%description devel -l pl.UTF-8
4f29de1f 63Pliki nagłówkowe biblioteki gtkmm.
278ef977 64
4e6da451 65%package doc
4f29de1f
MB
66Summary: Reference documentation for gtkmm and gdkmm
67Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm
4e6da451 68Group: Documentation
74471689 69Requires: devhelp
4e6da451
JB
70
71%description doc
4f29de1f 72Reference documentation for gtkmm and gdkmm.
4e6da451 73
1a41207d 74%description doc -l pl.UTF-8
4f29de1f 75Szczegółowa dokumentacja gtkmm i gdkmm.
4e6da451 76
278ef977 77%package static
4f29de1f
MB
78Summary: gtkmm and gdkmm static libraries
79Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm
278ef977 80Group: X11/Development/Libraries
bbb47ce3 81Requires: %{name}-devel = %{version}-%{release}
278ef977 82
83%description static
4f29de1f 84gtkmm and gdkmm static libraries.
278ef977 85
1a41207d 86%description static -l pl.UTF-8
4f29de1f 87Biblioteki statyczne gtkmm i gdkmm.
278ef977 88
1ffe23b3 89%package atk
90Summary: A C++ interface for atk library
905c154a 91Summary(pl.UTF-8): Interfejs C++ dla biblioteki atk
4f29de1f
MB
92Group: X11/Libraries
93Requires: atk >= 1:1.24.0
4f6e4d0a 94Requires: glibmm >= 2.22.0
1ffe23b3 95
96%description atk
97A C++ interface for atk library.
98
1a41207d 99%description atk -l pl.UTF-8
1ffe23b3 100Interfejs C++ dla biblioteki atk.
101
102%package atk-devel
103Summary: A C++ interface for atk library - header files
905c154a 104Summary(pl.UTF-8): Interfejs C++ dla biblioteki atk - pliki nagłówkowe
1ffe23b3 105Group: X11/Development/Libraries
bbb47ce3 106Requires: %{name}-atk = %{version}-%{release}
4f29de1f 107Requires: atk-devel >= 1:1.24.0
4f6e4d0a 108Requires: glibmm-devel >= 2.22.0
1ffe23b3 109
110%description atk-devel
111A C++ interface for atk library - header files.
112
1a41207d
JR
113%description atk-devel -l pl.UTF-8
114Interfejs C++ dla biblioteki atk - pliki nagłówkowe.
1ffe23b3 115
116%package atk-static
117Summary: A C++ interface for atk library - static version
905c154a 118Summary(pl.UTF-8): Interfejs C++ dla biblioteki atk - wersja statyczna
1ffe23b3 119Group: X11/Development/Libraries
bbb47ce3 120Requires: %{name}-atk-devel = %{version}-%{release}
1ffe23b3 121
122%description atk-static
123A C++ interface for atk library - static version.
124
1a41207d 125%description atk-static -l pl.UTF-8
1ffe23b3 126Interfejs C++ dla biblioteki atk - wersja statyczna.
127
278ef977 128%prep
de64e231 129%setup -q
278ef977 130
131%build
e71dcfa2 132%{__libtoolize}
4f6e4d0a 133%{__aclocal} -I build
e71dcfa2 134%{__autoconf}
1ffe23b3 135%{__automake}
18e0a21e 136%configure \
9eee3f7a 137 --disable-demos \
9eee3f7a
JB
138 %{?with_static_libs:--enable-static}
139
bb0726fc 140%{__make}
278ef977 141
142%install
143rm -rf $RPM_BUILD_ROOT
278ef977 144
78d9c2f6 145%{__make} install \
4f29de1f 146 DESTDIR=$RPM_BUILD_ROOT
e71dcfa2 147
278ef977 148%clean
149rm -rf $RPM_BUILD_ROOT
150
3b76984a
JB
151%post -p /sbin/ldconfig
152%postun -p /sbin/ldconfig
153
de64e231 154%post atk -p /sbin/ldconfig
155%postun atk -p /sbin/ldconfig
1ffe23b3 156
278ef977 157%files
158%defattr(644,root,root,755)
4f6e4d0a 159%doc AUTHORS ChangeLog NEWS PORTING README
347c9021
JB
160%attr(755,root,root) %{_libdir}/libgdkmm-2.4.so.*.*.*
161%attr(755,root,root) %ghost %{_libdir}/libgdkmm-2.4.so.1
162%attr(755,root,root) %{_libdir}/libgtkmm-2.4.so.*.*.*
163%attr(755,root,root) %ghost %{_libdir}/libgtkmm-2.4.so.1
278ef977 164
278ef977 165%files devel
166%defattr(644,root,root,755)
347c9021
JB
167%attr(755,root,root) %{_libdir}/libgdkmm-2.4.so
168%attr(755,root,root) %{_libdir}/libgtkmm-2.4.so
169%{_libdir}/libgdkmm-2.4.la
170%{_libdir}/libgtkmm-2.4.la
171%{_libdir}/gdkmm-2.4
172%{_libdir}/gtkmm-2.4
173%{_includedir}/gdkmm-2.4
174%{_includedir}/gtkmm-2.4
175%{_pkgconfigdir}/gdkmm-2.4.pc
176%{_pkgconfigdir}/gtkmm-2.4.pc
4e6da451
JB
177
178%files doc
179%defattr(644,root,root,755)
347c9021
JB
180%{_docdir}/gtkmm-2.4
181%{_datadir}/devhelp/books/gtkmm-2.4
278ef977 182
60a028b3 183%if %{with static_libs}
278ef977 184%files static
01a7bdfa 185%defattr(644,root,root,755)
347c9021
JB
186%{_libdir}/libgdkmm-2.4.a
187%{_libdir}/libgtkmm-2.4.a
391e5b8f 188%endif
1ffe23b3 189
190%files atk
191%defattr(644,root,root,755)
347c9021
JB
192%attr(755,root,root) %{_libdir}/libatkmm-1.6.so.*.*.*
193%attr(755,root,root) %ghost %{_libdir}/libatkmm-1.6.so.1
1ffe23b3 194
195%files atk-devel
196%defattr(644,root,root,755)
347c9021
JB
197%attr(755,root,root) %{_libdir}/libatkmm-1.6.so
198%{_libdir}/libatkmm-1.6.la
199%{_pkgconfigdir}/atkmm-1.6.pc
74471689 200%{_includedir}/atkmm-1.6
1ffe23b3 201
60a028b3 202%if %{with static_libs}
1ffe23b3 203%files atk-static
204%defattr(644,root,root,755)
347c9021 205%{_libdir}/libatkmm-1.6.a
391e5b8f 206%endif
This page took 0.0964 seconds and 4 git commands to generate.