LibRaw-vl.spec 4.1 KB

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