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