X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gtkmm3.spec;h=ace7a92f59f5628f5b3bcbd656588d0eb3a62848;hb=ff26e432d632dfd8ac4976fd30d9a12dc31de701;hp=67a1a190eb42221d6b561f99133441720659b8be;hpb=31a8d1196de541da3cc9c60c8ff0ea56d3629b08;p=packages%2Fgtkmm3.git diff --git a/gtkmm3.spec b/gtkmm3.spec index 67a1a19..ace7a92 100644 --- a/gtkmm3.spec +++ b/gtkmm3.spec @@ -1,35 +1,47 @@ # # Conditional build: %bcond_without static_libs # don't build static libraries -# + +%define atkmm_ver 2.24.2 +%define glibmm_ver 2.54.0 +%define gtk3_ver 3.24.0 +%define pangomm_ver 2.38.2 Summary: A C++ interface for the GTK+ (a GUI library for X) Summary(pl.UTF-8): Wrapper C++ dla GTK+ Name: gtkmm3 -Version: 3.0.0 +Version: 3.24.5 Release: 1 License: LGPL v2+ Group: X11/Libraries -Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.0/gtkmm-%{version}.tar.bz2 -# Source0-md5: 90bb087152a3214c2cc348aa04f917c3 -URL: http://www.gtkmm.org/ -BuildRequires: atkmm-devel >= 2.22.2 +Source0: https://download.gnome.org/sources/gtkmm/3.24/gtkmm-%{version}.tar.xz +# Source0-md5: 27af20542aaeb8a31a2ebaa267244bdb +URL: https://www.gtkmm.org/ +BuildRequires: atkmm-devel >= %{atkmm_ver} BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.11 -BuildRequires: cairomm-devel >= 1.9.2 -BuildRequires: gdk-pixbuf2-devel >= 2.22.1 -BuildRequires: glibmm-devel >= 2.28.0 -BuildRequires: gtk+3-devel >= 3.0.0 +BuildRequires: cairomm-devel >= 1.12.0 +BuildRequires: doxygen >= 1:1.8.9 +BuildRequires: gdk-pixbuf2-devel >= 2.36.0 +BuildRequires: glibmm-devel >= %{glibmm_ver} +BuildRequires: gtk+3-devel >= %{gtk3_ver} +BuildRequires: libepoxy-devel >= 1.2 BuildRequires: libsigc++-devel -BuildRequires: libstdc++-devel >= 5:3.3.1 -BuildRequires: libtool >= 2:1.4d-3 -BuildRequires: mm-common >= 0.9.3 -BuildRequires: pangomm-devel >= 2.28.0 +BuildRequires: libstdc++-devel >= 6:4.7 +BuildRequires: libtool >= 2:2.0 +BuildRequires: mm-common >= 0.9.10 +BuildRequires: pangomm-devel >= %{pangomm_ver} BuildRequires: perl-base >= 1:5.6.0 BuildRequires: pkgconfig -Requires: atkmm >= 2.22.2 -Requires: cairomm >= 1.9.2 -Requires: glibmm >= 2.28.0 -Requires: pangomm >= 2.28.0 +BuildRequires: rpm-build >= 4.6 +BuildRequires: rpmbuild(macros) >= 1.752 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +Requires: atkmm >= %{atkmm_ver} +Requires: cairomm >= 1.12.0 +Requires: gdk-pixbuf2 >= 2.36.0 +Requires: glibmm >= %{glibmm_ver} +Requires: gtk+3 >= %{gtk3_ver} +Requires: pangomm >= %{pangomm_ver} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -50,10 +62,13 @@ Summary: gtkmm and gdkmm header files Summary(pl.UTF-8): Pliki nagłówkowe gtkmm i gdkmm Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: atkmm-devel >= 2.22.2 -Requires: glibmm-devel >= 2.28.0 -Requires: gtk+3-devel >= 3.0.0 -Requires: pangomm-devel >= 2.28.0 +Requires: atkmm-devel >= %{atkmm_ver} +Requires: cairomm-devel >= 1.12.0 +Requires: gdk-pixbuf2-devel >= 2.36.0 +Requires: glibmm-devel >= %{glibmm_ver} +Requires: gtk+3-devel >= %{gtk3_ver} +Requires: libstdc++-devel >= 6:4.6 +Requires: pangomm-devel >= %{pangomm_ver} %description devel Header files for gtkmm library. @@ -78,6 +93,7 @@ Summary: Reference documentation for gtkmm and gdkmm Summary(pl.UTF-8): Szczegółowa dokumentacja gtkmm i gdkmm Group: Documentation Requires: devhelp +BuildArch: noarch %description apidocs Reference documentation for gtkmm and gdkmm. @@ -88,13 +104,21 @@ Szczegółowa dokumentacja gtkmm i gdkmm. %prep %setup -q -n gtkmm-%{version} +# missing in release tarball, not needed for Linux +mkdir win32_installer +touch win32_installer/filelist.am \ + win32_installer/gtkmm-installer.nsi.in + %build +mm-common-prepare --copy --force %{__libtoolize} %{__aclocal} -I build %{__autoconf} %{__autoheader} %{__automake} %configure \ + --enable-maintainer-mode \ + --disable-silent-rules \ %{?with_static_libs:--enable-static} %{__make} @@ -115,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS PORTING README +%doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_libdir}/libgdkmm-3.0.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libgdkmm-3.0.so.1 %attr(755,root,root) %{_libdir}/libgtkmm-3.0.so.*.*.*