Compare commits
10 Commits
fcff62b398
...
8832c66867
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8832c66867 | ||
|
|
18be0feee8 | ||
|
|
c48bfc52b0 | ||
|
|
5283706d66 | ||
|
|
9bff943502 | ||
|
|
e2c1211d46 | ||
|
|
a76a92ae45 | ||
|
|
a537c6454f | ||
|
|
44edd9900b | ||
|
|
8c5897da3b |
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# babl
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
|||||||
# babl
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
{**以下是码云平台说明,您可以替换此简介**
|
|
||||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
|
||||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
babl-0.1.112.tar.xz
Normal file
BIN
babl-0.1.112.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
113
babl.spec
113
babl.spec
@ -1,75 +1,92 @@
|
|||||||
Name: babl
|
Name: babl
|
||||||
Version: 0.1.56
|
Version: 0.1.112
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Pixel encoding and color space conversion engine in C
|
Summary: Dynamic Pixel Format Translation Library
|
||||||
License: LGPLv3+ and GPLv3+
|
License: LGPL-3.0-or-later AND GPL-3.0-or-later
|
||||||
URL: http://www.gegl.org/babl/
|
Group: Development/Libraries/C and C++
|
||||||
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
|
URL: https://gegl.org/babl/
|
||||||
|
|
||||||
BuildRequires: librsvg2, automake, autoconf
|
Source0: https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: meson >= 0.55.0
|
||||||
|
BuildRequires: vala
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.32.0
|
||||||
|
BuildRequires: pkgconfig(lcms2) >= 2.8
|
||||||
|
BuildRequires: pkgconfig(vapigen) >= 0.20.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
babl is pixel encoding and color space conversion engine in C. It allows converting between
|
babl is a dynamic, any to any, pixel format translation library.
|
||||||
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 devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Dynamic Pixel Format Translation Library
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
Group: Development/Libraries/C and C++
|
||||||
Provides: %{name}-devel-docs%{?_isa} %{name}-devel-docs
|
Requires: %{name} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-devel-docs
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package includes development files for %{name}.
|
babl is a dynamic, any to any, pixel format translation library.
|
||||||
|
|
||||||
|
%package vala
|
||||||
|
Summary: Vala Bindings to the Dynamic Pixel Format Translation Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: vala
|
||||||
|
|
||||||
|
%description vala
|
||||||
|
babl is a dynamic, any to any, pixel format translation library.
|
||||||
|
|
||||||
|
This package provides Vala bindings for babl.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="-fPIC %optflags -fno-strict-aliasing"
|
%meson -Dwith-docs=false -Dgi-docgen=disabled \
|
||||||
LDFLAGS="-pie"
|
%{nil}
|
||||||
%configure --disable-static
|
%meson_build
|
||||||
|
|
||||||
%make_build V=1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL='install -p'
|
%meson_install
|
||||||
|
|
||||||
install -d "$RPM_BUILD_ROOT/%{_docdir}/%{name}-devel/html"
|
|
||||||
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*
|
|
||||||
%delete_la
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd tests
|
%meson_test
|
||||||
for problematic in %nil; do
|
|
||||||
rm -f "$problematic"
|
|
||||||
cat << EOF > "$problematic"
|
|
||||||
#!/bin/sh
|
|
||||||
echo Skipping test "$problematic"
|
|
||||||
EOF
|
|
||||||
chmod +x "$problematic"
|
|
||||||
done
|
|
||||||
cd -
|
|
||||||
|
|
||||||
make check
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README NEWS
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%doc NEWS
|
||||||
|
%{_bindir}/%{name}
|
||||||
%{_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/%{name}.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc %{_docdir}/%{name}-devel/html
|
%{_datadir}/gir-1.0/Babl-0.1.gir
|
||||||
|
|
||||||
|
%files vala
|
||||||
|
%{_datadir}/vala/vapi/babl-0.1.deps
|
||||||
|
%{_datadir}/vala/vapi/babl-0.1.vapi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 17 2025 Funda Wang <fundawang@yeah.net> - 0.1.112-1
|
||||||
|
- update to 0.1.112
|
||||||
|
|
||||||
|
* Mon Oct 28 2024 Funda Wang <fundawang@yeah.net> - 0.1.110-1
|
||||||
|
- update to 0.1.110
|
||||||
|
|
||||||
|
* Wed Oct 18 2023 xu_ping <707078654@qq.com> - 0.1.106-1
|
||||||
|
- Upgrade version to 0.1.106
|
||||||
|
|
||||||
|
* Wed Jan 18 2023 yaoxin <yaoxin30@h-partners.com> - 0.1.88-2
|
||||||
|
- Fix build error
|
||||||
|
|
||||||
|
* Tue Aug 24 2021 chenchen <chen_aka_jan@163.com> - 0.1.88-1
|
||||||
|
- update to 0.1.88
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user