LibRaw-vl.spec 4.4 KB

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