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