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