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