]> git.pld-linux.org Git - packages/gtkmm-documentation.git/blob - gtkmm-documentation.spec
- new
[packages/gtkmm-documentation.git] / gtkmm-documentation.spec
1 %define         glibmm_ver      2.24.0
2 %define         gtkmm_ver       2.24.0
3 Summary:        Documentation and examples for gtkmm - C++ API for GTK+
4 Summary(pl.UTF-8):      Dokumentacja i przykłady do gtkmm - API C++ dla GTK+
5 Name:           gtkmm-documentation
6 Version:        2.24.1
7 Release:        1
8 License:        FDL v1.2+ (documentation), GPL v2 (examples)
9 Group:          Documentation
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm-documentation/2.24/%{name}-%{version}.tar.bz2
11 # Source0-md5:  2fcf511c949e8bfd2ff4c05b6cfc3b3b
12 URL:            http://www.gtkmm.org/
13 #BuildRequires: autoconf >= 2.59
14 #BuildRequires: automake >= 1:1.11
15 BuildRequires:  docbook-dtd45-xml
16 BuildRequires:  glibmm-devel >= %{glibmm_ver}
17 BuildRequires:  gnome-doc-utils >= 0.9.0
18 BuildRequires:  gtkmm-devel >= %{gtkmm_ver}
19 BuildRequires:  libstdc++-devel >= 5:3.3.1
20 BuildRequires:  mm-common
21 BuildRequires:  perl-base >= 1:5.6.0
22 BuildRequires:  pkgconfig
23 Requires:       gtkmm-apidocs >= %{gtkmm_ver}
24 Suggests:       glibmm-devel >= %{glibmm_ver}
25 Suggests:       gtkmm-devel >= %{gtkmm_ver}
26 # common gnome/help/gtkmm-tutorial namespace
27 Conflicts:      gtkmm3-documentation
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This package contains the documentation and example programs for
32 gtkmm 2.x - C++ API for GTK+ 2.x.
33
34 %description -l pl.UTF-8
35 Ten pakiet zawiera dokumentację oraz programy przykładowe do
36 gtkmm 2.x - API C++ dla GTK+ 2.x.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_examplesdir}/gtkmm-%{version}
53 cp -pr examples/{book,others,README} $RPM_BUILD_ROOT%{_examplesdir}/gtkmm-%{version}
54
55 %find_lang gtkmm-tutorial --with-gnome
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f gtkmm-tutorial.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog NEWS README
63 %{_docdir}/gtkmm-2.4/tutorial
64 %{_examplesdir}/gtkmm-%{version}
This page took 0.068012 seconds and 3 git commands to generate.