6 Commits

2 changed files with 55 additions and 7 deletions

View File

@ -0,0 +1,13 @@
diff --git a/meson.build b/meson.build
index 55054f441a0378845e0d3655b7eb18f6d140e3e1..8c93be9d1b22a7b105a51d4eb9f4db7f75702a24 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,7 @@ lib_name = meson.project_name() + '-' + api_version
stability_version_number = (major_version != 0 ? minor_version : micro_version)
stable = (stability_version_number % 2 == 0)
-conf.set10('BABL_UNSTABLE', not stable, Description:
+conf.set10('BABL_UNSTABLE', not stable, description:
'Define to 1 if this is an unstable version of BABL.')
conf.set ('BABL_MAJOR_VERSION', '@0@'.format(major_version))

View File

@ -1,21 +1,22 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libbabl
Version: 0.1.84
Version: 0.1.98
Release: 1mamba
Summary: babl is a dynamic, any to any, pixel format translation library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://gegl.org/babl
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gegl.org/babl/
Source: http://download.gimp.org/pub/babl/%{majver}/babl-%{version}.tar.xz
Patch0: libbabl-0.1.92-meson-0.62.1.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblcms2-devel
## AUTOBUILDREQ-END
Provides: babl
Obsoletes: babl
Obsoletes: babl < 0.1.96
%description
babl is a dynamic, any to any, pixel format translation library.
@ -26,20 +27,32 @@ A vocabulary to formulate new pixel formats from existing primitives is provided
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: babl-devel
Obsoletes: babl-devel
Obsoletes: babl-devel < 0.1.96
%description devel
babl is a dynamic, any to any, pixel format translation library.
It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations.
A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%package tools
Summary: Tools provided with %{name}
Group: Applications/Graphics
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
babl is a dynamic, any to any, pixel format translation library.
It allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations.
A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
This package contains the tools provided with %{name}.
%debug_package
%prep
%setup -q -n babl-%{version}
#%patch0 -p1 -b .meson-0.62.1
%build
%meson
@ -72,7 +85,29 @@ This package contains static libraries and header files need for development.
%{_libdir}/pkgconfig/*.pc
%doc NEWS TODO
%files tools
%defattr(-,root,root)
%{_bindir}/babl
%changelog
* Mon Nov 14 2022 Automatic Build System <autodist@mambasoft.it> 0.1.98-1mamba
- automatic version update by autodist
* Tue Aug 30 2022 Automatic Build System <autodist@mambasoft.it> 0.1.96-1mamba
- automatic version update by autodist
* Wed May 18 2022 Automatic Build System <autodist@mambasoft.it> 0.1.92-1mamba
- automatic version update by autodist
* Tue Feb 22 2022 Automatic Build System <autodist@mambasoft.it> 0.1.90-1mamba
- automatic version update by autodist
* Thu Jul 01 2021 Automatic Build System <autodist@mambasoft.it> 0.1.88-1mamba
- automatic version update by autodist
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 0.1.86-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 0.1.84-1mamba
- automatic version update by autodist