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

Line 
1%bcond_with openmp
2
3Summary: Library for reading RAW files obtained from digital photo cameras
4Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
5Name: LibRaw
6Version: 0.19.5
7Release: 1%{?_dist_release}
8License: BSD and (CDDL or LGPLv2)
9Group: System Environment/Libraries
10URL: http://www.libraw.org
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: gcc libtool make
13BuildRequires: lcms2-devel
14BuildRequires: jasper-devel
15
16Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
17
18Vendor: Project Vine
19Distribution: Vine Linux
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%package devel
29Summary: LibRaw development libraries
30Summary(ja): LibRaw の開発ライブラリ
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: pkgconfig
34
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
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
51%prep
52%setup -q
53
54%build
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
64
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
71%install
72rm -rf %{buildroot}
73cp -pr doc manual
74chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
75chmod 644 manual/*.html
76
77# The Libraries
78%make_install
79
80rm -rfv samples/.deps
81rm -fv samples/.dirstamp
82rm -fv samples/*.o
83
84rm -rf %{buildroot}%{_libdir}/*.la
85
86
87%files
88%defattr(-,root,root,-)
89%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
90%doc Changelog.txt
91%{_libdir}/*.so.*
92
93%files devel
94%defattr(-,root,root,-)
95%doc manual samples
96%exclude %{_docdir}/libraw/
97%dir %{_includedir}/libraw
98%{_includedir}/libraw/*.h
99%{_libdir}/*.so
100%{_libdir}/pkgconfig/*.pc
101
102%files static
103%defattr(-,root,root,-)
104%{_libdir}/*.a
105
106%post -p /sbin/ldconfig
107%postun -p /sbin/ldconfig
108
109%changelog
110* Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.19.5-1
111- new upstream release.
112
113* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
114- new upstream release.
115
116* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
117- new upstream release
118
119* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
120- new upstream release
121
122* Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
123- new upstream release
124
125* Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
126- new upstream release
127
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
132* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
133- new upstream release
134
135* Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
136- new upstream release
137
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
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
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
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
170* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
171- new upstream release
172
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.