]> git.pld-linux.org Git - SPECS.git/blob - lerc.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / lerc.spec
1 Summary:        LERC - Limited Error Raster Compression
2 Summary(pl.UTF-8):      LERC (Limited Error Raster Compression) - kompresja rastrowa o ograniczonym błędzie
3 Name:           lerc
4 Version:        2.2.1
5 Release:        1
6 License:        Apache v2.0
7 Group:          Libraries
8 #Source0Download: https://github.com/Esri/lerc/releases
9 Source0:        https://github.com/Esri/lerc/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  f81ba5cd098e9b37df9839ce3147b0bb
11 URL:            https://github.com/Esri/lerc
12 BuildRequires:  cmake >= 3.11
13 BuildRequires:  libstdc++-devel >= 6:7
14 BuildRequires:  rpm-build >= 4.6
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 LERC is an open-source image or raster format which supports rapid
19 encoding and decoding for any pixel type (not just RGB or Byte). Users
20 set the maximum compression error per pixel while encoding, so the
21 precision of the original input image is preserved (within user
22 defined error bounds).
23
24 %description -l pl.UTF-8
25 LERC to rastrowy format obrazów z otwartymi źródłami, obsługujący
26 szybkie kodowanie i dekodowanie dowolnego typu pikseli (nie tylko RGB
27 lub bajtów). Użytkownik przy kodowaniu ustawia maksymalny poziom błędu
28 kompresji na piksel, więc dokładność oryginalnego obrazu wejściowego
29 jest zachowana (w granicach błędu określonego przez użytkownika).
30
31 %package devel
32 Summary:        Header files for Lerc library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Lerc
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       libstdc++-devel >= 6:7
37
38 %description devel
39 Header files for Lerc library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki Lerc.
43
44 %package doc
45 Summary:        Documentation for Lerc library
46 Summary(pl.UTF-8):      Dokumentacja biblioteki Lerc
47 Group:          Documentation
48 BuildArch:      noarch
49
50 %description doc
51 Documentation for Lerc library.
52
53 %description doc -l pl.UTF-8
54 Dokumentacja biblioteki Lerc.
55
56 %prep
57 %setup -q
58
59 %build
60 install -d builddir
61 cd builddir
62 %cmake ..
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} -C builddir install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc CHANGELOG.md NOTICE README.md
81 %attr(755,root,root) %{_libdir}/libLercLib.so
82
83 %files devel
84 %defattr(644,root,root,755)
85 %{_includedir}/Lerc_c_api.h
86 %{_includedir}/Lerc_types.h
87
88 %files doc
89 %defattr(644,root,root,755)
90 %doc doc/{*.pdf,*.png,MORE.md}
This page took 0.098419 seconds and 3 git commands to generate.