LibRaw-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Summary: Library for reading RAW files obtained from digital photo cameras
  2. Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
  3. Name: LibRaw
  4. Version: 0.15.4
  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. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
  75. - new upstream release
  76. * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
  77. - new upstream release
  78. * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
  79. - new upstream release
  80. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1
  81. - new upstream release
  82. - change BuildRequires: lcms2-devel instead of lcms-devel
  83. * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
  84. - new upstream release
  85. * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
  86. - new upstream release
  87. * Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
  88. - new upstream release
  89. - added BuildRequires: jasper-devel
  90. - fixed configure option
  91. - deleted --enable-shared=no, --enable-static=no
  92. - added --enable-jasper
  93. - fixed %%files in -devel
  94. - run ldconfig in %%post, %%postun
  95. * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
  96. - added BuildRequires: lcms-devel
  97. - added configure option --enable-lcms
  98. * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
  99. - added BuildRequires: gcc libtool make
  100. - fixed %%install
  101. - deleted library archive
  102. - fixed %%doc in -devel package
  103. * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
  104. - new upstream release
  105. - dropt Patch0
  106. - fixed configure option
  107. - fixed %%files
  108. - splitted -static package
  109. * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
  110. - new upstream release
  111. - added License: LibRaw Software License
  112. - dropt patch1,2
  113. - replaced patch0 by Fedora development patch
  114. * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
  115. - new upstream release
  116. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
  117. - initial build for VineSeed
  118. * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
  119. - New package