source: spec/trunk/SPECS/LibRaw.spec@ 1836

Last change on this file since 1836 was 1829, checked in by tellie, 3 years ago

spec: whois: Release version 5.5.16-1.

File size: 14.2 KB
Line 
1
2# feature macro to enable samples (or not)
3%if 0%{?rhel} != 7
4%global samples 1
5%endif
6
7Summary: Library for reading RAW files obtained from digital photo cameras
8Name: LibRaw
9Version: 0.21.1
10Release: 1%{?dist}
11License: BSD and (CDDL-1.0 or LGPLv2)
12URL: http://www.libraw.org
13
14BuildRequires: gcc-c++
15BuildRequires: pkgconfig(lcms2)
16BuildRequires: pkgconfig(jasper)
17BuildRequires: pkgconfig(libjpeg)
18BuildRequires: autoconf automake libtool
19BuildRequires: make
20
21%if !0%{?os2_version}
22Source0: http://github.com/LibRaw/LibRaw/archive/%{version}.tar.gz
23%else
24%scm_source github https://github.com/Tellie//%{name}-os2 %{version}-os2
25%endif
26Patch0: LibRaw-pkgconfig.patch
27
28Provides: bundled(dcraw) = 9.25
29
30%description
31LibRaw is a library for reading RAW files obtained from digital photo
32cameras (CRW/CR2, NEF, RAF, DNG, and others).
33
34LibRaw is based on the source codes of the dcraw utility, where part of
35drawbacks have already been eliminated and part will be fixed in future.
36
37%package devel
38Summary: LibRaw development libraries
39Requires: %{name}%{?_isa} = %{version}-%{release}
40
41%description devel
42LibRaw development libraries.
43
44This package contains libraries that applications can use to build
45against LibRaw.
46
47%package static
48Summary: LibRaw static development libraries
49Requires: %{name}-devel%{?_isa} = %{version}-%{release}
50
51%description static
52LibRaw static development libraries.
53
54%package samples
55Summary: LibRaw sample programs
56Requires: %{name} = %{version}-%{release}
57
58%description samples
59LibRaw sample programs
60
61%prep
62%if !0%{?os2_version}
63%autosetup -p1 -n %{name}-%{version}
64%else
65%scm_setup
66%endif
67
68%build
69export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
70export LIBS="-lcx -lpthread"
71autoreconf -ifv
72%configure \
73 --enable-examples=%{?samples:yes}%{!?samples:no} \
74 --enable-jasper \
75 --enable-jpeg \
76 --enable-lcms
77%if !0%{?os2_version}
78 --enable-openmp
79%endif
80
81# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
82sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
83sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
84
85%if !0%{?os2_version}
86%make_build
87%else
88make %{?_smp_mflags}
89%endif
90
91%install
92cp -pr doc manual
93chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt
94chmod 644 manual/*.html
95
96# The Libraries
97%make_install
98
99rm -rfv samples/.deps
100rm -fv samples/.dirstamp
101rm -fv samples/*.o
102
103rm -fv %{buildroot}%{_libdir}/lib*.la
104
105%if !0%{?os2_version}
106%ldconfig_scriptlets
107%endif
108
109%files
110%defattr(-,root,root)
111%doc Changelog.txt
112%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
113%if !0%{?os2_version}
114%{_libdir}/libraw.so.23*
115%{_libdir}/libraw_r.so.23*
116%else
117%{_libdir}/*.dll
118%endif
119
120%files static
121%defattr(-,root,root)
122%if !0%{?os2_version}
123%{_libdir}/libraw.a
124%{_libdir}/libraw_r.a
125%else
126%{_libdir}/raw_r.a
127%{_libdir}/raw_r_dll.a
128%{_libdir}/raw_r23_dll.a
129%endif
130
131%files devel
132%defattr(-,root,root)
133%doc manual
134%doc samples
135%{_includedir}/libraw/
136%if !0%{?os2_version}
137%{_libdir}/libraw.so
138%{_libdir}/libraw_r.so
139%else
140%{_libdir}/raw.a
141%{_libdir}/raw_dll.a
142%{_libdir}/raw23_dll.a
143%endif
144%{_libdir}/pkgconfig/libraw.pc
145%{_libdir}/pkgconfig/libraw_r.pc
146%exclude %{_docdir}/libraw/*
147
148%if 0%{?samples}
149%defattr(-,root,root)
150%files samples
151%{_bindir}/*
152%endif
153
154
155%changelog
156* Mon Dec 19 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.21.0-1
157- 0.21.0
158
159* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-7
160- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
161
162* Sun Feb 13 2022 Josef Ridky <jridky@redhat.com> - 0.20.2-6
163- Rebuilt for libjasper.so.6
164
165* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-5
166- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
167
168* Mon Dec 13 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.20.2-4
169- CDDL is not an approved license, but CDDL-1.0 is
170
171* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-3
172- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
173
174* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.2-2
175- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
176
177* Thu Oct 15 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20.2-1
178- 0.20.2
179
180* Wed Oct 14 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20.1-1
181- 0.20.1
182
183* Thu Sep 24 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20.0-3
184- Patch for CVE-2020-24890.
185
186* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-2
187- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
188
189* Thu Jul 23 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20.0-1
190- 0.20.0 final.
191
192* Thu Jul 02 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20-0.rc1.3
193- RC1
194
195* Mon Jun 29 2020 Gwyn Ciesla <gwync@protonmail.com>- 0.20-0.beta1.2
196- Patch for CVE-2020-15365
197
198* Wed May 13 2020 Kalev Lember <klember@redhat.com> - 0.20-0.beta1.1
199- Add back pkgconfig patch lost in the previous commit
200
201* Thu May 07 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20-0.beta1
202- 0.20 Beta 1
203
204* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.5-2
205- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
206
207* Tue Aug 20 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.19.5-1
208- 0.19.5
209
210* Mon Aug 05 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.19.4-1
211- 0.19.4
212
213* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.3-2
214- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
215
216* Wed Jul 03 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.19.3-1
217- 0.19.3
218
219* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-3
220- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
221
222* Wed Jan 02 2019 Debarshi Ray <rishi@fedoraproject.org> - 0.19.2-2
223- Remove the samples subpackage from RHEL 7
224
225* Wed Dec 26 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.19.2-1
226- 0.19.2
227
228* Thu Nov 22 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.1-1
229- 0.19.1
230
231* Mon Oct 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-6
232- Remove the build artifacts for the samples
233
234* Mon Oct 08 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-5
235- Bind the samples sub-package more tightly to the main package
236
237* Tue Jul 31 2018 Debarshi Ray <rishi@fedoraproject.org> - 0.19.0-4
238- Fix License
239- Explicitly enable JPEG and OpenMP support to avoid surprises
240
241* Thu Jul 19 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.19.0-3
242- tighten %%files, mostly so api/soname changes will no longer be a surpise
243- use %%make_build %%ldconfig_scriptlets
244
245* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
246- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
247
248* Fri Jun 29 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.19.0-1
249- 0.19.0.
250
251* Mon Jun 11 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.12-1
252- 0.18.12.
253
254* Thu May 10 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.11-1
255- 0.18.11.
256
257* Thu May 03 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.10-1
258- 0.18.10.
259
260* Wed Apr 25 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.9-1
261- 0.18.9.
262
263* Sat Feb 24 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.8-1
264- 0.18.8.
265
266* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.7-3
267- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
268
269* Fri Feb 02 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.7-2
270- Patch for updated glibc.
271
272* Fri Jan 19 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.18.7-1
273- 0.18.7
274- Patch for ambiguous function call.
275
276* Wed Dec 06 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.6-1
277- 0.18.6
278
279* Fri Sep 22 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.5-1
280- 0.18.5
281
282* Fri Sep 15 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.4-2
283- Patch for CVE-2017-14348.
284
285* Tue Sep 12 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.4-1
286- 0.18.4
287
288* Mon Sep 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.3-1
289- 0.18.3
290
291* Wed Sep 06 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.18.2-5
292- Patch for CVE-2017-13735.
293
294* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-4
295- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
296
297* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.2-3
298- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
299
300* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
301- fix rpath, tighten subpkg dependencies, use %%license
302
303* Thu Mar 09 2017 Jon Ciesla <limburgher@gmail.com> - 0.18.2-1
304- 0.18.2.
305
306* Mon Feb 13 2017 Jon Ciesla <limburgher@gmail.com> - 0.18.1-1
307- 0.18.1.
308
309* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
310- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
311
312* Tue Dec 27 2016 Jon Ciesla <limburgher@gmail.com> - 0.18.0-1
313- 0.18.0.
314
315* Thu Dec 1 2016 Tom Callaway <spot@fedoraproject.org> - 0.17.2-2
316- rebuild for deps
317
318* Sun May 15 2016 Jon Ciesla <limburgher@gmail.com> - 0.17.2-1
319- 0.17.2.
320
321* Mon Feb 22 2016 Jon Ciesla <limburgher@gmail.com> - 0.17.1-4
322- Patch to fix FTBFS, BZ 1307280.
323
324* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-3
325- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
326
327* Tue Dec 01 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.1-2
328- Patch for CVE-2015-8366 and CVE-2015-8367, BZ 1287057.
329
330* Sun Nov 29 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.1-1
331- 0.17.1.
332
333* Mon Aug 17 2015 Jon Ciesla <limburgher@gmail.com> - 0.17.0-1
334- 0.17.0.
335
336* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.2-2
337- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
338
339* Sat May 16 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.2-1
340- 0.16.2, BZ 1222258.
341
342* Thu May 14 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.1-7
343- Add provides for bundled dcraw, https://fedorahosted.org/fpc/ticket/530
344- Fix EVR in changelog.
345
346* Mon May 11 2015 Jon Ciesla <limburgher@gmail.com> - 0.16.1-6
347- 0.16.1, BZ 1220382.
348
349* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.16.0-5
350- Rebuilt for GCC 5 C++11 ABI change
351
352* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-4
353- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
354
355* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-3
356- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
357
358* Thu Feb 20 2014 Jon Ciesla <limburgher@gmail.com> - 0.16.0-2
359- Fix pkg-config flags, BZ 837248.
360
361* Tue Jan 21 2014 Jon Ciesla <limburgher@gmail.com> - 0.16.0-1
362- 0.16.0, BZ 1055281.
363
364* Fri Aug 30 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.4-1
365- 0.15.4, CVE-2013-1439, BZ 1002717.
366
367* Wed Aug 07 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.3-3
368- Enable samples, BZ 991514,
369
370* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.3-2
371- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
372
373* Tue Jul 09 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.3-1
374- 0.15.3.
375
376* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.15.2-1
377- Latest upstream, two security fixes.
378
379* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.8-2
380- Patch for double free, CVE-2013-2126, BZ 968387.
381
382* Wed May 29 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.8-1
383- Latest upstream, fixes gcc 4.8 issues.
384
385* Thu Apr 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.7-4
386- Revert prior patch.
387
388* Thu Apr 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.14.7-3
389- Patch for segfault, BZ 948628.
390
391* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.7-2
392- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
393
394* Mon Nov 26 2012 Jon Ciesla <limburgher@gmail.com> - 0.14.7-1
395- New upstream 0.14.7
396
397* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.6-3
398- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
399
400* Sat Jun 2 2012 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.6-2
401- Use lcms2.
402
403* Sat Jun 2 2012 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.6-1
404- New upstream 0.14.6
405
406* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.3-4
407- Rebuilt for c++ ABI breakage
408
409* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.3-3
410- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
411
412* Fri Dec 9 2011 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.3-2
413- Add demosaic packs (bz #760638)
414- Change license to GPLv3+ due to above change
415
416* Wed Nov 16 2011 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.3-1
417- Rebase to upstream 0.14.3
418
419* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3
420- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
421
422* Sun Dec 12 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.11.3-2
423- Of course, you need to upload the new sources.
424
425* Sun Dec 12 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.11.3-1
426- upstream 0.11.3
427
428* Sat Nov 13 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-9
429- Build position independent object code
430
431* Thu Jul 08 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-8
432- Remove LibRaw license since we're not distributing LibRaw under its terms
433
434* Wed Jul 07 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-7
435- Buildroot is unnecessary
436- Corrected license to LGPLv2 or CDDL
437
438* Sun Jul 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-6
439- Do not impose -O4 and -w in build options
440- Change package group to Development/Libraries
441- Corrected license to LGPLv2
442- setup macro no longer needs the name and version arguments
443- Rename patches to include name and version
444
445* Wed Jun 30 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-5
446- Use optflags for build
447- Install the documentation in a cleaner way
448
449* Tue Jun 29 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-4
450- Use upstream package name (libRaw) instead of libraw
451
452* Tue Jun 29 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-3
453- Remove the clean section since it is not needed in F-13 and later
454- Correct installation of docs into defaultdocdir instead of docdir
455
456* Thu Jun 10 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-2
457- Disable lcms and openmp support by default so that we're in line with
458 upstream default
459
460* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
461- New package
462
Note: See TracBrowser for help on using the repository browser.