]> git.pld-linux.org Git - packages/CharLS.git/blame - CharLS.spec
- new URLs, updated to 1.1.0
[packages/CharLS.git] / CharLS.spec
CommitLineData
f9f53625
JB
1Summary: An optimized implementation of the JPEG-LS standard
2Summary(pl.UTF-8): Zoptymalizowana implementacja standardu JPEG-LS
3Name: CharLS
3bf00211
JB
4Version: 1.1.0
5Release: 1
f9f53625
JB
6License: BSD
7Group: Libraries
3bf00211
JB
8#Source0Download: https://github.com/team-charls/charls/releases
9Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: ea02f65abd33aa46830dedec8f4c52f5
11URL: https://github.com/team-charls/charls
f9f53625
JB
12BuildRequires: cmake >= 2.6
13BuildRequires: libstdc++-devel
14BuildRequires: rpmbuild(macros) >= 1.566
15BuildRequires: sed >= 4.0
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19An optimized implementation of the JPEG-LS standard for loss less and
20near loss less image compression. JPEG-LS is a low-complexity standard
21that matches JPEG 2000 compression ratios. In terms of speed, CharLS
22outperforms open source and commercial JPEG LS implementations.
23
24%description -l pl.UTF-8
25Zoptymalizowana implementacja standardu JPEG-LS bezstratnej i prawie
26bezstratnej kompresji obrazu. JPEG-LS to mało skomplikowany standard
27osiągający współczynniki kompresji standardu JPEG 2000. Pod względem
28szybkości CharLS jest wydajniejszy niż inne implementacje JPEG LS o
29otwartych źródłach, a także komercyjne.
30
31%package devel
32Summary: Header files for CharLS library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CharLS
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: libstdc++-devel
37
38%description devel
39Header files for CharLS library.
40
41%description devel -l pl.UTF-8
42Pliki nagłówkowe biblioteki CharLS.
43
44%prep
3bf00211 45%setup -q -n charls-%{version}
f9f53625
JB
46
47%build
48%cmake . \
f9f53625 49 -DBUILD_TESTING=ON
3bf00211 50
f9f53625
JB
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(644,root,root,755)
3bf00211 67%doc README.md src/License.txt
f9f53625
JB
68%attr(755,root,root) %{_libdir}/libCharLS.so.*.*
69%attr(755,root,root) %ghost %{_libdir}/libCharLS.so.1
70
71%files devel
72%defattr(644,root,root,755)
73%attr(755,root,root) %{_libdir}/libCharLS.so
74%{_includedir}/CharLS
This page took 0.075179 seconds and 4 git commands to generate.