LibRaw-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Summary: Library for reading RAW files obtained from digital photo cameras
  2. Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
  3. Name: LibRaw
  4. Version: 0.11.3
  5. Release: 1%{?_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. Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
  11. # Configuration support. Patch sent upstream
  12. Patch0: %{name}-0.11.3-configure.patch
  13. %description
  14. LibRaw is a library for reading RAW files obtained from digital photo
  15. cameras (CRW/CR2, NEF, RAF, DNG, and others).
  16. LibRaw is based on the source codes of the dcraw utility, where part of
  17. drawbacks have already been eliminated and part will be fixed in future.
  18. %package devel
  19. Summary: LibRaw development libraries
  20. Summary(ja): LibRaw の開発ライブラリ
  21. Group: Development/Libraries
  22. License: LGPLv2 or CDDL o LibRaw Software License
  23. %description devel
  24. LibRaw development libraries
  25. This package contains static libraries that applications can use to build
  26. against libraw. LibRaw does not provide dynamic libraries.
  27. %prep
  28. %setup -q -n %{name}-%{version}
  29. %patch0 -p1 -b .configure
  30. #%patch1 -p1 -b .configure-optflags
  31. #%patch2 -p1 -b .configure-default-cflags
  32. %build
  33. # This is not the autotools generated configure script
  34. CFLAGS="%{optflags}" sh configure -P %{_prefix}
  35. make %{?_smp_mflags} library
  36. %install
  37. rm -rf %{buildroot}
  38. cp -pr doc manual
  39. # The source tree has these with execute permissions for some reason
  40. chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
  41. # The Libraries
  42. make install-library DESTDIR=%{buildroot} LIBDIR=%{_lib}
  43. %files devel
  44. %defattr(-,root,root,-)
  45. %doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
  46. %doc manual
  47. %doc samples
  48. %dir %{_includedir}/libraw
  49. %{_includedir}/libraw/*.h
  50. %{_libdir}/libraw.a
  51. %{_libdir}/libraw_r.a
  52. %changelog
  53. * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
  54. - new upstream release
  55. - added License: LibRaw Software License
  56. - dropt patch1,2
  57. - replaced patch0 by Fedora development patch
  58. * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
  59. - new upstream release
  60. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
  61. - initial build for VineSeed
  62. * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
  63. - New package