1 | Name: openjpeg |
---|
2 | Summary: JPEG 2000 codec library |
---|
3 | Summary(ja): JPEG 2000 コーデックライブラリ |
---|
4 | Version: 1.5.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://www.openjpeg.org/ |
---|
9 | |
---|
10 | Source0: http://openjpeg.googlecode.com/files/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | ## upstreamable patches |
---|
13 | |
---|
14 | # Security |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | BuildRequires: automake libtool |
---|
18 | BuildRequires: libtiff-devel |
---|
19 | BuildRequires: lcms2-devel |
---|
20 | BuildRequires: libjpeg-devel, libpng-devel |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | The OpenJPEG library is an open-source JPEG 2000 codec written in C language. |
---|
27 | It has been developed in order to promote the use of JPEG 2000, the new |
---|
28 | still-image compression standard from the Joint Photographic Experts Group |
---|
29 | (JPEG). |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development files for openjpeg |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | The openjpeg-devel package contains libraries and header files for |
---|
38 | developing applications that use openjpeg. |
---|
39 | |
---|
40 | %package tools |
---|
41 | Summary: Command-line tools using the JPEG 2000 library |
---|
42 | Group: Applications/Graphics |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | |
---|
45 | %description tools |
---|
46 | The openjpeg-tools package provides with command-line tools allowing |
---|
47 | for conversions between several formats. |
---|
48 | |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | # Make sure we use system libraries |
---|
53 | rm -rf libs |
---|
54 | |
---|
55 | autoreconf -i -f |
---|
56 | |
---|
57 | %build |
---|
58 | %configure \ |
---|
59 | --enable-shared \ |
---|
60 | --disable-static \ |
---|
61 | --enable-lcms2=yes \ |
---|
62 | --enable-lcms1=no |
---|
63 | |
---|
64 | make |
---|
65 | |
---|
66 | %install |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
69 | |
---|
70 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
71 | rm -f $RPM_BUILD_ROOT%{_docdir}/openjpeg-1.5/LICENSE |
---|
72 | |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -rf %{buildroot} |
---|
76 | |
---|
77 | %post -p /sbin/ldconfig |
---|
78 | |
---|
79 | %postun -p /sbin/ldconfig |
---|
80 | |
---|
81 | %files |
---|
82 | %defattr(-,root,root,-) |
---|
83 | %doc CHANGES LICENSE |
---|
84 | %{_libdir}/libopenjpeg.so.* |
---|
85 | %{_mandir}/man3/* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %{_includedir}/openjpeg-1.5 |
---|
90 | %{_libdir}/libopenjpeg.so |
---|
91 | %{_libdir}/pkgconfig/lib*.pc |
---|
92 | |
---|
93 | %files tools |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %{_bindir}/* |
---|
96 | %{_mandir}/man1/* |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Sun Aug 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.2-1 |
---|
100 | - update to 1.5.2 |
---|
101 | - remove old patches |
---|
102 | - change BuildRequires: lcms2-devel instead of lcms-devel |
---|
103 | |
---|
104 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-4 |
---|
105 | - fix %%files devel |
---|
106 | |
---|
107 | * Tue Feb 26 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4-3 |
---|
108 | - add patch110 for fix CVE-2009-5030 (Gray16 TIFF) |
---|
109 | - add patch120 for fix CVE-2012-3358 (j2k) |
---|
110 | (Both patches are based on RHEL6, thanks) |
---|
111 | |
---|
112 | * Thu Sep 20 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4-2 |
---|
113 | - add patch100 for fix CVE-2012-3535 (sanity-check an image header) |
---|
114 | (based on RHEL6, thanks) |
---|
115 | - add Vendor/Distri tags |
---|
116 | - add BR: libjpeg-devel, libpng-devel |
---|
117 | |
---|
118 | * Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-1 |
---|
119 | - updated to 1.4 |
---|
120 | - built with current VineSeed |
---|
121 | - added tools subpackage |
---|
122 | |
---|
123 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-1vl5 |
---|
124 | - applied new versioning policy, spec in utf-8 |
---|
125 | |
---|
126 | * Sun Jul 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.2-0vl2 |
---|
127 | - added lib64 patch for x86_64 architecture |
---|
128 | |
---|
129 | * Wed Jun 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-0vl1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Sun Apr 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-0vl1 |
---|
133 | - initial build for Vine Linux |
---|