[3258] | 1 | Name: lcms2 |
---|
| 2 | Summary: Color Management Engine |
---|
| 3 | Summary(ja): カラーマネージメントエンジン |
---|
| 4 | Version: 2.1 |
---|
| 5 | Release: 3%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: MIT |
---|
| 9 | URL: http://www.littlecms.com/ |
---|
| 10 | |
---|
| 11 | Source0: http://www.littlecms.com/lcms2-2.1.tar.gz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: libjpeg-devel |
---|
| 15 | BuildRequires: libtiff-devel |
---|
| 16 | BuildRequires: zlib-devel |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | LittleCMS intends to be a small-footprint, speed optimized color management |
---|
| 20 | engine in open source form. LCMS2 is the current version of LCMS, and can be |
---|
| 21 | parallel installed with the original (deprecated) lcms. |
---|
| 22 | |
---|
| 23 | %package utils |
---|
| 24 | Summary: Utility applications for %{name} |
---|
| 25 | Group: Applications/Productivity |
---|
| 26 | |
---|
| 27 | %description utils |
---|
| 28 | The %{name}-utils package contains utility applications for %{name}. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development files for LittleCMS |
---|
| 32 | Summary(ja): LittleCMS の開発用ファイル |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Provides: littlecms-devel = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | Development files for LittleCMS. |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | %configure --disable-static --program-suffix=2 |
---|
| 45 | |
---|
| 46 | # remove rpath from libtool |
---|
| 47 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 48 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 49 | |
---|
| 50 | make %{?_smp_mflags} |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 54 | make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p" |
---|
| 55 | find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' |
---|
| 56 | install -D -m 644 include/lcms2.h $RPM_BUILD_ROOT/usr/include/lcms2.h |
---|
| 57 | install -D -m 644 include/lcms2_plugin.h $RPM_BUILD_ROOT/usr/include/lcms2_plugin.h |
---|
| 58 | |
---|
| 59 | # install docs as this is all we've got |
---|
| 60 | install -D -m 644 doc/LittleCMS2.1\ tutorial.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/tutorial.pdf |
---|
| 61 | install -D -m 644 doc/LittleCMS2.1\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/api.pdf |
---|
| 62 | install -D -m 644 doc/LittleCMS2.1\ Plugin\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/plugin-api.pdf |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | %postun -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc AUTHORS COPYING |
---|
| 74 | %{_libdir}/*.so.* |
---|
| 75 | |
---|
| 76 | %files utils |
---|
| 77 | %defattr(-,root,root,-) |
---|
| 78 | %{_bindir}/* |
---|
| 79 | %{_mandir}/man1/* |
---|
| 80 | |
---|
| 81 | %files devel |
---|
| 82 | %defattr(-,root,root,-) |
---|
| 83 | %{_datadir}/doc/lcms2-devel-2.1/*.pdf |
---|
| 84 | %{_includedir}/* |
---|
| 85 | %{_libdir}/*.so |
---|
| 86 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 87 | |
---|
| 88 | %changelog |
---|
| 89 | * Sat Mar 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-3 |
---|
| 90 | - Initial build for Vine Linux |
---|
| 91 | |
---|
| 92 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2 |
---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 94 | |
---|
| 95 | * Wed Dec 01 2010 Richard Hughes <richard@hughsie.com> 2.1-1 |
---|
| 96 | - Update to new upstream version. |
---|
| 97 | |
---|
| 98 | * Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-3 |
---|
| 99 | - Address some more review comments. |
---|
| 100 | - Resolves #590387 |
---|
| 101 | |
---|
| 102 | * Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-2 |
---|
| 103 | - Address some review comments. |
---|
| 104 | - Resolves #590387 |
---|
| 105 | |
---|
| 106 | * Fri Jun 18 2010 Richard Hughes <richard@hughsie.com> 2.0a-1 |
---|
| 107 | - Initial package for Fedora review |
---|