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

RevLine 
[12189]1%bcond_with openmp
2
[1343]3Summary: Library for reading RAW files obtained from digital photo cameras
4Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
5Name: LibRaw
[12484]6Version: 0.20.0
[12499]7Release: 2%{?_dist_release}
[12484]8Group: system
9Vendor: Project Vine
10Distribution: Vine Linux
11
[12189]12License: BSD and (CDDL or LGPLv2)
[12484]13URL: https://www.libraw.org/
14Source0: https://www.libraw.org/data/LibRaw-%{version}.tar.gz
[12499]15Patch1000: LibRaw-Additional-checks-in-hassy-model-parser.patch
[12484]16
[1343]17BuildRoot: %{_tmppath}/%{name}-%{version}-root
[4055]18BuildRequires: gcc libtool make
[6078]19BuildRequires: lcms2-devel
[5273]20BuildRequires: jasper-devel
[1343]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
[12484]29
[1343]30%package devel
31Summary: LibRaw development libraries
32Summary(ja): LibRaw の開発ライブラリ
[12484]33Group: programming
[6078]34Requires: %{name} = %{version}-%{release}
35Requires: pkgconfig
[4055]36
[1343]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
[12484]43
[4055]44%package static
45Summary: LibRaw static libraries
46Summary(ja): LibRaw の静的ライブラリ
[12484]47Group: programming
[4055]48
49Requires: %{name}-devel = %{version}-%{release}
50
51%description static
52This package contains the static library for %{name}.
53
[12484]54
55%debug_package
56
57
[1343]58%prep
[12189]59%setup -q
[12499]60%patch1000 -p1
[1343]61
[12484]62
[1343]63%build
[12189]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
[1343]73
[12189]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
[1343]80%install
81rm -rf %{buildroot}
82cp -pr doc manual
[10427]83chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
[5273]84chmod 644 manual/*.html
[1343]85
86# The Libraries
[12189]87%make_install
[1343]88
[12189]89rm -rfv samples/.deps
90rm -fv samples/.dirstamp
91rm -fv samples/*.o
92
[4055]93rm -rf %{buildroot}%{_libdir}/*.la
94
[12189]95
[12484]96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99
[5273]100%files
101%defattr(-,root,root,-)
[12189]102%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
103%doc Changelog.txt
[5273]104%{_libdir}/*.so.*
105
[1343]106%files devel
107%defattr(-,root,root,-)
[4055]108%doc manual samples
[5273]109%exclude %{_docdir}/libraw/
[1343]110%dir %{_includedir}/libraw
111%{_includedir}/libraw/*.h
[5273]112%{_libdir}/*.so
[4055]113%{_libdir}/pkgconfig/*.pc
114
115%files static
116%defattr(-,root,root,-)
[5273]117%{_libdir}/*.a
[1343]118
[5292]119
[1343]120%changelog
[12499]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
[12484]124* Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20.0-1
125- new upstream release.
126
[12189]127* Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.19.5-1
128- new upstream release.
129
[10427]130* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
131- new upstream release.
132
[8252]133* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
134- new upstream release
135
[8201]136* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
137- new upstream release
138
[7698]139* Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
140- new upstream release
141
[6465]142* Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
143- new upstream release
144
[6078]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
[5417]149* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
150- new upstream release
151
[5292]152* Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
153- new upstream release
154
[5273]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
[4105]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
[4055]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
[2344]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
[1938]187* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
188- new upstream release
189
[1343]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.