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