source: projects/specs/trunk/o/openjpeg/openjpeg-vl.spec @ 8884

Revision 8884, 3.2 KB checked in by Takemikaduchi, 10 years ago (diff)

t1lib: rebuild
others: new upstream release

Line 
1Name: openjpeg
2Summary: JPEG 2000 codec library
3Summary(ja): JPEG 2000 コーデックライブラリ
4Version: 1.5.2
5Release: 1%{?_dist_release}
6Group: System Environment/Libraries
7License: BSD
8URL: http://www.openjpeg.org/
9
10Source0: http://openjpeg.googlecode.com/files/%{name}-%{version}.tar.gz
11
12## upstreamable patches
13
14# Security
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17BuildRequires: automake libtool
18BuildRequires: libtiff-devel
19BuildRequires: lcms2-devel
20BuildRequires: libjpeg-devel, libpng-devel
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26The OpenJPEG library is an open-source JPEG 2000 codec written in C language.
27It has been developed in order to promote the use of JPEG 2000, the new
28still-image compression standard from the Joint Photographic Experts Group
29(JPEG).
30
31%package  devel
32Summary: Development files for openjpeg
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35
36%description devel
37The openjpeg-devel package contains libraries and header files for
38developing applications that use openjpeg.
39
40%package tools
41Summary: Command-line tools using the JPEG 2000 library
42Group: Applications/Graphics
43Requires: %{name} = %{version}-%{release}
44
45%description tools
46The openjpeg-tools package provides with command-line tools allowing
47for conversions between several formats.
48
49
50%prep
51%setup -q
52# Make sure we use system libraries
53rm -rf libs
54
55autoreconf -i -f
56
57%build
58%configure \
59    --enable-shared \
60    --disable-static \
61    --enable-lcms2=yes \
62    --enable-lcms1=no
63
64make
65
66%install
67rm -rf $RPM_BUILD_ROOT
68make install DESTDIR=$RPM_BUILD_ROOT
69
70rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
71rm -f $RPM_BUILD_ROOT%{_docdir}/openjpeg-1.5/LICENSE
72
73
74%clean
75rm -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
Note: See TracBrowser for help on using the repository browser.