LibRaw-vl.spec 3.6 KB

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