1 | Summary: Library for reading RAW files obtained from digital photo cameras |
---|
2 | Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ |
---|
3 | Name: LibRaw017 |
---|
4 | Version: 0.17.2 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: LGPLv2 or CDDL or LibRaw Software License |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://www.libraw.org |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildRequires: gcc libtool make |
---|
11 | BuildRequires: lcms2-devel |
---|
12 | BuildRequires: jasper-devel |
---|
13 | |
---|
14 | Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
19 | %description |
---|
20 | LibRaw is a library for reading RAW files obtained from digital photo |
---|
21 | cameras (CRW/CR2, NEF, RAF, DNG, and others). |
---|
22 | |
---|
23 | LibRaw is based on the source codes of the dcraw utility, where part of |
---|
24 | drawbacks have already been eliminated and part will be fixed in future. |
---|
25 | |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n LibRaw-%{version} |
---|
29 | |
---|
30 | perl -pi -e 's/powf64/libraw_powf64l/' \ |
---|
31 | dcraw/dcraw.c \ |
---|
32 | internal/dcraw_common.cpp \ |
---|
33 | libraw/libraw_const.h \ |
---|
34 | src/libraw_cxx.cpp |
---|
35 | |
---|
36 | %build |
---|
37 | # This is not the autotools generated configure script |
---|
38 | CFLAGS="%{optflags} -Wno-narrowing" \ |
---|
39 | CXXFLAGS="%{optflags} -Wno-narrowing" \ |
---|
40 | sh configure --prefix=/usr --disable-examples \ |
---|
41 | --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \ |
---|
42 | --enable-lcms --enable-jasper |
---|
43 | make %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf %{buildroot} |
---|
47 | cp -pr doc manual |
---|
48 | cp -pr doc manual |
---|
49 | chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.* |
---|
50 | chmod 644 manual/*.html |
---|
51 | |
---|
52 | # The Libraries |
---|
53 | #make install DESTDIR=%{buildroot} LIBDIR=%{_lib} |
---|
54 | %makeinstall |
---|
55 | |
---|
56 | rm -f %{buildroot}%{_libdir}/*.la |
---|
57 | rm -rf %{buildroot}%{_docdir}/libraw |
---|
58 | rm -rf %{buildroot}%{_includedir}/libraw |
---|
59 | rm -f %{buildroot}%{_libdir}/*.so |
---|
60 | rm -f %{buildroot}%{_libdir}/pkgconfig/*.pc |
---|
61 | rm -f %{buildroot}%{_libdir}/*.a |
---|
62 | |
---|
63 | |
---|
64 | %files |
---|
65 | %defattr(-,root,root,-) |
---|
66 | %license LICENSE.CDDL LICENSE.LGPL COPYRIGHT |
---|
67 | %doc Changelog.txt |
---|
68 | %{_libdir}/*.so.* |
---|
69 | |
---|
70 | |
---|
71 | %post -p /sbin/ldconfig |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-2 |
---|
76 | - changed %%name for backward compatibility. |
---|
77 | |
---|
78 | * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1 |
---|
79 | - new upstream release. |
---|
80 | |
---|
81 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1 |
---|
82 | - new upstream release |
---|
83 | |
---|
84 | * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1 |
---|
94 | - new upstream release |
---|
95 | - change BuildRequires: lcms2-devel instead of lcms-devel |
---|
96 | |
---|
97 | * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1 |
---|
98 | - new upstream release |
---|
99 | |
---|
100 | * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1 |
---|
104 | - new upstream release |
---|
105 | - added BuildRequires: jasper-devel |
---|
106 | - fixed configure option |
---|
107 | - deleted --enable-shared=no, --enable-static=no |
---|
108 | - added --enable-jasper |
---|
109 | - fixed %%files in -devel |
---|
110 | - run ldconfig in %%post, %%postun |
---|
111 | |
---|
112 | * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3 |
---|
113 | - added BuildRequires: lcms-devel |
---|
114 | - added configure option --enable-lcms |
---|
115 | |
---|
116 | * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2 |
---|
117 | - added BuildRequires: gcc libtool make |
---|
118 | - fixed %%install |
---|
119 | - deleted library archive |
---|
120 | - fixed %%doc in -devel package |
---|
121 | |
---|
122 | * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1 |
---|
123 | - new upstream release |
---|
124 | - dropt Patch0 |
---|
125 | - fixed configure option |
---|
126 | - fixed %%files |
---|
127 | - splitted -static package |
---|
128 | |
---|
129 | * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1 |
---|
130 | - new upstream release |
---|
131 | - added License: LibRaw Software License |
---|
132 | - dropt patch1,2 |
---|
133 | - replaced patch0 by Fedora development patch |
---|
134 | |
---|
135 | * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1 |
---|
139 | - initial build for VineSeed |
---|
140 | |
---|
141 | * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1 |
---|
142 | - New package |
---|