[3474] | 1 | Name: openjpeg |
---|
[521] | 2 | Summary: JPEG 2000 codec library |
---|
| 3 | Summary(ja): JPEG 2000 コーデックライブラリ |
---|
[8884] | 4 | Version: 1.5.2 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[3474] | 6 | Group: System Environment/Libraries |
---|
| 7 | License: BSD |
---|
| 8 | URL: http://www.openjpeg.org/ |
---|
| 9 | |
---|
[8884] | 10 | Source0: http://openjpeg.googlecode.com/files/%{name}-%{version}.tar.gz |
---|
[3474] | 11 | |
---|
| 12 | ## upstreamable patches |
---|
| 13 | |
---|
[8062] | 14 | # Security |
---|
| 15 | |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[3474] | 17 | BuildRequires: automake libtool |
---|
| 18 | BuildRequires: libtiff-devel |
---|
[8884] | 19 | BuildRequires: lcms2-devel |
---|
[8062] | 20 | BuildRequires: libjpeg-devel, libpng-devel |
---|
[521] | 21 | |
---|
[8062] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
[521] | 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 |
---|
[3474] | 32 | Summary: Development files for openjpeg |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 35 | |
---|
| 36 | %description devel |
---|
| 37 | The openjpeg-devel package contains libraries and header files for |
---|
| 38 | developing applications that use openjpeg. |
---|
| 39 | |
---|
[3474] | 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 | |
---|
[521] | 50 | %prep |
---|
[8884] | 51 | %setup -q |
---|
[3474] | 52 | # Make sure we use system libraries |
---|
| 53 | rm -rf libs |
---|
[521] | 54 | |
---|
[3474] | 55 | autoreconf -i -f |
---|
| 56 | |
---|
[521] | 57 | %build |
---|
[3474] | 58 | %configure \ |
---|
| 59 | --enable-shared \ |
---|
| 60 | --disable-static \ |
---|
[8884] | 61 | --enable-lcms2=yes \ |
---|
| 62 | --enable-lcms1=no |
---|
[521] | 63 | |
---|
[3474] | 64 | make |
---|
| 65 | |
---|
[521] | 66 | %install |
---|
[3474] | 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 69 | |
---|
[3474] | 70 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
[8884] | 71 | rm -f $RPM_BUILD_ROOT%{_docdir}/openjpeg-1.5/LICENSE |
---|
[3474] | 72 | |
---|
| 73 | |
---|
[521] | 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,-) |
---|
[3474] | 83 | %doc CHANGES LICENSE |
---|
[521] | 84 | %{_libdir}/libopenjpeg.so.* |
---|
[3474] | 85 | %{_mandir}/man3/* |
---|
[521] | 86 | |
---|
| 87 | %files devel |
---|
| 88 | %defattr(-,root,root,-) |
---|
[8884] | 89 | %{_includedir}/openjpeg-1.5 |
---|
[3474] | 90 | %{_libdir}/libopenjpeg.so |
---|
| 91 | %{_libdir}/pkgconfig/lib*.pc |
---|
[521] | 92 | |
---|
[3474] | 93 | %files tools |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %{_bindir}/* |
---|
| 96 | %{_mandir}/man1/* |
---|
| 97 | |
---|
[521] | 98 | %changelog |
---|
[8884] | 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 | |
---|
[8062] | 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 | |
---|
[3474] | 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 | |
---|
[521] | 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 |
---|