Compare commits
No commits in common. "546887af330332ece47ba80a693ad3b055b92db6" and "e8c947d6923de1ddcfdf1e49412e85279b92b933" have entirely different histories.
546887af33
...
e8c947d692
BIN
babl-0.1.56.tar.bz2
Normal file
BIN
babl-0.1.56.tar.bz2
Normal file
Binary file not shown.
Binary file not shown.
114
babl.spec
114
babl.spec
@ -1,53 +1,46 @@
|
|||||||
Name: babl
|
Name: babl
|
||||||
Version: 0.1.88
|
Version: 0.1.56
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: Dynamic Pixel Format Translation Library
|
Summary: Pixel encoding and color space conversion engine in C
|
||||||
License: LGPL-3.0-or-later AND GPL-3.0-or-later
|
License: LGPLv3+ and GPLv3+
|
||||||
Group: Development/Libraries/C and C++
|
URL: http://www.gegl.org/babl/
|
||||||
URL: http://gegl.org/babl/
|
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.xz
|
BuildRequires: librsvg2, automake, autoconf
|
||||||
Source99: baselibs.conf
|
|
||||||
BuildRequires: meson
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: vala
|
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
||||||
BuildRequires: pkgconfig(lcms2)
|
|
||||||
BuildRequires: pkgconfig(vapigen)
|
|
||||||
|
|
||||||
%define vala_version %(rpm -q --queryformat='%%{VERSION}' vala | sed 's/\.[0-9]*$//g')
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
babl is a dynamic, any to any, pixel format translation library.
|
babl is pixel encoding and color space conversion engine in C. It allows converting between
|
||||||
|
different methods of storing pixels known as pixel formats that have with different bitdepths
|
||||||
|
and other data representations, color models, color spaces 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, spaces and data types.
|
||||||
|
|
||||||
%package -n typelib-1_0-Babl-0_1
|
%package devel
|
||||||
Summary: Introspection bindings for babl
|
Summary: Development files for %{name}
|
||||||
Group: System/Libraries
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
||||||
|
Provides: %{name}-devel-docs%{?_isa} %{name}-devel-docs
|
||||||
|
Obsoletes: %{name}-devel-docs
|
||||||
|
|
||||||
%description -n typelib-1_0-Babl-0_1
|
%description devel
|
||||||
babl is a dynamic, any to any, pixel format translation library.
|
This package includes development files for %{name}.
|
||||||
|
|
||||||
This package provides the GObject Introspection bindings for babl.
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
%package devel
|
%build
|
||||||
Summary: Dynamic Pixel Format Translation Library
|
CFLAGS="-fPIC %optflags -fno-strict-aliasing"
|
||||||
Group: Development/Libraries/C and C++
|
LDFLAGS="-pie"
|
||||||
Requires: glibc-devel
|
%configure --disable-static
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%make_build V=1
|
||||||
babl is a dynamic, any to any, pixel format translation library.
|
|
||||||
|
|
||||||
%package vala
|
%install
|
||||||
Summary: Vala Bindings to the Dynamic Pixel Format Translation Library
|
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: vala
|
|
||||||
|
|
||||||
%description vala
|
install -d "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"
|
||||||
babl is a dynamic, any to any, pixel format translation library.
|
cp -pr docs/graphics docs/*.html docs/babl.css "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"
|
||||||
|
rm -rf "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"/graphics/Makefile*
|
||||||
This package provides Vala bindings for babl.
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd tests
|
cd tests
|
||||||
@ -60,54 +53,23 @@ EOF
|
|||||||
chmod +x "$problematic"
|
chmod +x "$problematic"
|
||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
%meson_test
|
|
||||||
|
|
||||||
%prep
|
make check
|
||||||
%autosetup -p1
|
|
||||||
|
|
||||||
%build
|
%ldconfig_scriptlets
|
||||||
sed "s,@BABL_GIT_VERSION@,%{version},g" git-version.h.in > git-version.h
|
|
||||||
%meson -Dwith-docs=false \
|
|
||||||
%{nil}
|
|
||||||
%meson_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%meson_install
|
|
||||||
mv %{buildroot}%{_datadir}/vala %{buildroot}%{_datadir}/vala-%{vala_version}
|
|
||||||
|
|
||||||
%post -n %{name} -p /sbin/ldconfig
|
|
||||||
%postun -n %{name} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%doc AUTHORS README NEWS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/babl-0.1/
|
%{_libdir}/babl-0.1/
|
||||||
%{_libdir}/girepository-1.0/Babl-0.1.typelib
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc AUTHORS TODO
|
|
||||||
%{_includedir}/babl-0.1/
|
%{_includedir}/babl-0.1/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%{_datadir}/gir-1.0/Babl-0.1.gir
|
%doc %{_docdir}/%{name}-devel/html
|
||||||
|
|
||||||
%files vala
|
|
||||||
%{_datadir}/vala-%{vala_version}/vapi/babl-0.1.deps
|
|
||||||
%{_datadir}/vala-%{vala_version}/vapi/babl-0.1.vapi
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 31 2021 xu_ping <xuping33@huawei.com> - 0.1.88-1
|
|
||||||
- update to 0.1.88
|
|
||||||
|
|
||||||
* Thu Oct 28 2021 Chenxi Mao <chenxi.mao@suse.com> - 0.1.56-6
|
|
||||||
- Add chrpath in BuildRequires
|
|
||||||
|
|
||||||
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 0.1.56-5
|
|
||||||
- Remove rpath
|
|
||||||
|
|
||||||
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.1.56-4
|
|
||||||
- Add gcc in BuildRequires
|
|
||||||
|
|
||||||
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.56-3
|
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.56-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: gitlab.gnome
|
|
||||||
src_repo: babl
|
|
||||||
tag_prefix: ^BABL_
|
|
||||||
seperator: _
|
|
||||||
@ -1 +0,0 @@
|
|||||||
libbabl-0_1-0
|
|
||||||
Loading…
x
Reference in New Issue
Block a user