SHA256
8
0
forked from pool/smooth
Files
smooth/smooth.spec

111 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package smooth
#
Accepting request 1094742 from home:ecsos - Update to 0.9.10 - windowgdi.cpp - apply dark mode to top window edge too on Windows 10 and 11 - fontcairo.cpp - respect text scaling factor in addition to font size setting - surfacecairo.cpp - attempt to read desktop scale factor from KDE settings if GDK query fails - backendxlib.cpp - added support for KDE color schemes (including dark mode) - windowxlib.cpp - improved compatibility of drag & drop implementation with KDE running under Wayland - fixed focus handling for windows without window manager decorations - surfacecocoa.mm - fixed crash trying to draw to windows before they are fully constructed - application.cpp - fixed determination of application path when running under Rosetta - listbox.cpp - fixed and improved list entry dragging behavior - http.cpp - fixed libcurl proxy feature detection - cpu.cpp - fixed number of cores reported for CPUs with different core types (performance/efficiency) - fixed number of cores reported for SMP systems (now reporting total number of cores) - instream.cpp - allow data pointer to be NULL in InputData if number of bytes is 0 - outstream.cpp - allow data pointer to be NULL in OutputData if number of bytes is 0 - various minor performance optimizations - fixed long paths being converted to 8.3 format on recent versions of Windows - fixed handling of long UNC paths on Windows - upgraded fribidi to version 1.0.12 - upgraded libcpuid to version 0.6.2 - upgraded libxml2 to version 2.10.3 - upgraded libcurl to version 7.87.0 - upgraded libiconv to version 1.17 - upgraded libpng to version 1.6.39 - upgraded libwebp to version 1.3.0 - upgraded zlib to version 1.2.13 OBS-URL: https://build.opensuse.org/request/show/1094742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/smooth?expand=0&rev=10
2023-06-23 05:32:10 +00:00
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _uver 0_9
%define _lver 0.9
%define sover 0
Name: smooth
Accepting request 1094742 from home:ecsos - Update to 0.9.10 - windowgdi.cpp - apply dark mode to top window edge too on Windows 10 and 11 - fontcairo.cpp - respect text scaling factor in addition to font size setting - surfacecairo.cpp - attempt to read desktop scale factor from KDE settings if GDK query fails - backendxlib.cpp - added support for KDE color schemes (including dark mode) - windowxlib.cpp - improved compatibility of drag & drop implementation with KDE running under Wayland - fixed focus handling for windows without window manager decorations - surfacecocoa.mm - fixed crash trying to draw to windows before they are fully constructed - application.cpp - fixed determination of application path when running under Rosetta - listbox.cpp - fixed and improved list entry dragging behavior - http.cpp - fixed libcurl proxy feature detection - cpu.cpp - fixed number of cores reported for CPUs with different core types (performance/efficiency) - fixed number of cores reported for SMP systems (now reporting total number of cores) - instream.cpp - allow data pointer to be NULL in InputData if number of bytes is 0 - outstream.cpp - allow data pointer to be NULL in OutputData if number of bytes is 0 - various minor performance optimizations - fixed long paths being converted to 8.3 format on recent versions of Windows - fixed handling of long UNC paths on Windows - upgraded fribidi to version 1.0.12 - upgraded libcpuid to version 0.6.2 - upgraded libxml2 to version 2.10.3 - upgraded libcurl to version 7.87.0 - upgraded libiconv to version 1.17 - upgraded libpng to version 1.6.39 - upgraded libwebp to version 1.3.0 - upgraded zlib to version 1.2.13 OBS-URL: https://build.opensuse.org/request/show/1094742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/smooth?expand=0&rev=10
2023-06-23 05:32:10 +00:00
Version: 0.9.10
Release: 0
Summary: C++ class library for widgets, IO, XML and more
License: Artistic-2.0
URL: http://www.smooth-project.org
Source0: https://sourceforge.net/projects/smooth/files/smooth/%{version}/%{name}-%{version}.tar.gz
BuildRequires: dos2unix
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bzip2)
Accepting request 1094742 from home:ecsos - Update to 0.9.10 - windowgdi.cpp - apply dark mode to top window edge too on Windows 10 and 11 - fontcairo.cpp - respect text scaling factor in addition to font size setting - surfacecairo.cpp - attempt to read desktop scale factor from KDE settings if GDK query fails - backendxlib.cpp - added support for KDE color schemes (including dark mode) - windowxlib.cpp - improved compatibility of drag & drop implementation with KDE running under Wayland - fixed focus handling for windows without window manager decorations - surfacecocoa.mm - fixed crash trying to draw to windows before they are fully constructed - application.cpp - fixed determination of application path when running under Rosetta - listbox.cpp - fixed and improved list entry dragging behavior - http.cpp - fixed libcurl proxy feature detection - cpu.cpp - fixed number of cores reported for CPUs with different core types (performance/efficiency) - fixed number of cores reported for SMP systems (now reporting total number of cores) - instream.cpp - allow data pointer to be NULL in InputData if number of bytes is 0 - outstream.cpp - allow data pointer to be NULL in OutputData if number of bytes is 0 - various minor performance optimizations - fixed long paths being converted to 8.3 format on recent versions of Windows - fixed handling of long UNC paths on Windows - upgraded fribidi to version 1.0.12 - upgraded libcpuid to version 0.6.2 - upgraded libxml2 to version 2.10.3 - upgraded libcurl to version 7.87.0 - upgraded libiconv to version 1.17 - upgraded libpng to version 1.6.39 - upgraded libwebp to version 1.3.0 - upgraded zlib to version 1.2.13 OBS-URL: https://build.opensuse.org/request/show/1094742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/smooth?expand=0&rev=10
2023-06-23 05:32:10 +00:00
BuildRequires: pkgconfig(fribidi) >= 1.0.12
BuildRequires: pkgconfig(gtk+-3.0)
Accepting request 1094742 from home:ecsos - Update to 0.9.10 - windowgdi.cpp - apply dark mode to top window edge too on Windows 10 and 11 - fontcairo.cpp - respect text scaling factor in addition to font size setting - surfacecairo.cpp - attempt to read desktop scale factor from KDE settings if GDK query fails - backendxlib.cpp - added support for KDE color schemes (including dark mode) - windowxlib.cpp - improved compatibility of drag & drop implementation with KDE running under Wayland - fixed focus handling for windows without window manager decorations - surfacecocoa.mm - fixed crash trying to draw to windows before they are fully constructed - application.cpp - fixed determination of application path when running under Rosetta - listbox.cpp - fixed and improved list entry dragging behavior - http.cpp - fixed libcurl proxy feature detection - cpu.cpp - fixed number of cores reported for CPUs with different core types (performance/efficiency) - fixed number of cores reported for SMP systems (now reporting total number of cores) - instream.cpp - allow data pointer to be NULL in InputData if number of bytes is 0 - outstream.cpp - allow data pointer to be NULL in OutputData if number of bytes is 0 - various minor performance optimizations - fixed long paths being converted to 8.3 format on recent versions of Windows - fixed handling of long UNC paths on Windows - upgraded fribidi to version 1.0.12 - upgraded libcpuid to version 0.6.2 - upgraded libxml2 to version 2.10.3 - upgraded libcurl to version 7.87.0 - upgraded libiconv to version 1.17 - upgraded libpng to version 1.6.39 - upgraded libwebp to version 1.3.0 - upgraded zlib to version 1.2.13 OBS-URL: https://build.opensuse.org/request/show/1094742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/smooth?expand=0&rev=10
2023-06-23 05:32:10 +00:00
# Upstream use pkgconfig(libcpuid) >= 0.6.2
BuildRequires: pkgconfig(libcpuid) >= 0.6.0
BuildRequires: pkgconfig(libcurl) >= 7.87.0
BuildRequires: pkgconfig(libjpeg)
Accepting request 1094742 from home:ecsos - Update to 0.9.10 - windowgdi.cpp - apply dark mode to top window edge too on Windows 10 and 11 - fontcairo.cpp - respect text scaling factor in addition to font size setting - surfacecairo.cpp - attempt to read desktop scale factor from KDE settings if GDK query fails - backendxlib.cpp - added support for KDE color schemes (including dark mode) - windowxlib.cpp - improved compatibility of drag & drop implementation with KDE running under Wayland - fixed focus handling for windows without window manager decorations - surfacecocoa.mm - fixed crash trying to draw to windows before they are fully constructed - application.cpp - fixed determination of application path when running under Rosetta - listbox.cpp - fixed and improved list entry dragging behavior - http.cpp - fixed libcurl proxy feature detection - cpu.cpp - fixed number of cores reported for CPUs with different core types (performance/efficiency) - fixed number of cores reported for SMP systems (now reporting total number of cores) - instream.cpp - allow data pointer to be NULL in InputData if number of bytes is 0 - outstream.cpp - allow data pointer to be NULL in OutputData if number of bytes is 0 - various minor performance optimizations - fixed long paths being converted to 8.3 format on recent versions of Windows - fixed handling of long UNC paths on Windows - upgraded fribidi to version 1.0.12 - upgraded libcpuid to version 0.6.2 - upgraded libxml2 to version 2.10.3 - upgraded libcurl to version 7.87.0 - upgraded libiconv to version 1.17 - upgraded libpng to version 1.6.39 - upgraded libwebp to version 1.3.0 - upgraded zlib to version 1.2.13 OBS-URL: https://build.opensuse.org/request/show/1094742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/smooth?expand=0&rev=10
2023-06-23 05:32:10 +00:00
# Upstream use pkgconfig(libxml-2.0) >= 2.10.3
BuildRequires: pkgconfig(libxml-2.0) >= 2.9.14
%description
smooth is an object oriented C++ class library. It provides basic
functionality and platform support for applications and libraries.
Features provided by smooth include:
* user interface API with various widgets
* multithreading API
* file and network IO interface
* transparent Unicode and software internationalization support
* a libxml2-based XML parser
%package devel
Summary: Development files for %{name}
Requires: lib%{name}-%{_uver}-%{sover} = %{version}
Requires: pkgconfig(x11)
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n lib%{name}-%{_uver}-%{sover}
Summary: C++ class library for widgets, IO, XML and more
%description -n lib%{name}-%{_uver}-%{sover}
smooth is an object oriented C++ class library. It provides basic
functionality and platform support for applications and libraries.
Features provided by smooth include:
* user interface API with various widgets
* multithreading API
* file and network IO interface
* transparent Unicode and software internationalization support
* a libxml2-based XML parser
%prep
%autosetup -p1
dos2unix Copying Readme.md
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%make_build config=systemlibcpuid
%install
%make_install libdir=%{_libdir} includedir=%{_includedir} bindir=%{_bindir}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n lib%{name}-%{_uver}-%{sover} -p /sbin/ldconfig
%postun -n lib%{name}-%{_uver}-%{sover} -p /sbin/ldconfig
%files
%license Copying
%doc ChangeLog Readme.md
%{_bindir}/%{name}-translator
%files devel
%doc ChangeLog Readme.md
%license Copying
%{_includedir}/%{name}
%{_includedir}/%{name}.h
%{_libdir}/lib%{name}-%{_lver}.so
%files -n lib%{name}-%{_uver}-%{sover}
%license Copying
%{_libdir}/lib%{name}-%{_lver}.so.%{sover}
%changelog