diff --git a/wxGTK3-3_2.changes b/wxGTK3-3_2.changes index 59d2f72..78d1696 100644 --- a/wxGTK3-3_2.changes +++ b/wxGTK3-3_2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 15 18:26:37 UTC 2017 - jengelh@inai.de + +- Add a recommends from the wx base library to the language package. + ------------------------------------------------------------------- Sat Oct 21 10:39:27 UTC 2017 - martin.koegler@chello.at diff --git a/wxGTK3-3_2.spec b/wxGTK3-3_2.spec index a1ad393..497b5f6 100644 --- a/wxGTK3-3_2.spec +++ b/wxGTK3-3_2.spec @@ -17,20 +17,14 @@ Name: wxGTK3-3_2 -%define base_name wxWidgets -%define tarball_name wxWidgets +%define base_name wxWidgets-3_2 +%define tarball_name wxWidgets-3_2 %define variant suse %define sonum 4 Version: 3.1.1~2244 Release: 0 %define wx_minor 3.1 %define wx_micro 3.1.1 -# lang packages are exactly equal for all variants. Build it only once: -%if "%name" == "%base_name" -%define BUILD_LANG 1 -%else -%define BUILD_LANG 0 -%endif # build non-UI toolkit related packages %define base_packages 0 Summary: C++ Library for Cross-Platform Development @@ -45,7 +39,7 @@ Source5: wxWidgets-3_2-rpmlintrc Source6: wxpython-mkdiff.sh Patch1: soversion.diff Patch2: wxqt-compile.diff -BuildRoot: %_tmppath/%name-%version-build +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel BuildRequires: autoconf BuildRequires: cppunit-devel @@ -79,14 +73,13 @@ Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. %if %base_packages %package -n libwx_baseu-%variant%sonum Summary: wxWidgets Library -Group: System/Libraries # Name up to openSUSE 11.3 and up to wxGTK-2.8: +Group: System/Libraries Obsoletes: wxGTK <= %version.0 # Third party base package name: Obsoletes: wxWidgets < %version -# wxWidgets-lang requires wxWidgets. Provide them to fix dependencies: Provides: wxWidgets = %version -Recommends: %base_name-lang >= %version +Recommends: wxWidgets-lang >= 3.0 %description -n libwx_baseu-%variant%sonum Library for the wxWidgets cross-platform GUI. @@ -205,9 +198,6 @@ SDL Plugin for the wxWidgets cross-platform GUI. Summary: Everything needed for development with wxWidgets Group: Development/Libraries/C and C++ Requires: gtk%gtk_version-devel -Requires: libwx_baseu-%variant%sonum = %version -Requires: libwx_baseu_net-%variant%sonum = %version -Requires: libwx_baseu_xml-%variant%sonum = %version Requires: libwx_%{toolkit}u_adv-%variant%sonum = %version Requires: libwx_%{toolkit}u_aui-%variant%sonum = %version Requires: libwx_%{toolkit}u_core-%variant%sonum = %version @@ -219,11 +209,14 @@ Requires: libwx_%{toolkit}u_qa-%variant%sonum = %version Requires: libwx_%{toolkit}u_ribbon-%variant%sonum = %version Requires: libwx_%{toolkit}u_richtext-%variant%sonum = %version Requires: libwx_%{toolkit}u_stc-%variant%sonum = %version -Requires: pkgconfig(gl) Requires: libwx_%{toolkit}u_xrc-%variant%sonum = %version +Requires: libwx_baseu-%variant%sonum = %version +Requires: libwx_baseu_net-%variant%sonum = %version +Requires: libwx_baseu_xml-%variant%sonum = %version +Requires: pkgconfig(gl) Requires: pkgconfig(glu) -Provides: wxWidgets-experimental-devel = %version-%release Provides: wxGTK3-devel = %version-%release +Provides: wxWidgets-experimental-devel = %version-%release Conflicts: wxWidgets-devel Conflicts: otherproviders(wxWidgets-experimental-devel) @@ -237,10 +230,6 @@ This package contains all files needed for developing with wxGTK%gtk_version. Note: wxWidgets variant devel packages are mutually exclusive. Please read %_docdir/%name/README.SUSE to pick a correct variant. -%if %BUILD_LANG -%lang_package -n %base_name -%endif - %prep echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}" %setup -q -n %tarball_name-%version @@ -274,11 +263,6 @@ autoconf -f -i --enable-stl\ --enable-plugins make %{?_smp_mflags} -%if %BUILD_LANG -cd locale -make allmo -cd .. -%endif %clean : @@ -291,13 +275,7 @@ make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \ "%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so %endif -%if %BUILD_LANG -# Locales for MS Windows: -rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo -%find_lang wxstd -%else rm -Rf %buildroot/%_datadir/locale -%endif # HACK: Fix wx-config symlink (bug introduced in 2.9.4). ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config @@ -335,11 +313,6 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr %post -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig %postun -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig -%if %BUILD_LANG - -%files lang -f wxstd.lang -%endif - %if %base_packages %files -n libwx_baseu-%variant%sonum %defattr (-,root,root) diff --git a/wxQt-3_2.changes b/wxQt-3_2.changes index 59d2f72..78d1696 100644 --- a/wxQt-3_2.changes +++ b/wxQt-3_2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 15 18:26:37 UTC 2017 - jengelh@inai.de + +- Add a recommends from the wx base library to the language package. + ------------------------------------------------------------------- Sat Oct 21 10:39:27 UTC 2017 - martin.koegler@chello.at diff --git a/wxQt-3_2.spec b/wxQt-3_2.spec index a665953..690d07b 100644 --- a/wxQt-3_2.spec +++ b/wxQt-3_2.spec @@ -17,20 +17,14 @@ Name: wxQt-3_2 -%define base_name wxWidgets -%define tarball_name wxWidgets +%define base_name wxWidgets-3_2 +%define tarball_name wxWidgets-3_2 %define variant suse %define sonum 4 Version: 3.1.1~2244 Release: 0 %define wx_minor 3.1 %define wx_micro 3.1.1 -# lang packages are exactly equal for all variants. Build it only once: -%if "%name" == "%base_name" -%define BUILD_LANG 1 -%else -%define BUILD_LANG 0 -%endif # build non-UI toolkit related packages %define base_packages 0 Summary: C++ Library for Cross-Platform Development @@ -45,7 +39,7 @@ Source5: wxWidgets-3_2-rpmlintrc Source6: wxpython-mkdiff.sh Patch1: soversion.diff Patch2: wxqt-compile.diff -BuildRoot: %_tmppath/%name-%version-build +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel BuildRequires: autoconf BuildRequires: cppunit-devel @@ -72,8 +66,8 @@ BuildRequires: pkgconfig(Qt5Gui) >= 5.2.1 BuildRequires: pkgconfig(Qt5OpenGL) >= 5.2.1 BuildRequires: pkgconfig(Qt5Test) >= 5.2.1 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.1 -BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(glu) %description wxWidgets is a free C++ library for cross-platform GUI. @@ -83,14 +77,13 @@ Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. %if %base_packages %package -n libwx_baseu-%variant%sonum Summary: wxWidgets Library -Group: System/Libraries # Name up to openSUSE 11.3 and up to wxGTK-2.8: +Group: System/Libraries Obsoletes: wxGTK <= %version.0 # Third party base package name: Obsoletes: wxWidgets < %version -# wxWidgets-lang requires wxWidgets. Provide them to fix dependencies: Provides: wxWidgets = %version -Recommends: %base_name-lang >= %version +Recommends: wxWidgets-lang >= 3.0 %description -n libwx_baseu-%variant%sonum Library for the wxWidgets cross-platform GUI. @@ -208,9 +201,6 @@ SDL Plugin for the wxWidgets cross-platform GUI. %package devel Summary: Everything needed for development with wxWidgets Group: Development/Libraries/C and C++ -Requires: libwx_baseu-%variant%sonum = %version -Requires: libwx_baseu_net-%variant%sonum = %version -Requires: libwx_baseu_xml-%variant%sonum = %version Requires: libwx_%{toolkit}u_adv-%variant%sonum = %version Requires: libwx_%{toolkit}u_aui-%variant%sonum = %version Requires: libwx_%{toolkit}u_core-%variant%sonum = %version @@ -223,8 +213,11 @@ Requires: libwx_%{toolkit}u_ribbon-%variant%sonum = %version Requires: libwx_%{toolkit}u_richtext-%variant%sonum = %version Requires: libwx_%{toolkit}u_stc-%variant%sonum = %version Requires: libwx_%{toolkit}u_xrc-%variant%sonum = %version -Provides: wxWidgets-experimental-devel = %version-%release +Requires: libwx_baseu-%variant%sonum = %version +Requires: libwx_baseu_net-%variant%sonum = %version +Requires: libwx_baseu_xml-%variant%sonum = %version Provides: wxQt-devel = %version-%release +Provides: wxWidgets-experimental-devel = %version-%release Conflicts: wxWidgets-devel Conflicts: otherproviders(wxWidgets-experimental-devel) @@ -238,10 +231,6 @@ This package contains all files needed for developing with wxQt. Note: wxWidgets variant devel packages are mutually exclusive. Please read %_docdir/%name/README.SUSE to pick a correct variant. -%if %BUILD_LANG -%lang_package -n %base_name -%endif - %prep echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}" %setup -q -n %tarball_name-%version @@ -277,11 +266,6 @@ export CFLAGS="-O0 -ggdb3" --enable-stl\ --enable-plugins make %{?_smp_mflags} -%if %BUILD_LANG -cd locale -make allmo -cd .. -%endif %clean : @@ -294,13 +278,7 @@ make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \ "%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so %endif -%if %BUILD_LANG -# Locales for MS Windows: -rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo -%find_lang wxstd -%else rm -Rf %buildroot/%_datadir/locale -%endif # HACK: Fix wx-config symlink (bug introduced in 2.9.4). ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config @@ -338,11 +316,6 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr %post -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig %postun -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig -%if %BUILD_LANG - -%files lang -f wxstd.lang -%endif - %if %base_packages %files -n libwx_baseu-%variant%sonum %defattr (-,root,root) diff --git a/wxWidgets-3_2.changes b/wxWidgets-3_2.changes index 59d2f72..78d1696 100644 --- a/wxWidgets-3_2.changes +++ b/wxWidgets-3_2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 15 18:26:37 UTC 2017 - jengelh@inai.de + +- Add a recommends from the wx base library to the language package. + ------------------------------------------------------------------- Sat Oct 21 10:39:27 UTC 2017 - martin.koegler@chello.at diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index 1b54496..cfa8059 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -17,20 +17,14 @@ Name: wxWidgets-3_2 -%define base_name wxWidgets -%define tarball_name wxWidgets +%define base_name wxWidgets-3_2 +%define tarball_name wxWidgets-3_2 %define variant suse %define sonum 4 Version: 3.1.1~2244 Release: 0 %define wx_minor 3.1 %define wx_micro 3.1.1 -# lang packages are exactly equal for all variants. Build it only once: -%if "%name" == "%base_name" -%define BUILD_LANG 1 -%else -%define BUILD_LANG 0 -%endif # build non-UI toolkit related packages %define base_packages 1 Summary: C++ Library for Cross-Platform Development @@ -45,7 +39,7 @@ Source5: wxWidgets-3_2-rpmlintrc Source6: wxpython-mkdiff.sh Patch1: soversion.diff Patch2: wxqt-compile.diff -BuildRoot: %_tmppath/%name-%version-build +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel BuildRequires: autoconf BuildRequires: cppunit-devel @@ -80,14 +74,13 @@ Motif, MS Windows, MacOS X, Windows CE, GPE) from the same source code. %if %base_packages %package -n libwx_baseu-%variant%sonum Summary: wxWidgets Library -Group: System/Libraries # Name up to openSUSE 11.3 and up to wxGTK-2.8: +Group: System/Libraries Obsoletes: wxGTK <= %version.0 # Third party base package name: Obsoletes: wxWidgets < %version -# wxWidgets-lang requires wxWidgets. Provide them to fix dependencies: Provides: wxWidgets = %version -Recommends: %base_name-lang >= %version +Recommends: wxWidgets-lang >= 3.0 %description -n libwx_baseu-%variant%sonum Library for the wxWidgets cross-platform GUI. @@ -206,9 +199,6 @@ SDL Plugin for the wxWidgets cross-platform GUI. Summary: Everything needed for development with wxWidgets Group: Development/Libraries/C and C++ Requires: gtk%gtk_version-devel -Requires: libwx_baseu-%variant%sonum = %version -Requires: libwx_baseu_net-%variant%sonum = %version -Requires: libwx_baseu_xml-%variant%sonum = %version Requires: libwx_%{toolkit}u_adv-%variant%sonum = %version Requires: libwx_%{toolkit}u_aui-%variant%sonum = %version Requires: libwx_%{toolkit}u_core-%variant%sonum = %version @@ -220,11 +210,14 @@ Requires: libwx_%{toolkit}u_qa-%variant%sonum = %version Requires: libwx_%{toolkit}u_ribbon-%variant%sonum = %version Requires: libwx_%{toolkit}u_richtext-%variant%sonum = %version Requires: libwx_%{toolkit}u_stc-%variant%sonum = %version -Requires: pkgconfig(gl) Requires: libwx_%{toolkit}u_xrc-%variant%sonum = %version +Requires: libwx_baseu-%variant%sonum = %version +Requires: libwx_baseu_net-%variant%sonum = %version +Requires: libwx_baseu_xml-%variant%sonum = %version +Requires: pkgconfig(gl) Requires: pkgconfig(glu) -Provides: wxWidgets-devel = %version-%release Provides: wxGTK2-devel = %version-%release +Provides: wxWidgets-devel = %version-%release Conflicts: otherproviders(wxWidgets-devel) Conflicts: wxWidgets-experimental-devel # Name up to openSUSE 11.3 and up to wxGTK-2.8.x: @@ -241,10 +234,6 @@ This package contains all files needed for developing with wxGTK%gtk_version. Note: wxWidgets variant devel packages are mutually exclusive. Please read %_docdir/%name/README.SUSE to pick a correct variant. -%if %BUILD_LANG -%lang_package -n %base_name -%endif - %prep echo "=== RPM build flags: WX_DEBUG=0%{?WX_DEBUG}" %setup -q -n %tarball_name-%version @@ -277,11 +266,6 @@ autoconf -f -i --enable-stl\ --enable-plugins make %{?_smp_mflags} -%if %BUILD_LANG -cd locale -make allmo -cd .. -%endif %clean : @@ -294,13 +278,7 @@ make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \ "%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so %endif -%if %BUILD_LANG -# Locales for MS Windows: -rm -Rf %buildroot/%_datadir/locale/*/LC_MESSAGES/wxmsw.mo -%find_lang wxstd -%else rm -Rf %buildroot/%_datadir/locale -%endif # HACK: Fix wx-config symlink (bug introduced in 2.9.4). ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildroot/%_bindir/wx-config @@ -338,11 +316,6 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr %post -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig %postun -n libwx_%{toolkit}u_xrc-%variant%sonum -p /sbin/ldconfig -%if %BUILD_LANG - -%files lang -f wxstd.lang -%endif - %if %base_packages %files -n libwx_baseu-%variant%sonum %defattr (-,root,root)