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

Revision 12484, 4.7 KB checked in by tomop, 4 years ago (diff)

updated 8 packages

LibRaw?-0.20.0-1

OpenImageIO-2.2.6.1-1

babl-0.1.78-1

gegl04-0.4.26-1

gthumb-3.10.0-1

jasper-2.0.19-1

pugixml-1.10-1

pybind11-2.5.0-7

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