LibRaw-vl.spec 3.0 KB

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