Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grfcodec for openSUSE:Factory checked in at 2021-07-26 17:38:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grfcodec (Old) and /work/SRC/openSUSE:Factory/.grfcodec.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grfcodec" Mon Jul 26 17:38:14 2021 rev:6 rq:908366 version:6.0.6+39 Changes: -------- --- /work/SRC/openSUSE:Factory/grfcodec/grfcodec.changes 2021-02-22 14:41:04.524665234 +0100 +++ /work/SRC/openSUSE:Factory/.grfcodec.new.1899/grfcodec.changes 2021-07-26 17:38:38.322055019 +0200 @@ -1,0 +2,10 @@ +Mon Jul 19 09:43:38 UTC 2021 - Dominique Leuenberger <[email protected]> + +- Update to git master, 6.0.6+39: Fix build with GCC 11 +- Drop bb692b2c723c5e87cc8f89f445928e97594d5b8f.patch: included in + the update. +- Add grfcodec-cmake-install.patch: enable make install. +- This now only installs the bare minimum, but the package seems + only used by openttd anyway, so good enough. + +------------------------------------------------------------------- Old: ---- 6.0.6.tar.gz bb692b2c723c5e87cc8f89f445928e97594d5b8f.patch New: ---- _service grfcodec-6.0.6+39.obscpio grfcodec-cmake-install.patch grfcodec.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grfcodec.spec ++++++ --- /var/tmp/diff_new_pack.3e9oMp/_old 2021-07-26 17:38:38.770054481 +0200 +++ /var/tmp/diff_new_pack.3e9oMp/_new 2021-07-26 17:38:38.774054476 +0200 @@ -17,22 +17,23 @@ Name: grfcodec -Version: 6.0.6 +Version: 6.0.6+39 Release: 0 Summary: A suite of programs to modify Transport Tycoon Deluxe's GRF files License: GPL-2.0-or-later Group: Development/Tools/Building URL: https://github.com/OpenTTD/grfcodec -Source: https://github.com/OpenTTD/grfcodec/archive/%{version}.tar.gz -Patch0: https://github.com/OpenTTD/grfcodec/commit/bb692b2c723c5e87cc8f89f445928e97594d5b8f.patch +Source: %{name}-%{version}.tar.xz +Patch0: grfcodec-cmake-install.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else BuildRequires: boost-devel >= 1.36 %endif +BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: git BuildRequires: libpng-devel -BuildRequires: xz Provides: nforenum = %{version} Obsoletes: nforenum < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,10 +50,11 @@ %autosetup -p1 %build -CXXFLAGS="%{optflags}" make %{?_smp_mflags} +%cmake +%cmake_build %install -make install DESTDIR=%{buildroot} prefix=%{_prefix} +%cmake_install %files %defattr(-,root,root,-) @@ -60,12 +62,5 @@ %{_bindir}/grfid %{_bindir}/grfstrip %{_bindir}/nforenum -%dir %{_datadir}/doc/grfcodec -%doc %{_datadir}/doc/grfcodec/*.txt -%doc %{_datadir}/doc/grfcodec/COPYING -%{_mandir}/man1/grfcodec.1* -%{_mandir}/man1/grfid.1* -%{_mandir}/man1/grfstrip.1* -%{_mandir}/man1/nforenum.1* %changelog ++++++ _service ++++++ <?xml version="1.0"?> <services> <service name="obs_scm" mode="disabled"> <param name="url">https://github.com/OpenTTD/grfcodec</param> <param name="scm">git</param> <param name="revision">master</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-replacement">\1</param> <!-- <param name="changesgenerate">enable</param> --> </service> <service mode="buildtime" name="tar" /> <service mode="buildtime" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version" /> </services> ++++++ grfcodec-cmake-install.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 1450d7c..61631c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,7 @@ if(PNG_FOUND) target_link_libraries(grfcodec PNG::PNG) endif() +install(TARGETS grfid grfstrip nforenum grfcodec DESTINATION bin) # Add source files add_subdirectory(src) ++++++ grfcodec.obsinfo ++++++ name: grfcodec version: 6.0.6+39 mtime: 1615397996 commit: 045774dee7cab1a618a3e0d9b39bff78a12b6efa
