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

Revision 12189, 4.6 KB checked in by tomop, 5 years ago (diff)

updated image libs

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