Hello community, here is the log from the commit of package libicns for openSUSE:Factory checked in at 2020-06-11 14:49:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libicns (Old) and /work/SRC/openSUSE:Factory/.libicns.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libicns" Thu Jun 11 14:49:01 2020 rev:5 rq:802495 version:0.8.1+git20190323 Changes: -------- --- /work/SRC/openSUSE:Factory/libicns/libicns.changes 2019-09-04 09:13:24.162954324 +0200 +++ /work/SRC/openSUSE:Factory/.libicns.new.3606/libicns.changes 2020-06-11 14:49:23.138218420 +0200 @@ -1,0 +2,27 @@ +Thu May 7 13:28:35 UTC 2020 - Luigi Baldoni <[email protected]> + +- Update to current git version 0.8.1+git20190323 + * Update and correct documentation + * Added icnsutil, a libicns clone of the Darwin iconutil, to + work with 'retina' icon (should also work both ways) + * Fixed conversion of images with dimensions of 256x256 or + greater. + * Clean up build system + * Support OpenJPEG 2 + * Remove dead code and warnings + * Several minor fixes +- Added _service file +- Link to OpenJPEG2 +- Drop Group tags +- Drop useless Provides +- Add automake/libtool build requirement because the tarball + no longer comes with a configure file +- Add openjpeg build requirement to support 256x256 and up icons +- Add pkgconfig build requirement to allow proper indexing of + the .pc file +- Recommend unar to uncompress old StuffIt archives (as per + documentation) +- Use autosetup macro +- Spec cleanup + +------------------------------------------------------------------- Old: ---- libicns-0.8.1.tar.gz New: ---- _service libicns-0.8.1+git20190323.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libicns.spec ++++++ --- /var/tmp/diff_new_pack.fOZOzb/_old 2020-06-11 14:49:23.842220679 +0200 +++ /var/tmp/diff_new_pack.fOZOzb/_new 2020-06-11 14:49:23.850220705 +0200 @@ -1,7 +1,7 @@ # # spec file for package libicns # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2011 Malcolm J Lewis <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -13,22 +13,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define libname %{name}1 +%define sover 1 Name: libicns -Version: 0.8.1 +Version: 0.8.1+git20190323 Release: 0 Summary: Application for manipulation of the Mac OS icns -License: LGPL-2.1-or-later -Group: Productivity/Graphics/Convertors -Url: http://icns.sourceforge.net/ -Source0: http://download.sourceforge.net/icns/%{name}-%{version}.tar.gz -BuildRequires: pkg-config +License: LGPL-2.1-or-later AND LGPL-2.0-or-later AND GPL-2.0-or-later +URL: https://icns.sourceforge.io/ +Source0: %{name}-%{version}.tar.xz +BuildRequires: automake +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libopenjp2) BuildRequires: pkgconfig(libpng) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: unar %description It can read and write files from the Mac OS X icns format, as well as @@ -43,7 +45,6 @@ %package -n icns-utils Summary: Application for manipulation of the Mac OS icns License: GPL-2.0-only -Group: Productivity/Graphics/Convertors %description -n icns-utils Utilities to convert to and from icns files using %{name}: @@ -51,58 +52,58 @@ 2. icns2png: Tool to convert icns icons to png, and 3. icontainer2icns: Tool for extracting icns files from icontainers. -%package -n %{libname} +%package -n %{name}%{sover} Summary: System libraries for %{name} License: LGPL-2.1-only -Group: System/Libraries -%description -n %{libname} +%description -n %{name}%{sover} System libraries file for %{name}. %package devel Summary: Development files for %{name} License: LGPL-2.1-only -Group: Development/Libraries/Other -Requires: %{libname} = %{version} -Provides: %{libname}-devel = %{version} +Requires: %{name}%{sover} = %{version} Requires: glibc-devel %description devel Libraries and header files for developing applications that use libicns. %prep -%setup -q +%autosetup %build +autoreconf -fiv %configure \ --disable-static -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{libname} -p /sbin/ldconfig +%post -n %{name}%{sover} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%postun -n %{name}%{sover} -p /sbin/ldconfig %files -n icns-utils -%defattr(-,root,root) -%doc README COPYING* ChangeLog NEWS TODO -%{_bindir}/png2icns +%license COPYING* +%doc README ChangeLog NEWS TODO %{_bindir}/icns2png +%{_bindir}/icnsutil %{_bindir}/icontainer2icns -%{_mandir}/man1/*.gz +%{_bindir}/png2icns +%{_mandir}/man1/icns2png.1%{?ext_man} +%{_mandir}/man1/icnsutil.1%{?ext_man} +%{_mandir}/man1/icontainer2icns.1%{?ext_man} +%{_mandir}/man1/png2icns.1%{?ext_man} -%files -n %{libname} -%defattr(-,root,root) -%{_libdir}/*.so.* +%files -n %{name}%{sover} +%{_libdir}/%{name}.so.%{sover}* %files devel -%defattr(-,root,root) %doc src/apidocs.* DEVNOTES -%{_includedir}/* -%{_libdir}/*.so +%{_includedir}/icns.h +%{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://git.code.sf.net/p/icns/code</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@+git%cd</param> <param name="revision">master</param> <param name="filename">libicns</param> <param name="exclude">.git</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>
