]> git.pld-linux.org Git - packages/gtkmm.git/blame - gtkmm.spec
- updated to 2.24.4, note: 2.24.3 was broken
[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
2ac07ed1 8Version: 2.24.4
9e41f1f5 9Release: 1
6359a28a 10License: LGPL v2+
278ef977 11Group: X11/Libraries
434d8da2 12Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/%{name}-%{version}.tar.xz
2ac07ed1 13# Source0-md5: b9ac60c90959a71095f07f84dd39961d
4f29de1f 14URL: http://www.gtkmm.org/
612f6884 15BuildRequires: atkmm-devel >= 2.22.2
226c76a3 16BuildRequires: autoconf >= 2.59
9eee3f7a 17BuildRequires: automake >= 1:1.9
9370bb1f 18BuildRequires: cairomm-devel >= 1.6.3
ad88aad8 19BuildRequires: glibmm-devel >= 2.28.0
9370bb1f 20BuildRequires: gtk+2-devel >= 2:2.24.0
4f6e4d0a 21BuildRequires: libsigc++-devel
4e6da451
JB
22BuildRequires: libstdc++-devel >= 5:3.3.1
23BuildRequires: libtool >= 2:1.4d-3
ad88aad8 24BuildRequires: mm-common >= 0.9.5
9e41f1f5 25BuildRequires: pangomm-devel >= 2.28.0
955787e1 26BuildRequires: perl-base >= 1:5.6.0
4943058e 27BuildRequires: pkgconfig
434d8da2
JB
28BuildRequires: tar >= 1:1.22
29BuildRequires: xz
612f6884 30Requires: atkmm >= 2.22.2
9370bb1f 31Requires: cairomm >= 1.6.3
ad88aad8 32Requires: glibmm >= 2.28.0
434d8da2 33Requires: gtk+2 >= 2:2.24.0
9e41f1f5 34Requires: pangomm >= 2.28.0
1a64a6f8 35Obsoletes: Gtk--
de64e231 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
278ef977 37
278ef977 38%description
39This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
01a7bdfa 40library. The interface provides a convenient interface for C++
41programmers to create GUIs with GTK+'s flexible object-oriented
42framework. Features include type safe callbacks, widgets that are
43extensible using inheritance and over 110 classes that can be freely
44combined to quickly create complex user interfaces.
72db5a87 45
1a41207d 46%description -l pl.UTF-8
4f29de1f 47gtkmm jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest biblioteką
1a41207d 48służącą do tworzenia graficznych interfejsów. W pakiecie znajduje się
4f29de1f 49także biblioteka gdkmm - wrapper C++ dla GDK (General Drawing Kit).
278ef977 50
278ef977 51%package devel
4f29de1f
MB
52Summary: gtkmm and gdkmm header files
53Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm
278ef977 54Group: X11/Development/Libraries
bbb47ce3 55Requires: %{name} = %{version}-%{release}
612f6884 56Requires: atkmm-devel >= 2.22.2
ad88aad8 57Requires: glibmm-devel >= 2.28.0
434d8da2 58Requires: gtk+2-devel >= 2:2.24.0
9e41f1f5 59Requires: pangomm-devel >= 2.28.0
278ef977 60
61%description devel
4f29de1f 62Header files for gtkmm library.
278ef977 63
1a41207d 64%description devel -l pl.UTF-8
4f29de1f 65Pliki nagłówkowe biblioteki gtkmm.
278ef977 66
67%package static
4f29de1f
MB
68Summary: gtkmm and gdkmm static libraries
69Summary(pl.UTF-8): Biblioteki statyczne gtkmm i gdkmm
278ef977 70Group: X11/Development/Libraries
bbb47ce3 71Requires: %{name}-devel = %{version}-%{release}
278ef977 72
73%description static
4f29de1f 74gtkmm and gdkmm static libraries.
278ef977 75
1a41207d 76%description static -l pl.UTF-8
4f29de1f 77Biblioteki statyczne gtkmm i gdkmm.
278ef977 78
9e41f1f5
AF
79%package apidocs
80Summary: Reference documentation for gtkmm and gdkmm
81Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm
82Group: Documentation
83Requires: devhelp
84Obsoletes: gtkmm-doc
85
86%description apidocs
87Reference documentation for gtkmm and gdkmm.
88
89%description apidocs -l pl.UTF-8
90Szczegółowa dokumentacja gtkmm i gdkmm.
91
278ef977 92%prep
de64e231 93%setup -q
278ef977 94
95%build
e71dcfa2 96%{__libtoolize}
4f6e4d0a 97%{__aclocal} -I build
e71dcfa2 98%{__autoconf}
a02fb2b8 99%{__autoheader}
1ffe23b3 100%{__automake}
18e0a21e 101%configure \
9eee3f7a
JB
102 %{?with_static_libs:--enable-static}
103
bb0726fc 104%{__make}
278ef977 105
106%install
107rm -rf $RPM_BUILD_ROOT
278ef977 108
78d9c2f6 109%{__make} install \
4f29de1f 110 DESTDIR=$RPM_BUILD_ROOT
e71dcfa2 111
7c712ff0 112%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
113
278ef977 114%clean
115rm -rf $RPM_BUILD_ROOT
116
3b76984a
JB
117%post -p /sbin/ldconfig
118%postun -p /sbin/ldconfig
119
278ef977 120%files
121%defattr(644,root,root,755)
4f6e4d0a 122%doc AUTHORS ChangeLog NEWS PORTING README
9370bb1f 123%attr(755,root,root) %{_libdir}/libgdkmm-2.4.so.*.*.*
124%attr(755,root,root) %ghost %{_libdir}/libgdkmm-2.4.so.1
125%attr(755,root,root) %{_libdir}/libgtkmm-2.4.so.*.*.*
126%attr(755,root,root) %ghost %{_libdir}/libgtkmm-2.4.so.1
278ef977 127
278ef977 128%files devel
129%defattr(644,root,root,755)
9370bb1f 130%attr(755,root,root) %{_libdir}/libgdkmm-2.4.so
131%attr(755,root,root) %{_libdir}/libgtkmm-2.4.so
132%{_libdir}/gdkmm-2.4
133%{_libdir}/gtkmm-2.4
134%{_includedir}/gdkmm-2.4
135%{_includedir}/gtkmm-2.4
136%{_pkgconfigdir}/gdkmm-2.4.pc
137%{_pkgconfigdir}/gtkmm-2.4.pc
4e6da451 138
60a028b3 139%if %{with static_libs}
278ef977 140%files static
01a7bdfa 141%defattr(644,root,root,755)
9370bb1f 142%{_libdir}/libgdkmm-2.4.a
143%{_libdir}/libgtkmm-2.4.a
391e5b8f 144%endif
9e41f1f5
AF
145
146%files apidocs
147%defattr(644,root,root,755)
9370bb1f 148%{_docdir}/gtkmm-2.4
149%{_datadir}/devhelp/books/gtkmm-2.4
This page took 0.096752 seconds and 4 git commands to generate.