[4616] | 1 | %define ver 3.0 |
---|
| 2 | |
---|
| 3 | Summary: A C++ interface for the GTK+ (a GUI library for X). |
---|
| 4 | Summary(ja): GTK+ の C++ インターフェイス |
---|
| 5 | Name: gtkmm3 |
---|
[12528] | 6 | Version: 3.24.3 |
---|
[4616] | 7 | Release: 1%{?_dist_release} |
---|
[12528] | 8 | Group: system |
---|
[12444] | 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | |
---|
[4616] | 12 | License: LGPL |
---|
[12444] | 13 | URL: https://www.gtkmm.org/ |
---|
| 14 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
| 15 | Source: https://download.gnome.org/sources/gtkmm/%{shortver}/gtkmm-%{version}.tar.xz |
---|
[4616] | 16 | |
---|
[12528] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: meson |
---|
[6933] | 19 | BuildRequires: glibmm-devel >= 2.33.13 |
---|
[4616] | 20 | BuildRequires: cairomm-devel |
---|
[6933] | 21 | BuildRequires: pangomm-devel >= 2.27.1 |
---|
[4616] | 22 | BuildRequires: atkmm-devel |
---|
[6933] | 23 | BuildRequires: gtk3-devel >= 3.6.0 |
---|
[4616] | 24 | BuildRequires: libsigc++-devel >= 2.0.0 |
---|
[6890] | 25 | BuildRequires: doxygen |
---|
[12528] | 26 | Requires: glibmm >= 2.33.13 |
---|
| 27 | Requires: pangomm >= 2.27.1 |
---|
| 28 | Requires: atk >= 1.9.0 |
---|
| 29 | Requires: gtk3 >= 3.6.0 |
---|
[4616] | 30 | |
---|
| 31 | %description |
---|
| 32 | gtkmm (previously known as Gtk--) is the official C++ interface for the |
---|
| 33 | popular GUI library GTK+. Highlights include typesafe callbacks, widgets |
---|
| 34 | extensible via inheritance and a comprehensive set of widget classes that |
---|
| 35 | can be freely combined to quickly create complex user interfaces. |
---|
| 36 | |
---|
| 37 | The gtkmm devel package contains the static libraries and header files |
---|
| 38 | needed for developing GTK+ (GIMP ToolKit) applications in C++. |
---|
| 39 | |
---|
| 40 | |
---|
[12528] | 41 | %package devel |
---|
| 42 | Summary: Development tools for gtkmm applications. |
---|
| 43 | Summary(ja): gtkmm アプリケーションの開発用ファイル |
---|
| 44 | Group: programming |
---|
[4616] | 45 | Requires: %{name} = %{version} |
---|
[6933] | 46 | Requires: gtk3-devel >= 3.6.0 |
---|
| 47 | Requires: glibmm-devel >= 2.33.13 |
---|
[4616] | 48 | Requires: cairomm-devel |
---|
[6933] | 49 | Requires: pangomm-devel >= 2.27.1 |
---|
[4616] | 50 | |
---|
| 51 | %description devel |
---|
| 52 | This package contains the headers that programmers will need to develop |
---|
| 53 | applications which will use Gtk--, the C++ interface to the GTK+ |
---|
| 54 | (the Gimp ToolKit) GUI library. |
---|
| 55 | |
---|
[12444] | 56 | |
---|
[12528] | 57 | %debug_package |
---|
| 58 | |
---|
| 59 | |
---|
[4616] | 60 | %prep |
---|
| 61 | %setup -q -n gtkmm-%{version} |
---|
| 62 | |
---|
[12444] | 63 | |
---|
[4616] | 64 | %build |
---|
[12528] | 65 | %meson \ |
---|
| 66 | -Dmaintainer-mode=false \ |
---|
| 67 | -Dbuild-documentation=true \ |
---|
| 68 | -Dbuild-demos=false \ |
---|
| 69 | -Dbuild-tests=false |
---|
[4616] | 70 | |
---|
[12528] | 71 | %meson_build |
---|
[12444] | 72 | |
---|
[12528] | 73 | |
---|
[4616] | 74 | %install |
---|
[12444] | 75 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
[4616] | 76 | |
---|
[12528] | 77 | %meson_install |
---|
[4616] | 78 | |
---|
[12444] | 79 | find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' |
---|
[4616] | 80 | |
---|
| 81 | # Fix documentation installation, put everything under gtk-doc |
---|
[12444] | 82 | mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver} |
---|
| 83 | mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver}/ |
---|
[4616] | 84 | |
---|
| 85 | # devhelp path fix |
---|
[12444] | 86 | sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' %{buildroot}%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2 |
---|
[4616] | 87 | |
---|
| 88 | # remove demos, examples |
---|
[12444] | 89 | rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/demo |
---|
| 90 | rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/examples |
---|
[4616] | 91 | |
---|
[12444] | 92 | |
---|
[4616] | 93 | %post -p /sbin/ldconfig |
---|
| 94 | %postun -p /sbin/ldconfig |
---|
| 95 | |
---|
[12444] | 96 | |
---|
[4616] | 97 | %clean |
---|
[12444] | 98 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
[4616] | 99 | |
---|
[12444] | 100 | |
---|
[4616] | 101 | %files |
---|
| 102 | %defattr(-, root, root) |
---|
[12444] | 103 | %license COPYING |
---|
| 104 | %doc AUTHORS ChangeLog NEWS README |
---|
[4616] | 105 | %{_libdir}/lib*.so.* |
---|
| 106 | |
---|
| 107 | %files devel |
---|
| 108 | %defattr(-, root, root) |
---|
| 109 | %{_includedir}/* |
---|
| 110 | #{_libdir}/*.la |
---|
| 111 | #{_libdir}/*.a |
---|
| 112 | %{_libdir}/*.so |
---|
| 113 | %{_libdir}/gtkmm-* |
---|
| 114 | %{_libdir}/gdkmm-* |
---|
| 115 | %{_libdir}/pkgconfig/*.pc |
---|
| 116 | |
---|
| 117 | %{_datadir}/gtk-doc/html/* |
---|
| 118 | %{_datadir}/devhelp/books/* |
---|
| 119 | |
---|
[12444] | 120 | |
---|
[4616] | 121 | %changelog |
---|
[12528] | 122 | * Fri Feb 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.3-1 |
---|
| 123 | - new upstream release. |
---|
| 124 | |
---|
[12444] | 125 | * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.2-1 |
---|
| 126 | - new upstream release. |
---|
| 127 | |
---|
[12005] | 128 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.3-1 |
---|
| 129 | - new upstream release. |
---|
| 130 | |
---|
[10716] | 131 | * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[10413] | 134 | * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[9791] | 137 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[9475] | 140 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[9073] | 143 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[8369] | 146 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
[7978] | 149 | * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
[7681] | 152 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
[6984] | 155 | * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 156 | - new upstream release |
---|
| 157 | |
---|
[6933] | 158 | * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
[7681] | 161 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1 |
---|
[6890] | 162 | - new upstream release |
---|
| 163 | - add BuildRequires: doxygen |
---|
| 164 | |
---|
[6078] | 165 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
[6011] | 166 | - new upstream release |
---|
| 167 | |
---|
[4850] | 168 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[4812] | 171 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[4704] | 174 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[4616] | 177 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1 |
---|
| 178 | - initial build for Vine Linux |
---|
| 179 | |
---|