]> git.ipfire.org Git - ipfire-3.x.git/blame - openjpeg2/openjpeg2.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / openjpeg2 / openjpeg2.nm
CommitLineData
12166f07
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = openjpeg2
7version = 2.5.0
8release = 1
9thisapp = openjpeg-%{version}
10
11groups = System/Libraries
12url = https://github.com/uclouvain/openjpeg
13license = BSD
14summary = C-Library for JPEG 2000
15
16description
17 The OpenJPEG library is an open-source JPEG 2000 library developed in order to
18 promote the use of JPEG 2000.
19end
20
21source_dl = https://github.com/uclouvain/openjpeg/archive/v%{version}/
22
23build
24 requires
25 cmake
26 lcms2-devel
27 libjpeg-devel
28 libpng-devel
29 libtiff-devel
30 zlib-devel
31 zstd-devel
32 end
33
34 configure = %{cmake} . \
35 -DOPENJPEG_INSTALL_LIB_DIR=%{lib}
36end
37
38packages
39 package %{name}
40
41 package %{name}-libs
42 template LIBS
43 end
44
45 package %{name}-devel
46 template DEVEL
47
48 requires
49 openjpeg2-libs = %{thisver}
50 end
51 end
52
53 package %{name}-debuginfo
54 template DEBUGINFO
55 end
56end