source: projects/specs/trunk/L/LibRaw/LibRaw-vl.spec @ 12499

Revision 12499, 4.9 KB checked in by tomop, 3 years ago (diff)

updated 9 packages

LibRaw?-0.20.0-2

exiv2-0.27.3-1

firefox-78.3.0-1

gnuplot-5.4.0-2

lksctp-tools-1.0.18-1

libjpeg-turbo-2.0.5-1

libxml2-2.9.10-5

rust-1.46.0-1

unzip-6.0-8

Line 
1%bcond_with openmp
2
3Summary: Library for reading RAW files obtained from digital photo cameras
4Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
5Name: LibRaw
6Version: 0.20.0
7Release: 2%{?_dist_release}
8Group: system
9Vendor: Project Vine
10Distribution: Vine Linux
11
12License: BSD and (CDDL or LGPLv2)
13URL: https://www.libraw.org/
14Source0: https://www.libraw.org/data/LibRaw-%{version}.tar.gz
15Patch1000: LibRaw-Additional-checks-in-hassy-model-parser.patch
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: gcc libtool make
19BuildRequires: lcms2-devel
20BuildRequires: jasper-devel
21
22%description
23LibRaw is a library for reading RAW files obtained from digital photo
24cameras (CRW/CR2, NEF, RAF, DNG, and others).
25
26LibRaw is based on the source codes of the dcraw utility, where part of
27drawbacks have already been eliminated and part will be fixed in future.
28
29
30%package devel
31Summary: LibRaw development libraries
32Summary(ja): LibRaw の開発ライブラリ
33Group: programming
34Requires: %{name} = %{version}-%{release}
35Requires: pkgconfig
36
37%description devel
38LibRaw development libraries
39
40This package contains static libraries that applications can use to build
41against libraw. LibRaw does not provide dynamic libraries.
42
43
44%package static
45Summary: LibRaw static libraries
46Summary(ja): LibRaw の静的ライブラリ
47Group: programming
48
49Requires: %{name}-devel = %{version}-%{release}
50
51%description static
52This package contains the static library for %{name}.
53
54
55%debug_package
56
57
58%prep
59%setup -q
60%patch1000 -p1
61
62
63%build
64autoreconf -if
65%configure \
66    --enable-examples=no \
67    --enable-jasper \
68    --enable-jpeg \
69    --enable-lcms \
70%if %{with openmp}
71    --enable-openmp
72%endif
73
74sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
75sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
76
77%make_build
78
79
80%install
81rm -rf %{buildroot}
82cp -pr doc manual
83chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
84chmod 644 manual/*.html
85
86# The Libraries
87%make_install
88
89rm -rfv samples/.deps
90rm -fv samples/.dirstamp
91rm -fv samples/*.o
92
93rm -rf %{buildroot}%{_libdir}/*.la
94
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99
100%files
101%defattr(-,root,root,-)
102%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
103%doc Changelog.txt
104%{_libdir}/*.so.*
105
106%files devel
107%defattr(-,root,root,-)
108%doc manual samples
109%exclude %{_docdir}/libraw/
110%dir %{_includedir}/libraw
111%{_includedir}/libraw/*.h
112%{_libdir}/*.so
113%{_libdir}/pkgconfig/*.pc
114
115%files static
116%defattr(-,root,root,-)
117%{_libdir}/*.a
118
119
120%changelog
121* Wed Sep 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20.0-2
122- imported Patch1000 from upstream to fix CVE-2020-24890.
123
124* Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20.0-1
125- new upstream release.
126
127* Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.19.5-1
128- new upstream release.
129
130* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
131- new upstream release.
132
133* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
134- new upstream release
135
136* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
137- new upstream release
138
139* Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
140- new upstream release
141
142* Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
143- new upstream release
144
145* Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1
146- new upstream release
147- change BuildRequires: lcms2-devel instead of lcms-devel
148
149* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
150- new upstream release
151
152* Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
153- new upstream release
154
155* Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
156- new upstream release
157- added BuildRequires: jasper-devel
158- fixed configure option
159  - deleted --enable-shared=no, --enable-static=no
160  - added --enable-jasper
161- fixed %%files in -devel
162- run ldconfig in %%post, %%postun
163
164* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
165- added BuildRequires: lcms-devel
166- added configure option --enable-lcms
167
168* Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
169- added BuildRequires: gcc libtool make
170- fixed %%install
171- deleted library archive
172- fixed %%doc in -devel package
173
174* Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
175- new upstream release
176- dropt Patch0
177- fixed configure option
178- fixed %%files
179- splitted -static package
180
181* Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
182- new upstream release
183- added License: LibRaw Software License
184- dropt patch1,2
185- replaced patch0 by Fedora development patch
186
187* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
188- new upstream release
189
190* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
191- initial build for VineSeed
192
193* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
194- New package
Note: See TracBrowser for help on using the repository browser.