-
Notifications
You must be signed in to change notification settings - Fork 3
/
qoi-fu.spec
68 lines (51 loc) · 1.66 KB
/
qoi-fu.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: qoi-fu
Version: 3.0.0
Release: 1
Summary: Quite OK Image (QOI) encoder/decoder
License: MIT
Source: https://github.com/pfusik/qoi-fu/archive/qoi-fu-%{version}/qoi-fu-%{version}.tar.gz
URL: https://github.com/pfusik/qoi-fu
BuildRequires: gcc
%description
Quite OK Image (QOI) encoder/decoder.
%package 2png
Summary: Command-line converter between QOI and PNG formats
BuildRequires: libpng-devel
%description 2png
Provides "png2qoi" command-line converter between the Quite OK Image (QOI)
and PNG formats.
%package gdk-pixbuf
Summary: GdkPixbuf loader for QOI image files
BuildRequires: gdk-pixbuf2-devel
%description gdk-pixbuf
GdkPixbuf loader for the Quite OK Image (QOI) format.
%package gimp
Summary: QOI plugin for GIMP
Requires: gimp
BuildRequires: gimp-devel
%description gimp
GIMP plugin for loading and exporting the Quite OK Image (QOI) format.
%prep
%setup -q
%build
make CFLAGS="%{build_cflags}" png2qoi libpixbufloader-qoi.so file-qoi
%install
make PREFIX=%{buildroot}%{_prefix} GDK_PIXBUF_LOADERS_DIR=%{buildroot}%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders libdir=%{buildroot}%{_libdir} BUILDING_PACKAGE=1 install-png2qoi install-gdk-pixbuf install-gimp
%files 2png
%{_bindir}/png2qoi
%files gdk-pixbuf
%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qoi.so
%{_datadir}/mime/packages/qoi-mime.xml
%{_datadir}/thumbnailers/qoi.thumbnailer
%files gimp
%{_libdir}/gimp/2.0/plug-ins/file-qoi/file-qoi
%changelog
* Mon Jan 22 2024 Piotr Fusik <piotr@fusion-lang.org>
- 3.0.0-1
* Mon Sep 12 2022 Piotr Fusik <fox@scene.pl>
- 2.0.0-1
* Wed Aug 3 2022 Piotr Fusik <fox@scene.pl>
- 1.1.2-1
* Mon Apr 18 2022 Piotr Fusik <fox@scene.pl>
- 1.1.1-1
- Initial packaging