1 Summary: LERC - Limited Error Raster Compression
2 Summary(pl.UTF-8): LERC (Limited Error Raster Compression) - kompresja rastrowa o ograniczonym błędzie
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)
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).
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).
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
39 Header files for Lerc library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki Lerc.
45 Summary: Documentation for Lerc library
46 Summary(pl.UTF-8): Dokumentacja biblioteki Lerc
51 Documentation for Lerc library.
53 %description doc -l pl.UTF-8
54 Dokumentacja biblioteki Lerc.
67 rm -rf $RPM_BUILD_ROOT
69 %{__make} -C builddir install \
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %doc CHANGELOG.md NOTICE README.md
81 %attr(755,root,root) %{_libdir}/libLercLib.so
84 %defattr(644,root,root,755)
85 %{_includedir}/Lerc_c_api.h
86 %{_includedir}/Lerc_types.h
89 %defattr(644,root,root,755)
90 %doc doc/{*.pdf,*.png,MORE.md}